Bug Tracker RSS feed

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

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=24