TeX - LaTeX Asked by J.O.P.P. on April 23, 2021
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!
Thanks to @moewe who pointed me in the right direction I solved the problem.
The problem is that glossaries have to be called for. This can be done as descriped in the question. Just as this question and @moewe suggested it is probably more easy to add a simple specification in the usepackage{}
command.
Thus, replace usepackage{glossaries}
with usepackage[automake]{glossaries}
to solve the problem.
Answered by J.O.P.P. on April 23, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP