10
votes
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 ...
9
votes
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:
\...
8
votes
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:
\...
8
votes
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
}%
{%
...
6
votes
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]{...
5
votes
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 ...
4
votes
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 ...
4
votes
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 ...
4
votes
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 ...
4
votes
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=...
4
votes
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}{...
4
votes
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 ...
4
votes
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 ...
3
votes
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 ...
3
votes
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 ...
3
votes
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 ...
3
votes
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{...
3
votes
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-...
3
votes
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 ...
3
votes
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 ...
3
votes
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 ...
3
votes
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}{...
3
votes
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 ...
3
votes
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=...
3
votes
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 ...
2
votes
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. ...
2
votes
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.
2
votes
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 ...
2
votes
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*{\...
2
votes
Accepted
flush glossaries super style to left
The super style uses a (super)tabular with {lp{\glsdescwidth}} as tabular preamble. This gives a default margin of a \tabcolsep. You can suppress the margin with @{}:
\documentclass[]{article}
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
glossaries-extra × 209glossaries × 129
acronyms × 39
bib2gls × 20
spacing × 13
hyperref × 11
symbols × 11
table-of-contents × 6
pdftex × 6
luatex × 5
indexing × 5
capitalization × 5
xindy × 5
math-mode × 4
cross-referencing × 4
babel × 4
incompatibility × 4
tables × 3
beamer × 3
macros × 3
xetex × 3
expansion × 3
languages × 3
polyglossia × 3
horizontal-alignment × 2