dvipdfmx(Debian)のエラー解決

2010/07/23未分類import
** WARNING ** Could not open config file "fontmapsx".
CSHS-texts-2010-0607.dvi -> CSHS-texts-2010-0607.pdf
[1
** ERROR ** Could not find encoding file "H".

Output file removed.
こんなエラーが出る場合は,まず足りないパッケージをインストールします.
下の画面で選択されているcmapのパッケージをインストールしてください.

Screenshot-Synaptic パッケージマネージャ2.png


次に,
/etc/texmf/texmf.d/80DVIPDFMx.cnf
という設定ファイルを次のように直します.
% dvipdfmx
%CMAPINPUTS = .;/usr/share/fonts/cmap//

%上記はデフォルト値
CMAPINPUTS=.;/usr/share/fonts/cmap/adobe-japan1//;/usr/share/fonts/cmap/adobe-japan2//;/usr/share/fonts/cmap/adobe-gb1//;/usr/share/fonts/cmap/gs-cjk-resource//
そして,update-texmfを実行します.
BigOwl:/etc/texmf/texmf.d# update-texmf
Replacing config file /etc/texmf/texmf.cnf with new version
BigOwl:/etc/texmf/texmf.d#
これでとりあえずコンパイルはできるようになります.