Glossaries and Acronyms with LaTeX using the glossaries package
Put the following (adapted from the supplied minimalgls.tex file) into a file called doc.tex
\documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage[acronym]{glossaries} % make a separate list of acronyms \makeglossaries \newglossaryentry{sample}{name={sample}, description={a sample entry}} \newacronym[\glsshortpluralkey=cas,\glslongpluralkey=contrived acronyms]{aca}{aca}{a contrived acronym} \begin{document} A \gls{sample} entry and \gls{aca}. Second use: \gls{aca}. Plurals: \glspl{sample}. Reset acronym\glsreset{aca}. First use: \glspl{aca}. Second use: \glspl{aca}. \printglossaries \end{document}
Then do
latex doc makeglossaries doc latex doc
The resulting file should have some text, a glossary and an acronym section. Note that the command lines required might be slightly different at your site - the example above works on CUED Unix Teaching System.
If you have problems, check the *.log and *.glg files for information. For details on troubleshooting, features and multiple glossaries, see the glossaries documentation.