Skip to content

Help: Add option to generate docs with latexpdf

Hello!

I have added new switch --sphinx-latexpdf for bootstrap script to generate PDF version of manual as single file CMake.pdf.

I'm aware that the PDF output has some drawbacks:

  • many highlighting colours are too bright on white background
  • Column text overflow in section "4.2.3 Setting build variables"

However I found it anyway useful for easy offline browsing on my personal PC and tablet.

Example usage:

cd YOUR_BUILD_DIRECTORY
CMAKE_SOURCE_DIRECTORY/bootstrap --sphinx-latexpdf
make package
# view PDF manual under X-Window
evince Utilities/Sphinx/latexpdf/latex/CMake.pdf

Topic-rename: sphinx-latexpdf

Edited by Brad King

Merge request reports