Version 76 (modified by munepi, 11 years ago) (diff) |
---|
次期 TeX Live のバージョンは、TeX Live 2012 を採用する予定。 TeX Live 2012 をベースに、必要に応じて有用な機能などを取り込み、Vine Linux 向けにカスタマイズする予定。
また、以下の機能の取り込みも検討する。
2012-12-01 現時点の VineSeed に、TeX Live 2012 を採用。
tlptexliveリポジトリ - ptexlive Wiki を組み合わせることで、TeX Live 2012 に不足している日本語対応周りが補足される。
tlptexliveリポジトリ - ptexlive Wiki を組み合わせることで、TeX Live 2011 に不足している日本語対応周りが補足される。
カテゴリ(リポジトリのカテゴリ) | パッケージの組み合わせ | texlive-collections-* の生成 | コメント |
最小(main) | texlive + texlive-common (= texlive-collection-langgerman + texlive-collection-langcyrillic + texlive-collection-xetex + texlive-collection-latexrecommended + texlive-collection-latex + texlive-collection-fontsrecommended + texlive-collection-basic + texlive-collection-langcjk) + jvf + texlive-macros | $ tlpdb2rpmspec --minimal-collections | |
標準(plus) | + texmacro-otf + texlive-collection-latexextra + texlive-collection-luatex + texlive-collection-pictures + texlive-collection-genericrecommended + texlive-collection-fontutils | $ tlpdb2rpmspec --standard-collections | task-texlive |
最大(plus) | + 残り全部 | $ tlpdb2rpmspec --full-collections | task-texlive-full |
Vine Linux 7 向けの TDS は、以下のような階層になっています。
Vine Linux 向けの map ファイル {ptex,uptex,otf,otf-up}-vine.map は、 /var/lib/texmf/fonts/map/dvipdfmx/vine 以下に生成されます。
従来の vine.map は、ptex-vine.map に変わりました。
vbuilder を使って texlive-2012 パッケージをリビルドします。
$ vbuilder --version ''version'' --arch ''arch'' build-rpm texlive-2012-Xvl7.src.rpm
texlive2011.iso:/tlpkg/texlive.tlpdb において category Collection をフィールドに持つパッケージです。
tlpdb2rpmspec コマンドを使って、 これらの rpm を生成します。
TeX Live パッケージの共通ベースを提供するするための仮想パッケージ。
TeX Live のアーカイブを展開して固めたパッケージ。
追加マクロパッケージ。
Vine Linux 用の vf をまとめたパッケージ。
pTeX に必要な tfm や vf は、TeX Live 2012 の texmf-dist 以下にすでに格納されています。
TeX の src-special を Emacsen上で使用するための elisp です。
TeX Live に標準搭載されている TeX 環境総合エディタです。
texlive 環境を一通りインストールするための仮想パッケージです。
task-texlive, task-texlive-full に対応する task-texlive-doc, task-texlive-full-doc もそれぞれ提供しています。
## use some macros for %post, %posttrans %define touch_run(%1) %{expand:( %__mkdir_p /var/run/texlive; touch /var/run/texlive/run-%1; ) } %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && \\\ %{_sbindir}/update-defaultfont 2> /dev/null %define exec_texhash [ -e /var/run/texlive/run-texhash ] && ( \\\ [ -x %{_bindir}/texhash ] && \\\ echo -n " "; echo -n "Running texhash... "; \\\ %{_bindir}/texhash 2> /dev/null; \\\ echo "done." ) && %__rm -f /var/run/texlive/run-texhash; %define exec_mtxrun [ -e /var/run/texlive/run-mtxrun ] && ( \\\ [ -x %{_bindir}/mtxrun ] && \\\ echo -n " "; echo -n "Running mtxrun... "; \\\ export TEXMF=%{texmf}-dist TEXMFCNF=%{texmf}/web2c TEXMFCACHE=%{texmfsysvar}; \\\ %{_bindir}/mtxrun --generate &> /dev/null; \\\ echo "done." ) && %__rm -f /var/run/texlive/run-mtxrun; %define exec_fmtutil [ -e /var/run/texlive/run-fmtutil ] && ( \\\ [ -x %{_bindir}/fmtutil-sys ] && \\\ echo -n " "; echo -n "Running fmtutil-sys... "; \\\ %{_bindir}/fmtutil-sys --all &> /dev/null; \\\ echo "done." ) && %__rm -f /var/run/texlive/run-fmtutil; %define exec_updmap [ -e /var/run/texlive/run-updmap ] && ( \\\ [ -x %{_bindir}/updmap-sys ] && \\\ echo -n " "; echo -n "Running updmap-sys... "; \\\ %{_bindir}/updmap-sys --nohash --quiet &> /dev/null; \\\ echo "done." ) && %__rm -f /var/run/texlive/run-updmap; %post %touch_run texhash %touch_run updmap %touch_run mtxrun %touch_run fmtutil exit 0 %posttrans %{exec_texhash} %{exec_mtxrun} %{exec_updmap} %{exec_fmtutil} exit 0
people/munepi/scripts/check-texlive-binaries.sh を実行する。
people/munepi/documents/11/beefplate.tex を platex でタイプセットして、pxdvi, dvipdfmx, dvips でそれぞれ正しくフォントが表示・埋めこまれているかを確認する。
$ platex beefplate $ pxdvi beefplate $ dvipdfmx -r 8000 beefplate && acroread beefplate.pdf $ dvips -Ppdf beefplate && ps2pdf beefplate.ps beefplate.pdf && acroread beefplate.pdf
people/munepi/scripts/chkdvipdfmx.sh を実行して、すべての PDF ファイルで画像が埋め込まれていることを確認する。