diff options
-rw-r--r-- | sphinx/writers/latex.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index dd85a806..09818493 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -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('}}') |