开发者

How to generate PDF documentation for my project?

开发者 https://www.devze.com 2023-03-25 12:37 出处:网络
I am using Doxygen for creating documentation of my project. I am able to create Latex file for my documentation, but how to convert it to pdf. I found in the manual of Doxygen that we need to give a

I am using Doxygen for creating documentation of my project. I am able to create Latex file for my documentation, but how to convert it to pdf. I found in the manual of Doxygen that we need to give a make pdf command in outputdir. I tried this but i used to get following error.

$ make pdf

del /s/y *.ps *.dvi *.aux *.toc *.idx *.ind 开发者_如何学Python*.ilg *.log *.out refman.pdf

del: not found

make: * [clean] Error 127


Apparently you generated the output on a Windows machine, and are now running make from a Unix/Linux machine. This causes your problem.

I suggest to edit the Makefile in the latex output directory and replace "del" by "rm -rf" and then rerun make. Alternatively, you could generate the latex output using the Unix/Linux version of doxygen. Then doxygen will put "rm -rf" in the Makefile.


cd /to/your/textpath/.tex

then pdflatex refman.tex

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号