Doxygen 使用pdflatex的强氧生成乳胶失败

Doxygen 使用pdflatex的强氧生成乳胶失败,doxygen,pdflatex,Doxygen,Pdflatex,我已经用doxygen生成了latex,然后运行makepdf命令 这是我第一次尝试 [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)

我已经用doxygen生成了latex,然后运行
makepdf
命令

这是我第一次尝试

[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

Doxygen PDF输出依赖于
pdflatex
命令,该命令在CentOS 7中由
texlive-latex-bin
软件包提供,但runnig
make-PDF
调用另一个命令
tcfmgr
,该命令由
texlive-texconfig
提供,因此,运行以下命令以安装这些依赖项:

yum install -y texlive-latex-bin-bin texlive-texconfig
您可以检查哪些包提供了任何必要的文件:

$ yum --quiet provides "*bin/pdflatex"

...
2:texlive-latex-bin-bin-svn14050.0-38.20130427_r30134.el7.noarch :
Binaries for latex-bin
Repo        : base
Matched from:
Filename    : /usr/bin/pdflatex

$ yum --quiet provides /usr/share/texlive/texmf/texconfig/tcfmgr

...
2:texlive-texconfig-svn29349.0-38.el7.noarch : texconfig package
Repo        : base
Matched from:
Filename    : /usr/share/texlive/texmf/texconfig/tcfmgr
但是,即使满足了这两个基本要求,我发现还有许多其他信息随之而来,减少警告的整个列表是:

xargs <<_EOF_ yum -y install
texlive-latex-bin-bin
texlive-texconfig
texlive-metafont-bin
texlive-iftex
texlive-cm
texlive-xtab
texlive-multirow
texlive-ec
texlive-sectsty
texlive-fancyhdr
texlive-natbib
texlive-tocloft
texlive-tex4ht
texlive-helvetic
texlive-pslatex
texlive-courier
texlive-times
texlive-metapost
texlive-symbol
texlive-rsfs
texlive-dvips
texlive-base
texlive-makeindex-bin
_EOF_

...
Transaction Summary
==============================================================================================================================
Install  23 Packages (+132 Dependent packages)

Total download size: 43 M
Installed size: 134 M
...

xargs您安装了哪个latex发行版?也许你应该确保你已经安装了所有必要的工具。这包括一个latex发行版(如MikTex)、一个TCL解释器(如ActiveTCL)和Ghostscript。在命令行type
doxygen-w latex headerFile footerFile styleSheetFile
中,允许doxygen创建一个LaTeTex头文件和样式表文件。然后,您可以分析这些文件,找出由doxygen创建的latex代码使用的latex包。供将来参考:此错误
我找不到格式文件pdflatex.fmt
表示TeX发行版已损坏,最好重新安装。这不应该发生(但很明显是可以发生的)。@MichaelPotter,请告诉我我的问题是否对你的CentOS问题或任何其他疑问有帮助。