Bug Tracker RSS feed

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

Return to Search Results

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. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

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

Return to Search Results