I'm trying to create a glossary using the glossaries
package at the end of my document, however, even I copying examples, the document is not showing the glossary. What is wrong with my code, or what I'm doing wrong?
\documentclass{article}
\usepackage{glossaries}
\newglossaryentry{latex}%
{%
name=latex,
description={Is a mark up language specially suited
for scientific documents}
}
\newglossaryentry{maths}%
{%
name=mathematics,
description={Mathematics is what mathematicians do}
}
\makeglossaries
\begin{document}
\gls{latex} and \gls{maths}\par
%
\printglossaries
\end{document}
EXTRA QUESTION: What is the difference between \makeglossary
and \makeglossaries
, and \printglossary
and \printglossaries
makeglossaries
program? No, I have not run this program. Is it avaliable for download somwhere? How can I run it?\makeglossary
is just a synonym for\makeglossaries
. (The obsoleteglossary
package whichglossaries
replaced used\makeglossary
, so the name was allowed to make it easier for users transferring fromglossary
toglossaries
. The new name\makeglossaries
emphasizes thatglossaries
can have multiple glossaries.)\makeglossary
isn't documented in theglossaries
manual so it's best to stick with\makeglossaries
as modifications to\makeglossaries
may not be reflected in\makeglossary
.makeglossaries
program is provided with theglossaries
package. You need to add it to your build process.makeglossaries-lite
that doesn't require Perl. It doesn't have all the features ofmakeglossaries
but it's fine for documents that just usemakeindex
. What are you using to build your document? If it's TeXWorks you could try the question How to makeglossaries with TeXworks?\printglossary
and\printglossaries
is that\printglossary
only displays a single glossary (and has an optional argument to change the defaults) whereas\printglossaries
does\printglossary
for each defined glossary.