Bug Tracker 
ID | 280🔗 |
---|---|
Date: | 2024-08-23 07:28:00 |
Last update: | 2025-03-12 17:22:44 |
Status | Closed (Not a Bug) |
Category | glossaries-extra |
Version | 1.53 |
Summary | toc = false results in pdf bookmark |
Sign in to subscribe to notifications about this report.
Description
I'm using \RequirePackage[automake, toc = false]{glossaries-extra} as part of a beamer document.The glossary is printed using \printglossary[style = listdotted, nogroupskip].
While the printed toc (\tableofcontents) indeed does not contain any entry from the glossary, the PDF bookmark toc overview gets another entry on section level named "Glossary". If I use the optional argument title = {}, the additional PDF bookmark toc entry still persists (just without a name tag).
From my point of view, the toc = false option should prevent another PDF toc bookmark entry for the glossary.
A quick search via Google and searching for some relevant keywords within the documation didn't helped to solve the issue which is why I dropping a bug report.
MWE
Download (1.59K)
\documentclass[aspectratio=169, usepdftitle=false, handout]{beamer} \RequirePackage[automake, toc = false]{glossaries-extra} \RequirePackage{hyperref} \usetheme{Madrid} \usecolortheme{dove} \usefonttheme{professionalfonts} \makeglossaries \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Cover slide %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \title{Test Title} \date{} \begin{frame}[plain] \titlepage \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Outline / table of content %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}{Outline} \tableofcontents \end{frame} \section{Test section} \begin{frame}{Test frame} \begin{itemize} \item Test item \end{itemize} \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% English-German dictionary (via glossaries-extra package) %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newglossaryentry{load}{ name={load}, description={Last / Belastung} } \newglossaryentry{copper}{ name={copper}, description={Kupfer} } \newglossaryentry{nameplate}{ name={nameplate}, description={Typenschild} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Build glossary %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[allowframebreaks]{English-German dictionary} \glsaddallunused \small \printglossary[style = listdotted, nogroupskip] \end{frame} \end{document}
Evaluation
It's not the glossaries-extra (or glossaries) package that's adding the bookmark. The toc
option simply prevents the glossary section from being added to the table of contents. The actual section heading is created with \section*
and it's that command that's adding the section header to the PDF bookmarks. You can test this by adding another frame:
\begin{frame}{Sample} \section*{Sample Section} \end{frame}This will also add the unnumbered section to the bookmarks. This isn't usual behaviour. I'm guessing it may be the beamer class. You'll have to see if there's a way to switch this behaviour off in beamer.
I'll have to close this as not a bug as the toc
option is behaving as expected. It's just the particular class file used that's causing the effect.
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=280