mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Makes the config value for latex doc classes more flexible.
This commit is contained in:
parent
04d22a53d5
commit
22d3976af2
@ -179,7 +179,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
|
||||
self.elements = self.default_elements.copy()
|
||||
self.elements.update({
|
||||
'wrapperclass': 'sphinx' + document.settings.docclass,
|
||||
'wrapperclass': document.settings.docclass,
|
||||
'papersize': papersize,
|
||||
'pointsize': builder.config.latex_font_size,
|
||||
# if empty, the title is set to the first section title
|
||||
|
Loading…
Reference in New Issue
Block a user