Added the `latex_docclass` config value and made the "twoside"

documentclass option overridable by "oneside".
This commit is contained in:
Georg Brandl
2009-06-04 17:50:37 +02:00
parent 55bbb72bd0
commit ebcf18d9c3
7 changed files with 56 additions and 14 deletions

View File

@@ -74,7 +74,7 @@ latex_logo = '_static/sphinx.png'
# Additional stuff for the LaTeX preamble.
latex_elements = {
'fontpkg': '\\usepackage{palatino}'
'fontpkg': '\\usepackage{palatino}',
}
# Put TODOs into the output.

View File

@@ -660,6 +660,14 @@ These options influence LaTeX output.
``'shorthandoff'``
``'printmodindex'``
.. confval:: latex_docclass
A dictionary mapping ``'howto'`` and ``'manual'`` to names of real document
classes that will be used as the base for the two Sphinx classes. Default
is to use ``'article'`` for ``'howto'`` and ``'report'`` for ``'manual'``.
.. versionadded:: 1.0
.. confval:: latex_additional_files
A list of file names, relative to the configuration directory, to copy to the