How to get a single PDF document from Doxygen?

Pietro picture Pietro · Nov 4, 2010 · Viewed 75.1k times · Source

When I generate Doxygen documentation in PDF format, I get plenty of different files with a single diagram in each.
Is it possible to obtain a single PDF document, organized as a book, roughly as the HTML version?
Is it possible to get it automatically, i.e. without dealing manually with the latex files?

Thank's!

Answer

synthesizerpatel picture synthesizerpatel · Jul 31, 2011

See Converting a LaTeX document to a PDF document.

When Doxygen is finished processing, in the latex directory there's a file called 'refman.tex'.

There are three ways you can use that file to get 'a book' out of Doxygen:

  • LaTeX -> dvips -> ps2pdf

    latex myfile

    dvips myfile

    ps2pdf myfile.ps

  • LaTeX -> dvipdfm

    latex myfile

    dvipdfm myfile

  • pdflatex (or pdftex for plain TeX)

    pdflatex myfile