mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
merge with stable
This commit is contained in:
commit
0889073f35
@ -1236,7 +1236,8 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
# don't add a pageref for glossary terms
|
||||
self.context.append('}}')
|
||||
else:
|
||||
if self.builder.config.latex_show_pagerefs:
|
||||
if self.builder.config.latex_show_pagerefs and not \
|
||||
self.in_production_list:
|
||||
self.context.append('}} (%s)' % self.hyperpageref(id))
|
||||
else:
|
||||
self.context.append('}}')
|
||||
|
Loading…
Reference in New Issue
Block a user