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 | 197🔗 |
---|---|
Date: | 2022-02-09 10:31:49 |
Status | Closed (Not a Bug) |
Category | glossaries-extra |
Version | 1.48 |
Summary | Aliases added to the glossary without the main entry and any reference |
Sign in to subscribe to notifications about this report.
Description
This source text without any glossary reference puts aliases into the document glossary:\newglossaryentry{main}{ \newglossaryentry{alias}{ \begin{document} \printglossaries \end{document}
\documentclass[]{article}
\usepackage{glossaries-extra}
\makeglossaries
name={main},
description={Main entry}}
name={Alias},
description={\nopostdesc},
alias={main}}
MWE
Download (294B)
\documentclass[]{article} \usepackage{glossaries-extra} \makeglossaries \newglossaryentry{main}{ name={main}, description={Main entry}} \newglossaryentry{alias}{ name={Alias}, description={\nopostdesc}, alias={main}} \begin{document} \printglossaries \end{document}
Evaluation
This is a feature of all the cross-referencing keys (see
, seealso
and alias
). See Why does the see key automatically index the entry?
Use autoseeindex=false
if you want to prevent the automatic indexing (but you will then have to manually apply the cross-reference indexing with \glssee
):
\documentclass[]{article} \usepackage[autoseeindex=false]{glossaries-extra} \makeglossaries \newglossaryentry{main}{ name={main}, description={Main entry}} \newglossaryentry{alias}{ name={Alias}, description={\nopostdesc}, alias={main}} \begin{document} \gls{main}\glssee{alias}{main} \printglossaries \end{document}
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=197