3

Here goes an attempt at recreating what you are asking: %!TEX TS-program = lualatex \documentclass{scrreprt} % \usepackage[ngerman]{babel}% Uncomment to see German version \usepackage{siunitx} \usepackage{tabu}% For our custom style using longtabu env. % \usepackage{showframe} \usepackage[super]{nth}% Superscript 1st, 2nd, ... % Write ...


2

You are using the \makenoidxglossaries so you need to use \printnoidxglossary This means that when you use \printglossary nothing really happens, thus you get only one glossary (the middle command). Here's your code fixed \documentclass{article} \usepackage[margin=2.5cm]{geometry} \usepackage[acronym]{glossaries} \input{acronymes.tex} \input{glossary.tex} ...


2

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 is why glossaries adds an empty \mbox to the document using \@gls@adjustmode when you call \glsadd in vertical mode. You should decide to which paragraph every \...


2

If I understand you correctly, you want to automatically unset the glossary entry when using \acrshort. This can be achieved by adding \makeatletter \pretocmd\@acrshort{\glsunset{#2}}{}{} \makeatother to your preamble.


1

The commands are fragile so need \protect \documentclass[a4paper, 10pt]{scrbook} \usepackage{ amsmath, graphicx, glossaries, % <— changing the order does not help } \newglossaryentry{naturals}{ sort={N}, name={\ensuremath{N}}, description={The set of naturals, $\{0,1,2,\ldots\}$.} } \newglossaryentry{meinzeichen}{ sort={Symb}...


1

I would just define a glossary style that actually counts the number of entries in the glossary: \documentclass{article} \usepackage[nomain,acronym]{glossaries} \makeglossaries \makeatletter \newcounter{acronyms} \newglossarystyle{countentries}{% \setcounter{acronyms}{0} \renewenvironment{theglossary}{}{}% \let\glossaryheader\@empty \...


1

As mentioned by Bernard, one can add the glossaries in a seperate file and include them via \input, either by using the relative or absolute path to the file. \documentclass[paper=a4,12pt,openright]{report} \usepackage[utf8]{inputenc} %... %relative path from within the workspace folder %\input{<path/to/file.tex>} \input{mysubfolder\myglossaries.tex} ...


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