pxdvi(xdviの日本語対応)とuptex(dvipdfmxなど)をインストールしておく。%%
こちらに従って導入。%%
$ sudo tlmgr update --self --all
$ sudo tlmgr repository add http://www.tug.org/~preining/tlptexlive/ tlptexlive
$ sudo mkdir -p /opt/texlive/texmf-local/tlpkg
$ sudo touch /opt/texlive/texmf-local/tlpkg/pinning.txt
$ echo 'tlptexlive:*' | sudo tee -a /opt/texlive/texmf-local/tlpkg/pinning.txt tlptexlive:*
$ sudo tlmgr install pxdvi pmetapost
パスの通ってないディレクトリにtexliveがインストールされていると使えないでのパスを通すか、pxdviのシンボリックリンクを張る。
pxdviでdviファイルを開くと以下のようなエラーが出る。
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*" to type FontStruct
デフォルトインストールの場合は/usr/local/texlive/2011/texmf/xdvi/XDviの以下のように変更する。
!!!------------------------------------------------------------------------------
!!!------------------------------ Fonts and colors ------------------------------
!!!------------------------------------------------------------------------------
!*font: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-* <---------これをコメントアウト
*font: -*-*-medium-r-*-*-12-*-*-*-*-*-*-* <---------このように変更
!!! Use a smaller font for the statusline in the Xaw version:
!*statusline.font: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-* <---------これをコメントアウト
*statusline.font: -*-*-medium-r-*-*-10-*-*-*-*-*-*-* <---------このように変更