# List of glossaries not displaying

I am using the following code for the list of glossaries, but the list of glossaries do not generate (the code compiles well). Can anybody suggest what may be the problem?

\documentclass{article}
\usepackage[acronym]{glossaries}
\makeglossaries
\begin{document}
\newglossaryentry{utc}{Coordinated Universal Time}
\newglossaryentry{est}{Eastern Standard Time}

The code is for testing the glossaries list.

\printglossaries
\end{document}

-
A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). – Christian Hupfer Jul 20 '14 at 13:22
You seem to have no commands like \glsadd{utc} in your document. Defining a glossary entry via \newglossaryentry does not provide a glossary at all. – Christian Hupfer Jul 20 '14 at 13:27
I think you may be wanting \newacronym rather than \newglossaryentry, given you have used the acronym option. (In which case, you need an extra argument \newacronym{utc}{utc}{Coordinated Universal Time}.) Also, I recommend you move the definitions to the preamble as in @ChristianHupfer's answer (see Drawbacks With Defining Entries in the Document Environment) – Nicola Talbot Jul 20 '14 at 13:41
@NicolaTalbot: I already wondered about the entries in the document section, and about the acronym option etc, but I did not want to change too much on the MWE – Christian Hupfer Jul 20 '14 at 13:45

There are some keys missing in the definition of the glossary entries, amongst other issues.

\documentclass{article}
\usepackage[acronym]{glossaries}

\newglossaryentry{utc}{name=utc,description={Coordinated Universal Time}}
\newglossaryentry{est}{name=est,description={Eastern Standard Time}}

\makeglossaries
\begin{document}

The code is for testing the glossaries list.

%Adding the acronyms to the glossary without displaying them here:

\printglossaries
\end{document}


Compile, for example, with this 'pipeline'

pdflatex foo

makeindex -s foo.ist -o foo.gls foo.glo

pdflatex foo

Edit See the comment by user cmhughes for other ways to generate the document with the glossary.

For further usage, I refer to the documentation of the package, see for example http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossariesbegin.pdf

-
+1 note that you can simply use glsaddall instead of manually using \gls for all of the different entries; also, there is the makeglossaries script which is (afaik) a shortcut for the makeindex command you gave. there's also arara, which can help :) – cmhughes Jul 20 '14 at 13:41
@cmhughes: I think I heard of \glsaddall, but I never use it, but thanks. As well for \makeglossaries etc. I am just accustomed to call it by hand or in a makefile – Christian Hupfer Jul 20 '14 at 13:43
I show following error for the same code. "Input index file acronyms.idx not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]". CAn you please suggest what is wrong? – mustamus Jul 21 '14 at 16:41
@mustamus: See my (already yesterday written) pipeline of compiling this document. It is also described in the documentation – Christian Hupfer Jul 21 '14 at 17:00