Let LaTeX obey :confval:math_numfig for equation numbering

This commit is contained in:
jfbu
2017-12-21 12:23:20 +01:00
parent 24c9103a2c
commit 3bb61e9094
5 changed files with 56 additions and 6 deletions

View File

@@ -47,12 +47,16 @@ or use Python raw strings (``r"raw"``).
.. confval:: math_numfig
If ``True``, displayed math equations are numbered across pages in html and
related (epub, ...) output when :confval:`numfig` is enabled.
related (epub, ...) output (also with latex) when :confval:`numfig` is enabled.
:confval:`numfig_secnum_depth` is respected. The :rst:role:`eq` role must
be used to reference equation numbers, not the :rst:role:`numref` role.
Default is ``True``.
.. versionadded:: 1.7
If ``False``, latex behaves as in former releases i.e. for ``'manual'``
docclass (and ``'howto'`` for Japanese) it resets by default the
equation numbers per each toplevel section, and for ``'howto'`` it uses
continuous numbering across entire PDF.
:mod:`.mathbase` defines these new markup elements: