Sphinx extension that allows LaTeX/PDF documents to be declared and parameterized within reStructuredText source files
A Sphinx extension that allows LaTeX/PDF documents to be declared and parameterized within reStructuredText source files.
Sphinx offers a built-in LaTeX builder which can produce pretty PDF documents. It requires PDF documents to be declared in the conf.py file, see the latex_documents setting. That works for simple projects, but is not flexible enough for projects which create multiple PDFs with varying templates and parameterization.
This extension provides a new LaTeX builder which determines which PDFs to generate from declarations in line in the reStructuredText source. Those declarations, in the form of reST directives, allow various parameters to be set in the LaTeX output, such as which document class to use, custom parameters, etc.
More information is available here: