I've been trying for a while to make my glossaries in texmaker.
I've added a user command that is
latex %
makeglossaries %
latex %
My glossary entries look like this
\newglossaryentry{label}
{
name={name},
description={description}
}
I've included the glossaries package and called \makeglossaries
in my preamble and then called \printglossaries
before \end{document}
.
I keep getting errors saying name key required or end up with a page after my table of contents that has "description" written 4 times.
I've read up on the glossaries
package and read solutions on stack exchange however I'm relativevly new to all of this and can't make sense of any of it.
Could someone explain please?
MWE
\documentclass{report}
\usepackage{glossaries}
\makeglossaries
\begin{document}
\include{glossaryfile.tex}
\gls{term1} is what I want to display.
\printglossaries
\end{document}
then in the glossary file I have
\newglosssaryentry{term1}
{
name={term 1},
description={this is the first term}
}
\documentclass{...}
and ending with\end{document}
.glossaries-begin.pdf
instead ofglossaries-user.pdf
. The first one is completely sufficent for beginners\newglossaryentry
in the preamble and omit the\include
then?