在Doxygen中调试乳胶错误的提示 [英] Tips for debugging latex errors in Doxygen

查看:123
本文介绍了在Doxygen中调试乳胶错误的提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我收到一条错误消息:

Right now I get an error message saying:

No file _formulas.aux.
...
! Missing $ inserted.
...

我已经尝试在代码中查找和单个@f$标签,但是到目前为止,我未能成功找到罪魁祸首.我该如何解决这个特定问题?

I've tried looking for and single @f$ tags in the code, but I have not been successful in locating the culprit thus far. How can I go about solving this specific issue?

此外,调试doxygen中的乳胶错误有哪些常规技巧?某处有日志文件吗?

In addition, what are some general tips for debugging latex errors in doxygen? Are there any log files somewhere?

推荐答案

我同时使用了Doxygen和LaTeX.编译公式时,Doxygen将获取LaTeX方程的内容,将尚未生成的内容复制到html/_formulas.tex(相对于Doxyfile中指定的OUTPUT_DIRECTORY),尝试编译tex文件,然后然后将结果复制到png文件中.

I use both Doxygen and LaTeX. When compiling formulas, Doxygen will take the contents of your LaTeX equations, copies the ones that haven't been generated to html/_formulas.tex (relative to the OUTPUT_DIRECTORY specified in the Doxyfile), attempt to compile the tex file, and then copies the result to png files.

如果使用\f$ a+b \f$,则公式将内联显示;并且如果使用\f[ a+b \f],则公式将采用显示"样式.

If you use \f$ a+b \f$, the formula will appear inline; and if you use \f[ a+b \f] the formula will be in "display" style.

听起来您的公式之一有误.如果在命令行显示错误时,您编辑_formulas.tex文件,则可能可以找到该错误.错误"$"可能意味着您忘记在某处闭合一组括号.

It sounds like one of your formulas has an error. If, while the command line is displaying the error, you edit the _formulas.tex file, you can probably track down the error. A "missing $" error probably means you forgot to close a set of braces somewhere.

这篇关于在Doxygen中调试乳胶错误的提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆