mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2360: numref in LaTeX output is broken
This commit is contained in:
parent
007736c9ae
commit
305e336652
1
CHANGES
1
CHANGES
@ -28,6 +28,7 @@ Bugs fixed
|
||||
* #2329: Refresh environment forcely if source directory has changed.
|
||||
* #2331: Fix code-blocks are filled by block in dvi; remove ``xcdraw`` option from xcolor package
|
||||
* Fix the confval type checker emits warnings if unicode is given to confvals which expects string value
|
||||
* #2360: Fix numref in LaTeX output is broken
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
@ -1504,8 +1504,8 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
return
|
||||
else:
|
||||
domain = self.builder.env.domains['std']
|
||||
figtype = domain.get_figtype(node)
|
||||
if figtype and domain.get_numfig_title(node):
|
||||
figtype = domain.get_figtype(next)
|
||||
if figtype and domain.get_numfig_title(next):
|
||||
ids = set()
|
||||
# labels for figures go in the figure body, not before
|
||||
if node.get('refid'):
|
||||
|
Loading…
Reference in New Issue
Block a user