Doxywizard找不到乳胶

问题描述 投票:0回答:1

当我尝试在带有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无济于事。如果我使用向导生成的Doxyfile从命令行运行doxygen,则会正确生成LaTeX,因此它似乎只是向导的问题。有没有另一种方法告诉向导如何找到latex命令?

macos latex doxygen doxywizard
1个回答
0
投票

从finder运行doxywizard时,它使用全局设置路径,而不是$HOME/.bashrc中设置的路径。因此,有许多解决方案,包括将/usr/local/bin等添加到全局路径(/etc/bashrc)或在/usr/local/bin中创建链接到/Applications/Doxygen.app/Contents/MacOS/Doxywizard,并始终从终端运行向导,这是我选择的选项。

© www.soinside.com 2019 - 2024. All rights reserved.