mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: move some hard-coded re-definitions to user hook for TOC
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -45,6 +45,11 @@ Incompatible changes
|
||||
block. As a result, they are highlighted as python3 by default.
|
||||
* The order of argument for ``HTMLTranslator``, ``HTML5Translator`` and
|
||||
``ManualPageTranslator`` are changed
|
||||
* LaTeX: hard-coded redefinitions of ``\l@section`` and ``\l@subsection``
|
||||
formerly done during loading of ``'manual'`` docclass get executed later, at
|
||||
time of ``\sphinxtableofcontents``. This means that custom user definitions
|
||||
from LaTeX preamble now get overwritten. Use ``\sphinxtableofcontentshook``
|
||||
to insert custom user definitions. See :ref:`latex-macros`.
|
||||
|
||||
Deprecated
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user