Skip to content

Commit 8447d5c

Browse files
committed
Duplicated LaTeX preamble into latex-elements.
1 parent 1ebeab8 commit 8447d5c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/source/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,11 @@
298298

299299
# Additional stuff for the LaTeX preamble.
300300
latex_preamble = preamble
301+
# In Sphinx 1.5, this now appears as latex_elements, so we pack the
302+
# preamble that way, too.
303+
latex_elements = {
304+
'preamble': preamble
305+
}
301306

302307
# Documents to append as an appendix to all manuals.
303308
#latex_appendices = []

0 commit comments

Comments
 (0)