Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

# Tag Info

### Glossaries links with non-latin labels in LuaLaTeX refer to wrong place

Not a solution but an explanation. The problem is hyperref. hyperref uses with lualatex \pdf@escapestring to convert the name to something that can be safely used as a destination in the pdf. But the ...
• 292k
Accepted

### Glossaries - expand acronyms for first-time use within each chapter

The simplest method is to insert \glsresetall at the start of each chapter. Since etoolbox is automatically loaded (by the base glossaries package), you can use etoolbox's \preto command: \...
• 39.4k
Accepted

### Glossaries links with non-latin labels in LuaLaTeX refer to wrong place

As Ulrike Fischer described the problem is that non-ASCII characters are dropped by \pdf@escapestring. To avoid this, you can change \pdf@escapestring to encode Unicode characters in UTF-8: \...
• 30.2k
Accepted

### How to use glossaries together with ProvidesPackage

Don't name your package "doc". doc.sty exists already (in latex/base) and glossaries contains special code when it detect that it has been used: \@ifpackageloaded{doc}% {% \@gls@docloadedtrue }% {% ...
• 292k
Accepted

### glossaries: hyperlink only at the first occurrence in every chapter

With glossaries-extra v1.26 (2018-01-05)¹ you can do: \documentclass{article} \usepackage{hyperref} \usepackage[acronym]{glossaries-extra} \makeglossaries \GlsXtrEnableLinkCounting[section]{...
• 39.4k
Accepted

### How to effectively use List of Symbols for a thesis using .bib files?

I will demonstrate using some of the example .bib files provided with bib2gls. mathgreek.bib defines some sample symbols that are all mathematical Greek characters. The LaTeX kernel doesn't provide ...
• 39.4k
Accepted

### glossaries-extra - Problem creating new style for acronyms

I recommend a different approach that uses a custom entry type and fields. This makes it more flexible so you can use the same .bib file across different documents, and with a different set of aliases ...
• 39.4k

### glossaries: acronyms: How to display only the first appearance of an acronym among the Abbreviations if only its short form is used in the text?

The simplest method is to use the short style for acronyms that shouldn't expand on first use and the long-short style for the ones that should. Since the abbreviation category has long-short as the ...
• 39.4k

### glossaries automake not working lualatex

The problem is that with luatex (and the shellesc package) \write18 is actually an \immediate\write18 (see the documentation of shellesc). And this means that the makeindex command is executed before ...
• 292k
Accepted

### Manage multiple glossaries in one bib file

Most of the resource options aren't cumulative. That is, if used multiple times the last option usually overrides the previous option of the same name. This means that: entry-type-aliases={symbol=...
• 39.4k
Accepted

### Is it possible to show a custom text for the long part of an abbreviation?

There are two commands that allow you to display custom text encapsulated by the abbreviation formatting commands for a particular category: \glsuseabbrvfont{text}{category} \glsuselongfont{text}{...
• 39.4k
Accepted

### What triggers latexmk to invoke makeglossaries?

The suggestion you mention for the .latexmkrc file is out-of-date. See the file glossary_latexmkrc in the example_rcfiles for the current recommendation. From what's in that file, the code for you ...
• 9,669
Accepted

### How to Capitalize Symbol in Glossary Print only using a New Entry Field?

UPDATE (2) after follow-up question. There is now a new key-defined symbol name (symbolname) that will be used to print the glossary. You can use any other "symbol" you want, not just ...
• 24.6k
Accepted

### How to fix superscripts in glossaries with parameters

You essentially have this: \documentclass{article} \begin{document} \newcommand{\glsarg}{ij^T} $A_{\glsarg}$ \end{document} which puts ij^T as the subscript (that is, A_{ij^T}) where ^T is the ...
• 39.4k
Accepted

### How to get \glsadd to work with sort=use?

UPDATE: In the lates versions 1.24 and 4.35 of glossaries-extra and glossaries respectively, the bug is fixed and the patch I have presented in this answer is no longer needed. UPDATE: Since version ...
• 60.4k
Accepted

### glossaries-extra not displaying page numbers

\printunsrtglossary doesn't show the numbers unless you use it with bib2gls. (See glossaries-extra and bib2gls: An Introductory Guide.) If you want to use makeindex then you need to use \printglossary ...
• 39.4k
Accepted

### glossaries-extra – usage of \ifglsused with acronyms loaded from external file causes error

This bug is now fixed in version 1.33 of glossaries-extra (2018-07-26). A patch for older versions is to redefine \ifglsused as follows: \renewcommand*{\ifglsused}[3]{% \glsdoifexists{#1}{\ifbool{...
• 39.4k
Accepted

### Non-breaking space between long and short form of acronyms with glossaries/glossaries-extras

The command \acrfullformat is provided with the base glossaries acronym styles. The glossaries-extra extension package uses a different abbreviation mechanism, which is much more flexible. The long-...
• 39.4k
Accepted

### glossaries automake not working lualatex

You need to use automake=immediate in this situation. (New to glossaries version 4.22 2019-01-06.) This executes the system command at the start of \makeglossaries (before the glossary files are ...
• 39.4k
Accepted

### Suppress text (space) output when using \glsadd{}

glossaries keeps track of on which pages the glossary entries are used. In order to this, the page on which this happens needs to be well defined, i.e. \glsadd has to be part of a line of text. This ...
• 12.5k
Accepted

### Defining an abbreviation style in glossaries that shows only long version first and short version afterwards

New abbreviation styles are defined with \newabbreviationstyle, as mentioned in the glossaries-extra manual (Section 3.5, page 112, unfortunately without many details). There are a few aspects to ...
• 29.6k
Accepted

### Hyperref and nested \glsxtrshort and \glsfmtlong

You can access the short description like this: \documentclass{article} \usepackage{hyperref} \usepackage{glossaries-extra} \newabbreviation{ara}{ARA}{a random abbreviation} \newabbreviation{aaca}{...
• 292k
Accepted

### Why do glossaries-extra package and bib2gls application give incorrect utf8 cyrillic characters?

On windows I had to inform java that utf8 is wanted by setting an environment variable JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8" After this setting bib2gls reports: Picked up ...
• 292k

### don´t show glossaries in table of content

glossaries-extra has the package option toc=true by default, which adds the glossaries to the table of contents. As the package documentation says: Use toc=false to switch this back off. So add toc=...
• 13.3k
Accepted

### Beyond plural forms using the glossaries package

The glossaries package has an excellent FAQ: My term has multiple plural forms, how can I deal with this? Use the plural key for the plural term you are most likely to use, and use one of the user ...
• 12.9k
Accepted

### is it possible to define acronyms which won´t be mentioned in glossary

You can do this by defining a new ignored glossary and assigning acronyms to this ignored glossary. The following is a MWE assuming that xindy is used to alphabetically sort the list of acronyms. ...
• 60.4k
Accepted

### glossaries-extra causes a "Package xkeyval Error: value `none' is not allowed." error

Your version of glossaries is too old. The sort=none option was introduced to glossaries v4.30 (2017-06-11), so you need to update if you want to use it.
• 39.4k
Accepted

### glossaries dual entries: prevent page from acronym list appearing in glossary number list

\glsadd doesn't recognise the noindex key. (The purpose of \glsadd is to index without generating any text, so noindex doesn't make sense in this context.) This means that any instance of \glsadd that ...
• 39.4k
Accepted

### Mixing abbreviations styles with glossaries-extra

I think there's a combination of problems here. The first may be a bug in the short-sc-desc style which can be fixed with: \renewabbreviationstyle{short-sc-desc} {% \renewcommand*{\...
• 39.4k