I am currently finalizing my thesis and I am know trying to create a separate file in which I store all the glossary entries. I found exactly the same question here but it does not seem to work. I am new to StackExchange and therefore do not feature enough reputation to comment. So thats why I am asking again.
\documentclass{article}
\usepackage{glossaries}
\makeglossaries
\loadglsentries{begrippen.tex}
\begin{document}
% First part of thesis
\section{example}
Here is an example provided by another stackexchange question,
\gls{foobar} is a strange animal
\gls{foo} is another strange animal
% Bibliography
\newpage
\bibliographystyle{apacite}
\bibliography{refference}
% Glossary
\newpage
\glsaddall
\printglossaries
\end{document}
And the other file with the entries: (saved as "begrippen.tex)
\newglossaryentry{foobar}{%
name={Foobar},
description={A strange animal, not to be confused with \gls{foo}}
}
\newglossaryentry{foo}{%
name={Foo},
description={A strange animal, not to be confused with \gls{foobar}}
}
When I run the thesis The gls{foo} and gls{foobar} are both shown in the text, but there is no sign of the printed glossary.
Does anyone have any suggetions?
Thanks!
makeglossarieson your document? You probably need a compilation cycle LaTeX,makeglossaries, BibTeX, LaTeX, LaTeX for the full document (here "LaTeX" can be your favourite flavour of LaTeX: pdfLaTeX, LuaLaTeX, XeLaTeX). If you are using an editor, you hopefully have a button somewhere formakeglossaries. – moewe May 24 '20 at 12:13makeglossaries? – J.O.P.P. May 24 '20 at 12:19\usepackage[automake]{glossaries}you don't need to runmakeglossariesyourself.glossariesdoes that for you. Of course that may result in an excessive number ofmakeglossariesruns. So if you are worried about performance, better callmakeglossariesmanually only when required.) – moewe May 24 '20 at 12:20