LaTeX: move some hard-coded re-definitions to user hook for TOC

This commit is contained in:
jfbu
2018-12-22 17:33:03 +01:00
parent da90d63e32
commit 8e14532b08
4 changed files with 27 additions and 9 deletions

View File

@@ -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
----------