当我尝试在带有 LaTeX 命令的模块上运行 doxywizard 时,例如(Fortran):
!> @brief
!> Here's some stuff for LaTeX: @f$(Foo)@f$
module Foo
...
我在日志文件中收到两个错误:
...
Generating bitmaps for formulas in HTML...
sh: latex: command not found
error: Problems running latex. Check your installation or look for typos in _formulas.tex and check _formulas.log!
Generating image form_0.png for formula
sh: dvips: command not found
error: Problems running dvips. Check your installation!
Generating index page...
...
latex
位于 /usr/local/bin 中,它在我的路径中,并且dvips
在 /Library/TeX/texbin 中,它也在我的路径中,并且都从终端执行。我也尝试设置 LATEX_CMD_NAME = /usr/local/bin/latex 无济于事。如果我doxygen
使用向导生成的 Doxyfile 从命令行运行,则 LaTeX 会正确生成,所以这似乎是向导的问题。有没有另一种方法来告诉向导如何找到latex
命令?