# Tag Info

10

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 current implementation of \pdf@escapestring handles only ascii, everything else is simply dropped. And this means that glossaries creates for the two entries ...

8

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: \documentclass{article} \usepackage{polyglossia} \setmainfont{Liberation Serif} \usepackage{hyperref} \usepackage[nonumberlist]{glossaries-extra} \newglossaryentry{...

8

7

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: \documentclass{report} \usepackage{glossaries-extra} \preto\chapter{\glsresetall} \setabbreviationstyle[acronym]{long-short} \newacronym{tla}{TLA}{three letter acronym} \...

6

5

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 commands for Greek characters that look the same as Latin character. This stems back to the days of limited resources and, for example, omicron could simply be ...

4

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 you can get different results according to particular document requirements. For comparison, I've also added a Brazilian abbreviation: @acronym{ABNT, short =...

3

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 1.13 of glossaries-extra leads to the desired output shown in the image in this answer, the latest version 1.23 leads to potato and cucumber being written in ...

3


3

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-short style uses \glsxtrfullsep{label} as the separator between the long form and the parenthetical short form. This is simply defined as: \newcommand*{\...

3

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=symbols}, entry-type-aliases={notation=notation}, is equivalent to just: entry-type-aliases={notation=notation}, You need to have all the aliases in ...

2

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. The resulting list of acronyms of this MWE only contins 'A', while 'H' is not listed. \documentclass{scrreprt} \usepackage[xindy,acronyms,shortcuts]{glossaries} ...

2

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

\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 ends up in the glossary (through the short form appearing in the entry's name field) won't be affected by \GlsXtrSetDefaultGlsOpts{noindex}. In this case a ...

2

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} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[ automake, acronym, nomain, nopostdot=true, nonumberlist, ]{glossaries-...

2

I don't think it's a good idea to index every appearance of an object. Anyway, the problem is that an ordinary atom is inserted in an inappropriate spot, which you can cure with \! \documentclass{article} \usepackage{mathtools}%%% loads amsmath internally \mathtoolsset{mathic=true} %%% See https://tex.stackexchange.com/a/3496/ \usepackage[hidelinks]{...

2

The error persists in glossaries-extra v1.34 (MiKTeX + TeXstudio on Windows 10). Simplified MWE: \documentclass{article} %\usepackage[automake=true]{glossaries} \usepackage[automake=true]{glossaries-extra} \makeglossaries \newglossaryentry{a}{ name={name}, description={desc} } \begin{document} % \glsdisp{a}{disp} \glslink{a}{link} \...

2


2

Just assign it a different category attribute (that doesn't have the dualindex attribute set). For example: \documentclass{memoir} \usepackage[xindy,abbreviations,nomain,nonumberlist]{glossaries-extra} \makeglossaries \makeindex \glssetcategoryattribute{abbreviation}{dualindex}{true} \newabbreviation{html}{html}{hypertext markup language} \...

2

\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 instead. However, you've actually used the xindy package option, which means the associated files need to be processed using xindy instead of makeindex. With ...

2

2

You can set the lines inside of the definition of {theglossary}: \renewenvironment{theglossary}% {\begin{supertabular} {@{}p{\glsnamewidth}p{\glsunitwidth}p{\glsdescwidth}@{}}\toprule}% {\bottomrule\end{supertabular}}% With \\[-\baselineskip] you experience normal LaTeX table behaviour: A negative argument is effictively ignored here because the ...

2

You need at least glossaries-extra version 1.36 and bib2gls version 1.7. File entries.bib contains: @entry{sample, name={sample}, description={an example} } or (if you don't want a description) just: @index{sample} File test-supp1.tex: \documentclass{report} \usepackage[colorlinks]{hyperref} \usepackage[record % requires bib2gls ]{glossaries-extra} ...

2

You are using the automake package option, which means that the glossaries package will try to run xindy using TeX's shell escape. This will fail in restricted mode, since xindy isn't on the restricted list, but your latexmk code indicates that you are running LuaLaTeX with --shell-escape, which switches to the unrestricted mode and allows xindy to be run ...

2

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 the acn-file has been written and closed. This is imho a bug in glossaries and should be reported. You can patch the command like this: \documentclass{article}...

2


2

\overset is not robust so it fails when writing to file. Try ...X\protect\overset... BTW I'd probably use amsmath and \xrightarrow{1{:}1} instead of the \overset construction

2

The empty pages are inserted because the list of abbreviations and the list of symbols are each treated like a chapter, which are only supposed to start on left hand pages. To avoid this problem, one can temporally change the definition of \cleardoublepage: % !TeX program = txs:///arara % arara: lualatex: { shell: true } % arara: nomencl % arara: ...

Only top voted, non community-wiki answers of a minimum length are eligible