mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Revert "new `'packages' key to latex_elements`"
This reverts commit 9972d729ab.
This commit is contained in:
+1
-6
@@ -1720,13 +1720,8 @@ These options influence LaTeX output. See further :doc:`latex`.
|
||||
the "Bjarne" style uses numbers spelled out in English). Other
|
||||
"fncychap" styles you can try are "Lenny", "Glenn", "Conny", "Rejne" and
|
||||
"Bjornstrup". You can also set this to ``''`` to disable fncychap.
|
||||
``'packages'``
|
||||
Extra user specified ``\\usepackage{<foo>}`` commands, default empty,
|
||||
executed *after* the loading of :file:`sphinx.sty` and *before* the
|
||||
loading of "hyperref".
|
||||
``'preamble'``
|
||||
Additional preamble content, default empty. Executed *after*
|
||||
the loading of "hyperref" package. See :doc:`latex`.
|
||||
Additional preamble content, default empty. See :doc:`latex`.
|
||||
``'postamble'``
|
||||
Additional postamble content (before the indices), default empty.
|
||||
``'figure_align'``
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
\usepackage{multirow}
|
||||
\usepackage{eqparbox}
|
||||
<%= usepackages %>
|
||||
<%= packages %>
|
||||
<%= hyperref %>
|
||||
<%= contentsname %>
|
||||
<%= numfig_format %>
|
||||
|
||||
@@ -278,7 +278,6 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
'fontpkg': '\\usepackage{times}',
|
||||
'fncychap': '\\usepackage[Bjarne]{fncychap}',
|
||||
'longtable': '\\usepackage{longtable}',
|
||||
'packages': '',
|
||||
'hyperref': ('% Include hyperref last.\n'
|
||||
'\\usepackage[colorlinks,breaklinks,%\n'
|
||||
' '
|
||||
|
||||
Reference in New Issue
Block a user