[Doxygen-users] Using formulas
Brought to you by:
dimitri
From: Mark E. <mar...@vi...> - 2003-01-26 20:33:26
|
Hi, I'm a newbie to doxygen (and ghostscript, latex etc) - my problem may be an installation problem rather than a bug in doxygen specifically. I've looked in the FAQ & user mailling list archive Doxygen hangs up when a formula is included even in a simple example: ------------------------------------------ Test.h /// Test Class class Test { public: int test(); }; Test.cpp #include "test.h" int Test::test() { /// \f$(x_1,y_1)\f$ return 0; } ---------------------------------------------- The last message from doxygen is: Generating group index... Generating example index... Generating file member index... Generating namespace member index... Generating page index... Generating graph info page... Generating search index... Generating style sheet... Generating bitmaps for formulas in HTML... Generating image form_0.png for formula It then hangs although I notice a gswin32.exe process is left running. In the html folder there is formulas.tex that contains: \documentclass{article} \usepackage{epsfig} \pagestyle{empty} \begin{document} $(x_1,y_1)$ \pagebreak \end{document} And a _form0.ps that contains: 1 1 1 setrgbcolor newpath -1 -1 moveto -5248003 -1 lineto -5248003 -3276866 lineto -1 -3276866 lineto closepath fill -6488169 -7733362 translate 0 0 0 setrgbcolor (_form0.eps) run. If I run gswin32 on _form0.ps it comes up with errors I don't comprehend. I have doxygen 1.3-rc2 running on a Win-XP PC. I also have cygwin from which I get tetex20020911-1 along with dvips 5.90a. Although I also installed ghostscript with cygwin it had only a gs.exe, not the gswin32.exe doxygen was looking for, so I downloaded AFPL ghostscript 8.00 and installed it along with fonts (I tried copying gs.exe to gswin32.exe initially to keep doxygen from complaining but that did not cure my problem. When I run latex on _formulas.tex, then dvips _formulas.dvi, then gswin32 _formulas.ps I get a gs viewer with the expected equation so the individual tools seem to work, just not when they're called from doxygen. Sorry this turned into a long exposition but any guidance would be much appreciated. TIA Mark Elson |