mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added the `latex_docclass` config value and made the "twoside"
documentclass option overridable by "oneside".
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user