名前: Okina 日時: 2003-06-07 00:32:19 IPアドレス: 163.221.130.*
話が長くなりましたので細かく分けることに致しました。 [発端] 先日Adobe Acrobatを使わず軽くてしかも美しいPDFファイルを 作成したいという気持ちからdvipdfmxをインストールしようとしました。 奥村先生や平田先生等のホームページを参考にしながらインストールしましたが いざ使ってみると以下のようなエラーが起こりました。 [エラー症状] % dvipdfmx test2.dvi test2.dvi -> test2.pdf [1 ** Fatal: Unable to find TFM file 'cmr10'. Output file removed. これまでxdvi foo.dviやgv foo.psでファイルを開くことができますので フォントを読み込めないのが原因かと思います。 [Texファイル] 以下はtest2.texのソースです。 \documentclass[a4j]{jarticle} \begin{document} Hello! \TeX ! こんにちは。 \end{document} [マシン関係] ・OS FreeBSD 4.2-RELEASE ・Ghostscriptバージョン 5.50 [インストール手順] % unzip dvipdfm-2002-03-29.zip % cd dvipdfm % ./configure --datadir=/share --with-kpathsea=/usr/local/tex % gmake % gmake install % mktexlsr % cd /share/texmf/dvipdfm % ln -s /usr/local/X11R6/Acrobat4/Resource/CMap % gtar -xvzf dvipdfmx-20030313.tar.gz % cd dvipdfmx-20030313 % ./configure --datadir=/share --with-kpathsea=/usr/local/tex % gmake % gmake install % mktexlsr [これまでに行った悪あがき] % dvipdfm test test.dvi -> test.pdf [1Warning: Couldn't open font map file fonts.map ] 6029 bytes written 一応PDFファイルはできていました。 以下はtest.texのソースです。 \documentclass[a4j]{jarticle} \begin{document} Hello! \TeX ! \end{document} % setenv TEXMF /share/texmf % dvipdfmx test2 **Warning: Couldn't open the font map file 'cmr.map'. **Warning: Couldn't open the font map file 'psbase14.map'. **Warning: Couldn't open the font map file 'lw35urw.map'. **Warning: Couldn't open the font map file 'cid-x.map'. test2.dvi -> test2.pdf [1kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 min10 /share/texmf/web2c/mktexnam: Could not map source abbreviation for min10. /share/texmf/web2c/mktexnam: Need to update ? mkdir: /var/tex: Permission denied kpsestat: No such file or directory usage: chmod [-fv] [-R [-H | -L | -P]] mode file ... mkdir: /var/tex/fonts: No such file or directory kpsestat: No such file or directory usage: chmod [-fv] [-R [-H | -L | -P]] mode file ... mkdir: /var/tex/fonts/pk: No such file or directory kpsestat: No such file or directory usage: chmod [-fv] [-R [-H | -L | -P]] mode file ... mkdir: /var/tex/fonts/pk/ljfour: No such file or directory kpsestat: No such file or directory usage: chmod [-fv] [-R [-H | -L | -P]] mode file ... mkdir: /var/tex/fonts/pk/ljfour/unknown: No such file or directory kpsestat: No such file or directory usage: chmod [-fv] [-R [-H | -L | -P]] mode file ... mkdir: /var/tex/fonts/pk/ljfour/unknown/unknown: No such file or directory kpsestat: No such file or directory usage: chmod [-fv] [-R [-H | -L | -P]] mode file ... mktexpk: mktexdir /var/tex/fonts/pk/ljfour/unknown/unknown failed. kpathsea: Appending font creation commands to missfont.log. ** Fatal error: Could not locate a virtual or a physical font file for 'min10'. Output file removed. % find / -name "cmr10*" -print > test.txt % less test.txt /usr/local/share/texmf.old/fonts/tfm/public/cm/cmr10.tfm /usr/local/teTeX/share/texmf/fonts/source/public/cm/cmr10.mf /usr/local/teTeX/share/texmf/fonts/tfm/public/cm/cmr10.tfm /usr/local/teTeX/share/texmf/fonts/tfm/public/cmcyr/xcmr10.tfm /usr/local/teTeX/share/texmf/fonts/tfm/public/cmcyr/ycmr10.tfm /usr/local/teTeX/share/texmf/fonts/tfm/public/cmcyr/kcmr10.tfm /usr/local/teTeX/share/texmf/fonts/tfm/public/cmcyr/wcmr10.tfm /usr/local/teTeX/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb /usr/local/teTeX/share/texmf/fonts/vf/public/cmcyr/xcmr10.vf /usr/local/teTeX/share/texmf/fonts/vf/public/cmcyr/ycmr10.vf /usr/local/teTeX/share/texmf/fonts/vf/public/cmcyr/kcmr10.vf /usr/local/teTeX/share/texmf/fonts/vf/public/cmcyr/wcmr10.vf /share/tex/fonts/tfm/cmr10.tfm /share/tex/fonts/pk/118/cmr10.106pk /share/tex/fonts/pk/118/cmr10.118pk /share/tex/fonts/pk/118/cmr10.129pk /share/tex/fonts/pk/118/cmr10.142pk /share/tex/fonts/pk/118/cmr10.153pk /share/tex/fonts/pk/118/cmr10.170pk /share/tex/fonts/pk/118/cmr10.204pk /share/tex/fonts/pk/118/cmr10.245pk /share/tex/fonts/pk/118/cmr10.294pk /share/tex/fonts/pk/144/cmr10.130pk /share/tex/fonts/pk/144/cmr10.144pk /share/tex/fonts/pk/144/cmr10.158pk /share/tex/fonts/pk/144/cmr10.173pk /share/tex/fonts/pk/144/cmr10.187pk /share/tex/fonts/pk/144/cmr10.207pk /share/tex/fonts/pk/144/cmr10.249pk /share/tex/fonts/pk/144/cmr10.299pk /share/tex/fonts/pk/144/cmr10.358pk /share/tex/fonts/pk/360/cmr10.324pk /share/tex/fonts/pk/360/cmr10.360pk /share/tex/fonts/pk/360/cmr10.394pk /share/tex/fonts/pk/360/cmr10.432pk /share/tex/fonts/pk/360/cmr10.468pk /share/tex/fonts/pk/360/cmr10.518pk /share/tex/fonts/pk/360/cmr10.622pk /share/tex/fonts/pk/360/cmr10.746pk /share/tex/fonts/pk/360/cmr10.896pk /share/tex/fonts/pk/200/cmr10.200pk /share/tex/fonts/pk/200/cmr10.219pk /share/tex/fonts/pk/200/cmr10.240pk /share/tex/fonts/pk/200/cmr10.288pk /share/tex/fonts/pk/200/cmr10.346pk /share/tex/fonts/pk/200/cmr10.415pk /share/tex/fonts/pk/200/cmr10.498pk /share/tex/fonts/pk/200/cmr10.180pk /share/tex/fonts/pk/200/cmr10.260pk /share/tex/fonts/pk/300/cmr10.300pk /share/tex/fonts/pk/300/cmr10.329pk /share/tex/fonts/pk/300/cmr10.360pk /share/tex/fonts/pk/300/cmr10.432pk /share/tex/fonts/pk/300/cmr10.518pk /share/tex/fonts/pk/300/cmr10.622pk /share/tex/fonts/pk/300/cmr10.746pk /share/tex/fonts/pk/300/cmr10.270pk /share/tex/fonts/pk/300/cmr10.390pk /share/tex/fonts/pk/100/cmr10.100pk /share/tex/fonts/pk/100/cmr10.110pk /share/tex/fonts/pk/100/cmr10.120pk /share/tex/fonts/pk/100/cmr10.144pk /share/tex/fonts/pk/100/cmr10.173pk /share/tex/fonts/pk/100/cmr10.207pk /share/tex/fonts/pk/100/cmr10.249pk /share/tex/fonts/pk/100/cmr10.130pk /share/tex/fonts/pk/100/cmr10.90pk /share/tex/fonts/pk/75/cmr10.108pk /share/tex/fonts/pk/75/cmr10.130pk /share/tex/fonts/pk/75/cmr10.156pk /share/tex/fonts/pk/75/cmr10.187pk /share/tex/fonts/pk/75/cmr10.75pk /share/tex/fonts/pk/75/cmr10.82pk /share/tex/fonts/pk/75/cmr10.90pk /share/tex/fonts/pk/75/cmr10.67pk /share/tex/fonts/pk/75/cmr10.97pk /share/tex/fonts/pk/85/cmr10.102pk /share/tex/fonts/pk/85/cmr10.122pk /share/tex/fonts/pk/85/cmr10.147pk /share/tex/fonts/pk/85/cmr10.176pk /share/tex/fonts/pk/85/cmr10.212pk /share/tex/fonts/pk/85/cmr10.85pk /share/tex/fonts/pk/85/cmr10.93pk /share/tex/fonts/pk/85/cmr10.111pk /share/tex/fonts/pk/85/cmr10.76pk /share/tex/fonts/pk/102/cmr10.102pk /share/tex/fonts/pk/102/cmr10.112pk /share/tex/fonts/pk/102/cmr10.122pk /share/tex/fonts/pk/102/cmr10.147pk /share/tex/fonts/pk/102/cmr10.176pk /share/tex/fonts/pk/102/cmr10.212pk /share/tex/fonts/pk/102/cmr10.254pk /share/tex/fonts/pk/102/cmr10.133pk /share/tex/fonts/pk/102/cmr10.92pk /share/tex/fonts/pk/122/cmr10.122pk /share/tex/fonts/pk/122/cmr10.134pk /share/tex/fonts/pk/122/cmr10.146pk /share/tex/fonts/pk/122/cmr10.176pk /share/tex/fonts/pk/122/cmr10.211pk /share/tex/fonts/pk/122/cmr10.253pk /share/tex/fonts/pk/122/cmr10.304pk /share/tex/fonts/pk/122/cmr10.110pk /share/tex/fonts/pk/122/cmr10.159pk /share/tex/fonts/pk/240/cmr10.240pk /share/tex/fonts/pk/240/cmr10.263pk /share/tex/fonts/pk/240/cmr10.288pk /share/tex/fonts/pk/240/cmr10.346pk /share/tex/fonts/pk/240/cmr10.415pk /share/tex/fonts/pk/240/cmr10.498pk /share/tex/fonts/pk/240/cmr10.597pk /share/tex/fonts/pk/240/cmr10.216pk /share/tex/fonts/pk/240/cmr10.312pk /share/tex/fonts/pk/320/cmr10.320pk /share/tex/fonts/pk/320/cmr10.351pk /share/tex/fonts/pk/320/cmr10.384pk /share/tex/fonts/pk/320/cmr10.461pk /share/tex/fonts/pk/320/cmr10.553pk /share/tex/fonts/pk/320/cmr10.664pk /share/tex/fonts/pk/320/cmr10.796pk /share/tex/fonts/pk/320/cmr10.288pk /share/tex/fonts/pk/320/cmr10.416pk /share/tex/fonts/pk/400/cmr10.360pk /share/tex/fonts/pk/400/cmr10.400pk /share/tex/fonts/pk/400/cmr10.438pk /share/tex/fonts/pk/400/cmr10.480pk /share/tex/fonts/pk/400/cmr10.520pk /share/tex/fonts/pk/400/cmr10.576pk /share/tex/fonts/pk/400/cmr10.691pk /share/tex/fonts/pk/400/cmr10.829pk /share/tex/fonts/pk/400/cmr10.995pk /share/tex/fonts/pk/600/cmr10.1037pk /share/tex/fonts/pk/600/cmr10.1244pk /share/tex/fonts/pk/600/cmr10.1493pk /share/tex/fonts/pk/600/cmr10.540pk /share/tex/fonts/pk/600/cmr10.600pk /share/tex/fonts/pk/600/cmr10.657pk /share/tex/fonts/pk/600/cmr10.720pk /share/tex/fonts/pk/600/cmr10.780pk /share/tex/fonts/pk/600/cmr10.864pk /share/tex/fonts/pk/1200/cmr10.1080pk /share/tex/fonts/pk/1200/cmr10.1200pk /share/tex/fonts/pk/1200/cmr10.1315pk /share/tex/fonts/pk/1200/cmr10.1440pk /share/tex/fonts/pk/1200/cmr10.1560pk /share/tex/fonts/pk/1200/cmr10.1728pk /share/tex/fonts/pk/1200/cmr10.2074pk /share/tex/fonts/pk/1200/cmr10.2488pk /share/tex/fonts/pk/1200/cmr10.2986pk /share/tex/fonts/pk/1800/cmr10.1800pk /share/tex/fonts/pk/1800/cmr10.1972pk /share/tex/fonts/pk/1800/cmr10.2592pk /share/tex/fonts/pk/1800/cmr10.3732pk /share/tex/fonts/pk/1800/cmr10.4479pk /share/texmf-7.3/fonts/source/public/cm/cmr10.mf /share/texmf-7.3/fonts/tfm/public/cm/cmr10.tfm /share/texmf-6.9/fonts/public/cm/src/cmr10.mf /share/texmf-6.9/fonts/public/cm/tfm/cmr10.tfm /share/texmf-6.9/fonts/public/cm/pk/400/cmr10.400pk /share/texmf-6.9/fonts/public/cm/pk/400/cmr10.480pk /share/texmf-6.9/fonts/public/cm/pk/400/cmr10.576pk /share/texmf-6.9/fonts/public/cm/pk/400/cmr10.691pk /share/texmf-6.9/fonts/public/cm/pk/400/cmr10.829pk /share/texmf-6.9/fonts/public/cm/pk/400/cmr10.995pk /share/texmf-6.9/fonts/public/cm/pk/400/cmr10.438pk /share/texmf-6.9/fonts/public/cm/pk/300/cmr10.300pk /share/texmf-6.9/fonts/public/cm/pk/300/cmr10.329pk /share/texmf-6.9/fonts/public/cm/pk/300/cmr10.360pk /share/texmf-6.9/fonts/public/cm/pk/300/cmr10.432pk /share/texmf-6.9/fonts/public/cm/pk/300/cmr10.518pk /share/texmf-6.9/fonts/public/cm/pk/300/cmr10.622pk /share/texmf-6.9/fonts/public/cm/pk/300/cmr10.746pk /share/texmf-6.9/fonts/public/cm/pk/600/cmr10.600pk /share/texmf-6.9/fonts/public/cm/pk/600/cmr10.657pk /share/texmf-6.9/fonts/public/cm/pk/600/cmr10.720pk /share/texmf-6.9/fonts/public/cm/pk/600/cmr10.864pk /share/texmf-6.9/fonts/public/cm/pk/600/cmr10.1037pk /share/texmf-6.9/fonts/public/cm/pk/600/cmr10.1244pk /share/texmf-6.9/fonts/public/cm/pk/600/cmr10.1493pk /share/texmf-6.9/fonts/public/cm/pk/1200/cmr10.1200pk /share/texmf-6.9/fonts/public/cm/pk/1200/cmr10.1315pk /share/texmf-6.9/fonts/public/cm/pk/1200/cmr10.1440pk /share/texmf-6.9/fonts/public/cm/pk/1200/cmr10.1728pk /share/texmf-6.9/fonts/public/cm/pk/1200/cmr10.2074pk /share/texmf-6.9/fonts/public/cm/pk/1200/cmr10.2488pk /share/texmf-6.9/fonts/public/cm/pk/1200/cmr10.2986pk /share/texmfは/share/texmf-7.3にシンボリックリンクが張ってあります。 またGhostscpiptの新しいバージョンをインストールしていないためか dvipdfm(x).mapというファイルは存在しないためdvipdfmx.cfgは変更していません。 やはり新しいTeXをインストールしないとdvipdfmxは使えないのでしょうか? 全く急ぎませんのでもし解決策がお分かりになられるようでしたら 御回答の方を宜しくお願いします。 非常に長くなってしまって申し訳ありません。
この書き込みへの返事: