看板LaTeX
標 題Re: [問題]dvips/dvipdf/dvipdfm 速度很慢
發信站SayYA 資訊站 (Mon Apr 30 15:47:34 2007)
轉信站ptt!ctu-reader!news.nctu!SayYa
我真的找到原因了...
真高興...
我現在用的已經是TexLive 2007囉...
texmf.cnf 的path設定是
http://www.chemie.fu-berlin.de/chemnet/use/info/kpathsea/kpathsea_4.html
Subdirectory expansion
A `//' in a path element following a directory d is replaced by all
subdirectories of d: first those subdirectories directly under d, then
the subsubdirectories under those, and so on. At each level, the order
in which the directories are searched is unspecified. (It's "directory
order", and definitely not alphabetical.)
If you specify any filename components after the `//', only subdirectories
which contain those components are included. For example, `/a//b' would
expand into directories `/a/1/b', `/a/2/b', `/a/1/1/b', and so on, but not
`/a/b/c' or `/a/1'.
235-194:/tmp# env|grep HOME
HOME=/root/
dolf@235-194:~$ env|grep HOME
HOME=/home/adolf
所以說... root在texmf.cnf的 PATH就會被自動展開...
目前的解決辦法就是在root的.bashrc裡面自己設定HOME=/root
絕對不要有後面那個 / 不然...就拼命展開...
有空再寫去ubuntu的bugreport看看...
--
※ Origin: SayYA 資訊站 <bbs.sayya.org>
◆ From: arch9.cs.ccu.edu.tw