How to get a single PDF document from Doxygen?

前端 未结 6 1357
感情败类
感情败类 2021-01-30 16:50

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

6条回答
  •  一向
    一向 (楼主)
    2021-01-30 17:18

    Using Doxygen 1.8.4+ (on Windows), there is also a make.bat script so you don't even need to open the command line.

    1. Configure Doxygen for LaTeX output.

      GENERATE_LATEX = YES LATEX_OUTPUT = latex OUTPUT_DIRECTORY =

    2. Set up all your images for LaTeX output.

      \image html application.jpg \image latex application.eps "My application" width=10cm

    3. Run Doxygen.

    4. Run {OUTPUT_DIRECTORY}\{LATEX_OUTPUT}\make.bat.
    5. Open {OUTPUT_DIRECTORY}\{LATEX_OUTPUT}\refman.pdf.

    If refman.pdf is not created, run make.bat from a command window and read the errors.

    Errors like: 'pdflatex' is not recognized as an internal or external command,... Mean that you do not have the prerequisites to run latex at all. Other errors may be due to missing latex packages or doxygen bugs causing invalid .tex files.

    Once you have all the prerequisites installed, and a good version of doxygen, the simpler procedure should work every time.

提交回复
热议问题