Changes between Version 76 and Version 77 of TeXEnvironment


Ignore:
Timestamp:
2013/08/27 20:35:55 (11 years ago)
Author:
munepi
Comment:

TeX Live 2013 向けに改訂

Legend:

Unmodified
Added
Removed
Modified
  • TeXEnvironment

    v76 v77  
    22= TeX 環境 = 
    33 
     4 * [wiki:TeXEnvironment/tlpdb2rpmspec tlpdb2rpmspec] 
     5 * [wiki:TeXEnvironment/Vine6 Vine Linux 6] 
    46 * [wiki:TeXEnvironment/Vine5 Vine Linux 5] 
    5  * [wiki:TeXEnvironment/Vine6 Vine Linux 6] 
    6  * [wiki:TeXEnvironment/tlpdb2rpmspec tlpdb2rpmspec] 
    77 
    88= TeX 環境 Vine Linux 7 = 
    99 
    10 次期 TeX Live のバージョンは、TeX Live 2012 を採用する予定。 
    11 TeX Live 2012 をベースに、必要に応じて有用な機能などを取り込み、Vine Linux 向けにカスタマイズする予定 
     10次期 TeX Live のバージョンは、TeX Live 2013 を採用する予定。 
     11TeX Live 2013 をベースに Vine Linux 向けにカスタマイズする 
    1212 
    1313また、以下の機能の取り込みも検討する。 
    1414 * 組版エンジンが 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] の開発版を取り込む 
    1618 
    1719== 方針 == 
     
    2325== TeX Live のバージョン == 
    2426 
    25 2012-12-01 現時点の VineSeed に、TeX Live 2012 を採用。 
     272013-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] を組み合わせることで、 
     42TeX Live 2013 に不足している日本語対応周りが補足される。 
     43 
     44 * pxdvi 
     45   * !pxdviUse, !kanjiVariant 
     46 * pmetapost 
    2647 
    2748=== TeX Live 2012 === 
     
    3455==== tlptexlive リポジトリ ==== 
    3556 
    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] を組み合わせることで、 
     58TeX Live 2012 に不足している日本語対応周りが補足される。 
     59 
    3760 * pxdvi 
    3861   * !pxdviUse, !kanjiVariant 
     
    5073==== tlptexlive リポジトリ ==== 
    5174 
    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] を組み合わせることで、 
     76TeX Live 2011 に不足している日本語対応周りが補足される。 
    5377 * pxdvi 
    5478   * !pxdviUse, !KanjiMap 
     
    6488 * [http://sourceforge.jp/projects/eptex/ e-pTeX]: eptex-100420 
    6589 
     90 
    6691== RPM パッケージ == 
    6792 
    6893||カテゴリ(リポジトリのカテゴリ) ||パッケージの組み合わせ||texlive-collections-* の生成||コメント|| 
    69 ||最小(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 }}} || || 
    70 ||標準(plus)|| + texmacro-otf + texlive-collection-latexextra + texlive-collection-luatex + texlive-collection-pictures + texlive-collection-genericrecommended + texlive-collection-fontutils || {{{ $ tlpdb2rpmspec --standard-collections }}} || task-texlive || 
     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 || 
    7196||最大(plus)|| + 残り全部 || {{{ $ tlpdb2rpmspec --full-collections }}} || task-texlive-full || 
    7297 
     
    78103 * /usr/bin 
    79104 * /usr/share/ 
    80    * /usr/share/texmf 
    81    * /usr/share/texmf-dist 
    82    * /usr/share/texmf-local 
    83    * /usr/share/tlpkg 
    84  * /etc/texmf: 従来の /usr/share/texmf-config 
    85  * /var/lib/texmf: 従来の /usr/share/texmf-var 
     105   * texmf 
     106   * texmf-dist 
     107   * tlpkg 
     108 * /usr/local/share/texmf 
     109 * /etc/texmf 
     110 * /var/lib/texmf 
    86111 
    87112==== {ptex,uptex,otf,otf-up}-vine.map ==== 
     
    95120==== ビルド ==== 
    96121 
    97 vbuilder を使って texlive-2012 パッケージをリビルドします。 
     122vbuilder を使って texlive-2013 パッケージをリビルドします。 
    98123{{{ 
    99 $ vbuilder --version ''version'' --arch ''arch'' build-rpm texlive-2012-Xvl7.src.rpm 
     124$ vbuilder --version ''version'' --arch ''arch'' build-rpm texlive-2013-Xvl7.src.rpm 
    100125}}} 
    101126 
     
    103128=== texlive-collection-* === 
    104129 
    105 texlive2011.iso:/tlpkg/texlive.tlpdb において  
    106 {{{category Collection}}} をフィールドに持つパッケージです。 
     130texlive.tlpdb において、{{{category Collection}}} をフィールドに持つパッケージです。 
    107131 
    108132[wiki:TeXEnvironment/tlpdb2rpmspec tlpdb2rpmspec] コマンドを使って、 
     
    114138TeX Live パッケージの共通ベースを提供するするための仮想パッケージ。 
    115139 
    116  * texlive-collection-langcjk 
    117  * texlive-collection-langgerman 
    118  * texlive-collection-langcyrillic 
    119  * texlive-collection-xetex 
    120  * texlive-collection-latexrecommended 
    121  * texlive-collection-latex 
    122  * texlive-collection-fontsrecommended 
    123  * texlive-collection-basic 
    124  
    125  
    126 === texlive-sources === 
    127  
    128 TeX Live のアーカイブを展開して固めたパッケージ。 
    129  
    130  * /usr/share/texlive-sources 
    131    * texmf 
    132    * texmf-dist 
    133    * source 
    134    * ... 
    135140 
    136141=== texlive-macros === 
    137142 
    138143追加マクロパッケージ。 
    139  * kanjifonts 
    140  * jsclasses 
     144 
    141145 * jlistings 
    142  
    143 === jvf === 
    144  
    145 Vine Linux 用の vf をまとめたパッケージ。 
    146  
    147 pTeX に必要な tfm や vf は、TeX Live 2012 の texmf-dist 以下にすでに格納されています。 
     146 * ... 
     147 
    148148 
    149149=== xdvi-search-el === 
     
    162162 
    163163 
    164 == TeX Live 2012 のインストール過程 == 
     164== TeX Live 2013 のインストール過程 == 
    165165 
    1661661. texlive %pretrans を用いて、TeX Live 2009, 2011 から 2012 への移行処理 
     
    1681683. /etc/texmf/web2c/updmap.cfg に対して、Requires に依存されているパッケージに含まれているフォントマップを有効 
    1691694. %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 
    223177 
    224178 
     
    230184[repos:people/munepi/scripts/check-texlive-binaries.sh] を実行する。 
    231185 
    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 でタイプセットして、 
     190pxdvi, dvipdfmx, dvips でそれぞれ正しくフォントが表示・埋めこまれているかを確認する。 
     191 
    239192{{{ 
    240193$ platex beefplate 
    241194$ pxdvi beefplate 
    242 $ dvipdfmx -r 8000 beefplate && acroread beefplate.pdf 
    243 $ dvips -Ppdf beefplate && ps2pdf beefplate.ps beefplate.pdf && acroread beefplate.pdf 
     195$ dvipdfmx beefplate && evince beefplate.pdf 
     196$ dvips -Ppdf beefplate && ps2pdf beefplate.ps beefplate.pdf && evince beefplate.pdf 
    244197}}} 
    245198