[问题]latex 错误 “I can't find the format file `latex.fmt'!”

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
头像
flysohigh
帖子: 129
注册时间: 2007-09-28 21:56

[问题]latex 错误 “I can't find the format file `latex.fmt'!”

#1

帖子 flysohigh » 2008-05-04 20:58

san@ubuntu:~/test$ latex latextest.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
kpathsea: Running mktexfmt latex.fmt
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `latex.fmt'!
头像
flysohigh
帖子: 129
注册时间: 2007-09-28 21:56

Re: [问题]latex 错误 “I can't find the format file `latex.fmt'!”

#2

帖子 flysohigh » 2008-05-04 21:01

flysohigh 写了:san@ubuntu:~/test$ latex latextest.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
kpathsea: Running mktexfmt latex.fmt
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `latex.fmt'!
我用 locate 可以找到那个文件的,

代码: 全选

san@ubuntu:~/test$ locate latex.fmt
/var/lib/texmf/web2c/pdftex/latex.fmt
/var/lib/texmf/web2c/pdftex/pdflatex.fmt
要是用

代码: 全选

su - 
也可以,只是找不到字体
我猜是环境变量不对,但是不知道是哪儿不对,以前还是好的!
回复