# Glossary acronym without references

Seems silly that I have to ask for such a simple thing but this glossary library is driving me up the wall. What I want to do is to simply display all the acronyms that I have defined after my table of content without having any references to them in my text. So something like this:

...
\usepackage[nonumberlist, acronym]{glossaries}
\newacronym{Foobar}{Foobar}{foo bar}
...
\begin{document}
\tableofcontents
\printglossaries
...
\end{document}


But no matter how I twist and turn the order it just doesn't display correctly. The few times I got it to display it somehow had ghost entries from previous test.

• Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Jun 5 '15 at 14:35
• For example, I don't see \makeglossaries in your preamble and ... as ellipsis in the preamble is just bad ;-) – user31729 Jun 5 '15 at 14:36

The \makeglossaries is necessary as well as \glsaddall to show all defined acronyms.

Compilation can be done with several methods, but the easiest way is (assuming the source file is called foo.tex)

pdflatex foo

makeglossaries foo

\documentclass{article}
\usepackage[nonumberlist, acronym]{glossaries}
\newacronym{Foobar}{Foobar}{foo bar}
\newacronym{UNESCO}{Unesco}{United Nations Educational, Scientific and Cultural Organization}
\makeglossaries
\begin{document}