I am trying to use the nomencl
package. I am following an excellent
looking guide available here:
http://www.cs.brown.edu/system/software/latex/doc/nomencl.pdf
However, I can't for the life of me get even the most basic example
working despite the document building with no errors. This is the
basic example:
\documentclass{article}
\usepackage{nomencl}
\makenomenclature
\begin{document}
\section*{Main equations}
\begin{equation}
a=\frac{N}{A}
\end{equation}%
\nomenclature{$a$}{The number of angels per unit area}%
\nomenclature{$N$}{The number of angels per needle point}%
\nomenclature{$A$}{The area of the needle point}%
The equation $\sigma = m a$%
\nomenclature{$\sigma$}{The total mass of angels per unit area}%
\nomenclature{$m$}{The mass of one angel}
follows easily.
\printnomenclature
\end{document}
When I build this document (using Texmaker and MikTex 2.9), I get
a page with the equations and text. There are no errors or warnings
shown and it even creates an ".nlo" file with the correct information
inside. But no nomenclature.
Can anyone think of anything I have missed or should try?
Best Answer
the original code you have posted seems to work also, if you run
pdflatex
, thenmakeindex
, thenpdflatex
again. I have copied and pasted your example into a file namedn.tex
. Then, I didand it seems to work.
You may also want to check a more up-to-date version of the documentation (the one from CTAN): package page on CTAN; documentation, linked from CTAN