| v76 | v77 | |
|---|---|---|
| 2 | 2 | = TeX 環境 = |
| 3 | 3 | |
| 4 | * [wiki:TeXEnvironment/tlpdb2rpmspec tlpdb2rpmspec] | |
| 5 | * [wiki:TeXEnvironment/Vine6 Vine Linux 6] | |
| 4 | 6 | * [wiki:TeXEnvironment/Vine5 Vine Linux 5] |
| 5 | ||
| 6 | ||
| 7 | 7 | |
| 8 | 8 | = TeX 環境 Vine Linux 7 = |
| 9 | 9 | |
| 10 | 次期 TeX Live のバージョンは、TeX Live 201 |
|
| 11 | TeX Live 201 |
|
| 10 | 次期 TeX Live のバージョンは、TeX Live 2013 を採用する予定。 | |
| 11 | TeX Live 2013 をベースに Vine Linux 向けにカスタマイズする。 | |
| 12 | 12 | |
| 13 | 13 | また、以下の機能の取り込みも検討する。 |
| 14 | 14 | * 組版エンジンが ptex である "platex" も使えるようにしておく |
| 15 | * [http://sourceforge.jp/projects/luatex-ja/ LuaTeX-ja] の最新成果を取り込み | |
| 15 | * [https://gitorious.org/xdvik-japanese-patch-cleanup xdvik-japanese-patch-cleanup] の成果を取り込む | |
| 16 | * [http://sourceforge.jp/projects/luatex-ja/ LuaTeX-ja] の最新成果を取り込む | |
| 17 | * [https://foundry.supelec.fr/projects/luajittex/ LuaJITTeX] の開発版を取り込む | |
| 16 | 18 | |
| 17 | 19 | == 方針 == |
| … | … | |
| 23 | 25 | == TeX Live のバージョン == |
| 24 | 26 | |
| 25 | 2012-12-01 現時点の VineSeed に、TeX Live 2012 を採用。 | |
| 27 | 2013-08-27 現在、VineSeed に TeX Live 2013 を採用しています [http://ml.vinelinux.org/vineseed/msg09406.html VineSeed:026263]。 | |
| 28 | ||
| 29 | * TeX Live 2013 + 2014/dev 20130823 | |
| 30 | * tlptexlive 20130815 | |
| 31 | * TLNET 20130823 | |
| 32 | ||
| 33 | === TeX Live 2013 === | |
| 34 | ||
| 35 | * $TEXLIVE/texmf -> $TEXLIVE/texmf-dist に一本化された | |
| 36 | * Norbert Preining さんの [http://www.preining.info/blog/software-projects/ptex2pdf/ ptex2pdf] が取り込まれた | |
| 37 | * ... | |
| 38 | ||
| 39 | ==== tlptexlive リポジトリ ==== | |
| 40 | ||
| 41 | [http://tutimura.ath.cx/ptexlive/?tlptexlive%A5%EA%A5%DD%A5%B8%A5%C8%A5%EA tlptexliveリポジトリ - ptexlive Wiki] を組み合わせることで、 | |
| 42 | TeX Live 2013 に不足している日本語対応周りが補足される。 | |
| 43 | ||
| 44 | * pxdvi | |
| 45 | * !pxdviUse, !kanjiVariant | |
| 46 | * pmetapost | |
| 26 | 47 | |
| 27 | 48 | === TeX Live 2012 === |
| … | … | |
| 34 | 55 | ==== tlptexlive リポジトリ ==== |
| 35 | 56 | |
| 36 | [http://tutimura.ath.cx/ptexlive/?tlptexlive%A5%EA%A5%DD%A5%B8%A5%C8%A5%EA tlptexliveリポジトリ - ptexlive Wiki] を組み合わせることで、TeX Live 2012 に不足している日本語対応周りが補足される。 | |
| 57 | [http://tutimura.ath.cx/ptexlive/?tlptexlive%A5%EA%A5%DD%A5%B8%A5%C8%A5%EA tlptexliveリポジトリ - ptexlive Wiki] を組み合わせることで、 | |
| 58 | TeX Live 2012 に不足している日本語対応周りが補足される。 | |
| 59 | ||
| 37 | 60 | * pxdvi |
| 38 | 61 | * !pxdviUse, !kanjiVariant |
| … | … | |
| 50 | 73 | ==== tlptexlive リポジトリ ==== |
| 51 | 74 | |
| 52 | [http://tutimura.ath.cx/ptexlive/?tlptexlive%A5%EA%A5%DD%A5%B8%A5%C8%A5%EA tlptexliveリポジトリ - ptexlive Wiki] を組み合わせることで、TeX Live 2011 に不足している日本語対応周りが補足される。 | |
| 75 | [http://tutimura.ath.cx/ptexlive/?tlptexlive%A5%EA%A5%DD%A5%B8%A5%C8%A5%EA tlptexliveリポジトリ - ptexlive Wiki] を組み合わせることで、 | |
| 76 | TeX Live 2011 に不足している日本語対応周りが補足される。 | |
| 53 | 77 | * pxdvi |
| 54 | 78 | * !pxdviUse, !KanjiMap |
| … | … | |
| 64 | 88 | * [http://sourceforge.jp/projects/eptex/ e-pTeX]: eptex-100420 |
| 65 | 89 | |
| 90 | ||
| 66 | 91 | == RPM パッケージ == |
| 67 | 92 | |
| 68 | 93 | ||カテゴリ(リポジトリのカテゴリ) ||パッケージの組み合わせ||texlive-collections-* の生成||コメント|| |
| 69 | ||最小(main)|| texlive + texlive-common (= texlive |
|
| 70 | ||標準(plus)|| + texmacro-otf |
|
| 94 | ||最小(main)|| texlive + texlive-common (= texlive texlive-collection-basic texlive-collection-latex texlive-collection-langgerman texlive-collection-langcyrillic texlive-collection-langgreek texlive-collection-xetex texlive-collection-langcjk) || {{{ $ tlpdb2rpmspec --minimal-collections }}} || texlive = texlive-common || | |
| 95 | ||標準(plus)|| + texmacro-otf texlive-macros texlive-collection-latexrecommended texlive-collection-fontsrecommendetexlive-collection-latexextra texlive-collection-luatex texlive-collection-pictures texlive-collection-genericrecommended texlive-collection-fontutils || {{{ $ tlpdb2rpmspec --standard-collections }}} || task-texlive || | |
| 71 | 96 | ||最大(plus)|| + 残り全部 || {{{ $ tlpdb2rpmspec --full-collections }}} || task-texlive-full || |
| 72 | 97 | |
| … | … | |
| 78 | 103 | * /usr/bin |
| 79 | 104 | * /usr/share/ |
| 80 | * |
|
| 81 | * |
|
| 82 | * |
|
| 83 | |
|
| 84 | * /etc/texmf |
|
| 85 | * /var/lib/texmf |
|
| 105 | * texmf | |
| 106 | * texmf-dist | |
| 107 | * tlpkg | |
| 108 | * /usr/local/share/texmf | |
| 109 | * /etc/texmf | |
| 110 | * /var/lib/texmf | |
| 86 | 111 | |
| 87 | 112 | ==== {ptex,uptex,otf,otf-up}-vine.map ==== |
| … | … | |
| 95 | 120 | ==== ビルド ==== |
| 96 | 121 | |
| 97 | vbuilder を使って texlive-201 |
|
| 122 | vbuilder を使って texlive-2013 パッケージをリビルドします。 | |
| 98 | 123 | {{{ |
| 99 | $ vbuilder --version ''version'' --arch ''arch'' build-rpm texlive-201 |
|
| 124 | $ vbuilder --version ''version'' --arch ''arch'' build-rpm texlive-2013-Xvl7.src.rpm | |
| 100 | 125 | }}} |
| 101 | 126 | |
| … | … | |
| 103 | 128 | === texlive-collection-* === |
| 104 | 129 | |
| 105 | texlive2011.iso:/tlpkg/texlive.tlpdb において | |
| 106 | {{{category Collection}}} をフィールドに持つパッケージです。 | |
| 130 | texlive.tlpdb において、{{{category Collection}}} をフィールドに持つパッケージです。 | |
| 107 | 131 | |
| 108 | 132 | [wiki:TeXEnvironment/tlpdb2rpmspec tlpdb2rpmspec] コマンドを使って、 |
| … | … | |
| 114 | 138 | TeX Live パッケージの共通ベースを提供するするための仮想パッケージ。 |
| 115 | 139 | |
| 116 | ||
| 117 | ||
| 118 | ||
| 119 | ||
| 120 | ||
| 121 | ||
| 122 | ||
| 123 | ||
| 124 | ||
| 125 | ||
| 126 | ||
| 127 | ||
| 128 | ||
| 129 | ||
| 130 | ||
| 131 | ||
| 132 | ||
| 133 | ||
| 134 | ||
| 135 | 140 | |
| 136 | 141 | === texlive-macros === |
| 137 | 142 | |
| 138 | 143 | 追加マクロパッケージ。 |
| 139 | * kanjifonts | |
| 140 | * jsclasses | |
| 144 | ||
| 141 | 145 | * jlistings |
| 142 | ||
| 143 | === jvf === | |
| 144 | ||
| 145 | Vine Linux 用の vf をまとめたパッケージ。 | |
| 146 | ||
| 147 | pTeX に必要な tfm や vf は、TeX Live 2012 の texmf-dist 以下にすでに格納されています。 | |
| 146 | * ... | |
| 147 | ||
| 148 | 148 | |
| 149 | 149 | === xdvi-search-el === |
| … | … | |
| 162 | 162 | |
| 163 | 163 | |
| 164 | == TeX Live 201 |
|
| 164 | == TeX Live 2013 のインストール過程 == | |
| 165 | 165 | |
| 166 | 166 | 1. texlive %pretrans を用いて、TeX Live 2009, 2011 から 2012 への移行処理 |
| … | … | |
| 168 | 168 | 3. /etc/texmf/web2c/updmap.cfg に対して、Requires に依存されているパッケージに含まれているフォントマップを有効 |
| 169 | 169 | 4. %posttrans で {{{mktexlsr}}}, {{{updmap-sys}}}, {{{fmtutil-sys}}}, {{{mtxrun --generate}}} を実行 |
| 170 | {{{ | |
| 171 | ## use some macros for %post, %posttrans | |
| 172 | %define touch_run(%1) %{expand:( %__mkdir_p /var/run/texlive; touch /var/run/texlive/run-%1; ) | |
| 173 | } | |
| 174 | %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && \\\ | |
| 175 | %{_sbindir}/update-defaultfont 2> /dev/null | |
| 176 | %define exec_texhash [ -e /var/run/texlive/run-texhash ] && ( \\\ | |
| 177 | [ -x %{_bindir}/texhash ] && \\\ | |
| 178 | echo -n " "; echo -n "Running texhash... "; \\\ | |
| 179 | %{_bindir}/texhash 2> /dev/null; \\\ | |
| 180 | echo "done." ) && %__rm -f /var/run/texlive/run-texhash; | |
| 181 | %define exec_mtxrun [ -e /var/run/texlive/run-mtxrun ] && ( \\\ | |
| 182 | [ -x %{_bindir}/mtxrun ] && \\\ | |
| 183 | echo -n " "; echo -n "Running mtxrun... "; \\\ | |
| 184 | export TEXMF=%{texmf}-dist TEXMFCNF=%{texmf}/web2c TEXMFCACHE=%{texmfsysvar}; \\\ | |
| 185 | %{_bindir}/mtxrun --generate &> /dev/null; \\\ | |
| 186 | echo "done." ) && %__rm -f /var/run/texlive/run-mtxrun; | |
| 187 | %define exec_fmtutil [ -e /var/run/texlive/run-fmtutil ] && ( \\\ | |
| 188 | [ -x %{_bindir}/fmtutil-sys ] && \\\ | |
| 189 | echo -n " "; echo -n "Running fmtutil-sys... "; \\\ | |
| 190 | %{_bindir}/fmtutil-sys --all &> /dev/null; \\\ | |
| 191 | echo "done." ) && %__rm -f /var/run/texlive/run-fmtutil; | |
| 192 | %define exec_updmap [ -e /var/run/texlive/run-updmap ] && ( \\\ | |
| 193 | [ -x %{_bindir}/updmap-sys ] && \\\ | |
| 194 | echo -n " "; echo -n "Running updmap-sys... "; \\\ | |
| 195 | %{_bindir}/updmap-sys --nohash --quiet &> /dev/null; \\\ | |
| 196 | echo "done." ) && %__rm -f /var/run/texlive/run-updmap; | |
| 197 | ||
| 198 | ||
| 199 | ||
| 200 | %post | |
| 201 | %touch_run texhash | |
| 202 | %touch_run updmap | |
| 203 | %touch_run mtxrun | |
| 204 | %touch_run fmtutil | |
| 205 | exit 0 | |
| 206 | ||
| 207 | %posttrans | |
| 208 | %{exec_texhash} | |
| 209 | %{exec_mtxrun} | |
| 210 | %{exec_updmap} | |
| 211 | %{exec_fmtutil} | |
| 212 | exit 0 | |
| 213 | }}} | |
| 214 | ||
| 215 | == TeX Live 2012 への更新による対応が必要なパッケージ == | |
| 216 | ||
| 217 | * dvipng: dvipng パッケージを活かす?、または、texlive 側に取り込むか? | |
| 218 | * asymptote: texlive 側との調整が必要 | |
| 219 | * tlmgr: texlive パッケージから取り除く予定 | |
| 220 | * mathabx-type1: orphaned/obsoletes へ移動 | |
| 221 | * evince-dvi: BR: libkpathsea-devel >= 2012 でリビルド | |
| 222 | * lcdf-typetools: BR: libkpathsea-devel >= 2012 でリビルド | |
| 170 | ||
| 171 | この過程に必要な処理などを {{{ /etc/rpm/macros.texlive }}} にまとめました。 | |
| 172 | ||
| 173 | ||
| 174 | == TeX Live 2013 への更新による対応が必要なパッケージ == | |
| 175 | ||
| 176 | ||
| 223 | 177 | |
| 224 | 178 | |
| … | … | |
| 230 | 184 | [repos:people/munepi/scripts/check-texlive-binaries.sh] を実行する。 |
| 231 | 185 | |
| 232 | ==== Babel ==== | |
| 233 | ||
| 234 | ||
| 235 | ||
| 236 | === texmacro-otf: === | |
| 237 | ||
| 238 | [repos:people/munepi/documents/11/beefplate.tex] を platex でタイプセットして、pxdvi, dvipdfmx, dvips でそれぞれ正しくフォントが表示・埋めこまれているかを確認する。 | |
| 186 | ||
| 187 | === texmacro-otf === | |
| 188 | ||
| 189 | [repos:people/munepi/documents/11/beefplate.tex] を platex でタイプセットして、 | |
| 190 | pxdvi, dvipdfmx, dvips でそれぞれ正しくフォントが表示・埋めこまれているかを確認する。 | |
| 191 | ||
| 239 | 192 | {{{ |
| 240 | 193 | $ platex beefplate |
| 241 | 194 | $ pxdvi beefplate |
| 242 | $ dvipdfmx |
|
| 243 | $ dvips -Ppdf beefplate && ps2pdf beefplate.ps beefplate.pdf && |
|
| 195 | $ dvipdfmx beefplate && evince beefplate.pdf | |
| 196 | $ dvips -Ppdf beefplate && ps2pdf beefplate.ps beefplate.pdf && evince beefplate.pdf | |
| 244 | 197 | }}} |
| 245 | 198 |