Reputation: 21516
Right now I get an error message saying:
No file _formulas.aux.
...
! Missing $ inserted.
...
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?
In addition, what are some general tips for debugging latex errors in doxygen? Are there any log files somewhere?
Upvotes: 2
Views: 4429
Reputation: 15172
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.
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.
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.
Upvotes: 3
Reputation: 19617
In latex, the $ symbol opens math mode, which usually means you're typesetting some sort of equation. If you have equations, surround them with $, e.g. $\frac{1}{2}$
i would assume that doxygen is just passing the .tex file to the command line, in which case there should be a latex log file with specific line numbers where errors occurred. The .log, .aux, etc. are in the same directory as your .tex file.
Upvotes: 0