I am new to LaTeX. I am using Texmaker 5.0.3 on MacOS High Sierra.
I have tried several things, they all worked (I even successfully created a list of references). But now I have troubles when I to try to add a glossary to my document.
This is main.tex:
\documentclass{article}
\usepackage{glossaries}
\makeglossaries
\loadglsentries{glossentries.tex}
\begin{document}
This is some text talking about \gls{laser} and \gls{led}. Did you know, that \glspl{led} can be used to emmit \gls{laser}-light?
Another topic is how to use a \gls{computer}.
\printglossaries %is not printing any output
\end{document}
And here is glossentries.tex:
\newglossaryentry{computer}{name=computer,description={a programmable machine}}
\newacronym{laser}{LASER}{Light Amplification by Stimulated Emission of Radiation}
\newacronym[plural=LEDs, longplural={light-emitting diodes}]{led}{LED}{light-emitting diode}
I think I have done everything right, but when I compile it (click on »Quick Build« in Texmaker) I only get this:
This is some text talking about Light Amplification by Stimulated Emission of Radiation (LASER) and light-emitting diode (LED). Did you know, that LEDs can be used to emmit LASER-light?
Another topic is how to use a computer.
But I expect also to get a list of the used terms with their explanation.
I found a LaTeX-wiki about glossaries. Quote from this wiki:
Building your document and its glossary requires three steps:
- build your LaTeX document — this will also generate the files needed by makeglossaries
- invoke makeglossaries — a script which selects the correct character encodings and language settings and which will also run xindy or makeindex if these are specified in your document file
- build your LaTeX document again — to produce a document with glossary entries
Thus:
latex doc makeglossaries doc latex doc
But how do I call makeglossaries from Texmaker? The button labeled »Quick Build« can be turned into »BitTeX«, »MakeIndex« and some other commands, but »makeglossaries« is not among the options. I think it should be there, but it isn't. And I can't find any other command in Texmaker to run makeglossaries.
I also tried the same on Windows 10. I have the same problem there.
