[Tex/LaTex] Generating Glossaries again without deleting the old ones

glossaries

I am generating my glossaries (perl installed) with

makeglossaries

and they are all created and shown in my pdf when I create them the first time.

Over the time my glossaries change and new ones are added etc.
But when I call make glossaries again they aren't updated. Regardless on how many times a call the command.

The only way to "refresh" them is to delete all temporary files from the tex-compilation and compile everything again.

But that can't be right, right? 🙂

Hopefully somebody can help me.

Grettings Lukas


Edit: Thanks so far!

I do all the recompiling before and after "makeglossaries".

In addition I experience the following:

  • Only existing glossaries aren't changing after e.g. I fixed a typo in
    the description or want to have another \first occurence.
  • Completely new entries are added after the whole recompiling/makeglossaries
    process and shown as they should.

Her is my MWE including (hopefully) all relevant information:

\documentclass{scrreprt}
%[...] other packages, commands, etc.
\usepackage{hyperref}
\usepackage[toc, nonumberlist, acronym, translate=babel]{glossaries} 
\begin{document}
\listoftables
\listoffigures
\tableofcontents
\printglossary[type=\acronymtype]
%[...] includes, etc. ...
\input{Inhalt/glossaries}
\printglossary[type=main] 
\glsresetall
\end{document}

Best Answer

I'm new here, but as you only made a comments and no answer I have to answer my own question. It seems that is allowed :)

Nicola Talbot was right:

Move \input{Inhalt/glossaries} to the preamble, remove the .glsdefs file (if it exists) and retry

Now if I change a glossary I don't even have to run "makeglossaries" again to make the change effective.

Thanks and Regards, Lukas

Related Question