ptexlive - アールメカブ

アールメカブ


ptexlive

Texの備忘録

ptexLive のインストール

_ TeX Live 2009 のインストール

  • ダウンロード

http://ctan.binkerton.com/systems/texlive/Images/

http://www.t.ring.gr.jp/pub/text/CTAN/systems/texlive/Images/

から texlive2009-****.iso

  • 展開とマウント
    $ sudo mkdir /mnt/texlive2009
    $ sudo mount -o loop ./texlive2009-20091107.iso /mnt/texlive2009
    $ cd /mnt/texlive2009
  • インストール
    $ sudo ./install-tl

fileinstalling.txt

_ ptexLive のインストール

  • ダウンロード http://tutimura.ath.cx/~nob/tex/ptexlive/ から texlive2009-20****tar.gz
  • 展開とマウント
    $ gzip -cd ptexlive-20****.tar.gz | tar xvf -
    $ cd ptexlive-20****
    $ cp ptexlive.sample ../ptexlive.cfg
    $ vi ../ptexlive.cfg 
    ...
    ISO_DIR=/mnt/texlive2009
    ...
    export CONFIG_SHELL=$BASH
    ...
    conf_option --with-xdvi-x-toolkit=motif
    ...
    $ unset TEXTEDIT
    $
    $ make all3
    [-dNOKANJI] test
    Warning: 'gs' seem to embed Japanese fonts in spite of '- 
     dNOKANJI' option.
    Check gs options in
     /var/tmp/ptexlive2009/texlive-20091011-  source/inst/texmf/dvipdfmx/dvipdfmx.cfg.
    We may need some additional patches for ghostscript.
    -----------------------------
    [CVE-2007-0104] test
    CVE-2007-0104 is not fixed.
    make: *** [stage8] エラー 1
    $ sudo make install
    $ make distclean 
$ sudo vi /usr/local/texlive/p2009/texmf/xdvi/pxdvi.cfg 
% Japanese
%replace Ryumin-Light            ipam.ttf
%replace GothicBBB-Medium        ipag.ttf

となっていたら

% Japanese
replace Ryumin-Light            /usr/share/fonts/opentype/ipafont/ipam.ttf
replace GothicBBB-Medium        /usr/share/fonts/opentype/ipafont/ipag.ttf

と修正

なおコマンドは

platex
pxdvi-motif
pdvips

になる


2010 03 01

基本的には土村さんのサイトからダウンロードした一式のREADMEの通りにするだけだが, Ubuntu の場合 sh が dash へのシンボリックリンクなので, bash に張り替えてやる必要がある.

$ sudo dpkg-reconfigure dash

を実行して Install dash as /bin/sh? に<いいえ>を選択.元に戻すには再度実行し<はい>

あるいは強引に

$ cd /bin
$ sudo rm sh
$ sudo ln -s bash sh

念のため元に戻すには

$ sudo -i
$ sudo rm sh
$ sudo ln -s dash sh

さもなければ以下のようなエラーに見舞われる

texlive-source/Work/texk/kpathsea/libkpathsea.la -lm
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
 
添付ファイル: fileinstalling.txt 1773件 [詳細]
 
Link: Texの備忘録(4716d)
Last-modified: 2011-03-02 (水) 16:42:59 (4797d)