【发布时间】:2015-10-25 21:43:57
【问题描述】:
我已经用 doxygen 生成了乳胶,然后我运行 make pdf 命令。
这是我第一次尝试。
[mysite.lan] (liberz) latex> make pdf
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
pdflatex refman
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
restricted \write18 enabled.
kpathsea: Running mktexfmt pdflatex.fmt
/usr/bin/mktexfmt: line 395: /usr/share/texlive/texmf/texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `pdflatex.fmt'!
make: *** [refman.pdf] Error 1
我查看了mkexfmt 命令,它正在尝试将tcfmgr 作为命令调用。
/usr/share/texlive/texmf/texconfig 文件夹存在,但里面没有tcfmgr 命令。
之前我得到pdflatex 命令找不到,所以这是最近安装的。
[编辑回答版本信息问题]我确定我需要安装更多工具,但不清楚我需要安装哪些软件包。我正在使用 CentOS 7.1。
> pdflatex -version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
kpathsea version 6.1.1
Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.5.13; using libpng 1.5.13
Compiled with zlib 1.2.7; using zlib 1.2.7
Compiled with poppler version 0.22.5
【问题讨论】:
-
你安装了哪个乳胶发行版?也许您应该确保已安装所有必要的工具。这包括一个乳胶发行版(如 MikTex)、一个 TCL 解释器(如 ActiveTCL)和 Ghostscript。
-
在命令行中输入
doxygen -w latex headerFile footerFile styleSheetFile让 doxygen 创建一个 Latex 头文件和样式表文件。然后你可以分析这些文件,找出doxygen创建的latex代码使用了哪些latex包。 -
供以后参考:这个错误
I can't find the format file pdflatex.fmt表示TeX发行版坏了,最好重新安装。它不应该发生(但显然它可以)。