Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a single PDF document from Doxygen?

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!

like image 953
Pietro Avatar asked Nov 04 '10 17:11

Pietro


People also ask

How do I find doxygen documents?

In the directory you ran doxygen, you will get a directory called html. There, the file you are interested in is index. html. You can view it in your favourite browser.

How do you use Doxygen C code?

The installation of Doxygen is as simple as it can get. Just head over to this link and scroll down to the section “Sources and Binaries” and download the version that has support for your particular operating system, be it Linux or Mac or Windows. Then install as you would install any other normal application!


Video Answer


2 Answers

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

like image 65
synthesizerpatel Avatar answered Sep 18 '22 13:09

synthesizerpatel


Assuming that doxygen is configured correctly, under Linux:

doxygen
cd latex
make

The generated file will be refman.pdf unless it's configured otherwise.

like image 35
Owl Avatar answered Sep 21 '22 13:09

Owl