Bug Tracker
I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)
ID | 24🔗 |
---|---|
Date: | 2013-04-05 13:13:53 |
Status | Closed (Not a Bug) |
Category | glossaries |
Version | 3.04 |
Summary | problem with glossaries and pdf bookmark |
OS | Linux opensuse 12.3 |
Sign in to subscribe to notifications about this report.
Description
when I use glspl and glspl* in chapter or section title, the pdf bookmark was wrong, The glossaries package put label of glspl and gls in bookmark. please see the bookmark of result pdf file which produce by minimal working example.Thank you.
MWE
Download (401B)
\documentclass{report} \usepackage{hyperref} \usepackage[sanitize={name=false,description=false,sort=false,symbol=false},nomain,acronym]{glossaries} \makeglossaries \newglossaryentry{Optimizationno} {name={Optimization}, plural={RRRRRRR}, description={} } \begin{document} \tableofcontents \newpage \chapter{\glspl{Optimizationno}} \chapter{\glspl*{Optimizationno}} \printglossary \end{document}
Evaluation
The hyperref bookmarks code can't cope with complicated macros, such as \gls
. Instead you need to use commands such as \glsentrytext
or \glsentryplural
.
\documentclass{report} \usepackage{hyperref} \usepackage[sanitize={name=false,description=false,sort=false,symbol=false},nomain,acronym]{glossaries} \makeglossaries \newglossaryentry{Optimizationno} {name={Optimization}, plural={RRRRRRR}, description={} } \begin{document} \tableofcontents \newpage \chapter[\glsentryplural{Optimizationno}]{\glspl{Optimizationno}} \chapter[\glsentryplural{Optimizationno}]{\glspl*{Optimizationno}} \printglossary \end{document}This is a feature of bookmarks not a bug in glossaries.
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=24