\RequirePackage[l2tabu,orthodox]{nag} \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage[total={6.25in,10in},left=1.25in,top=0.5in,includehead,includefoot]{geometry} \usepackage[nonumberlist]{glossaries} % Useless option ? \makeglossaries \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} } \begin{document} \chapter{Chapter title} \section{Glossary} A word or two \glsaddall % useless command ? \printglossaries \end{document}
What am I doing wrong here? The glossary should be showing at the end of that document, but the two entries aren't after a 3 passes compilation.
I suspect that a special file should be located in the same folder as the LaTeX code itself, a bit like what is needed for an index. For reference, here's the code I'm using inside the "index_style.ist" file for my index (I would like a similar style for the glossary):
headings_flag 1 heading_prefix "{\\large\\sffamily\\bfseries " heading_suffix "}\\nopagebreak\n" % delim_0 " {\\color{gray}\\dotfill} " % delim_1 " {\\color{gray}\\dotfill} " % delim_2 " {\\color{gray}\\dotfill} "