MakeIndex, Nomenclature, Glossaries and AcronymsNomenclature

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
mes38
Posts: 5
Joined: Wed Jun 22, 2011 7:00 pm

Nomenclature

Post by mes38 »

I'm using TexWorks 0.3 and having big problems with the nomencl package - It creates the nlo file without a problem, but just won't create the nls file, resulting in a blank page.

Any ideas?

Mark

even the sample code doesn't work!:

Code: Select all

\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}
Last edited by mes38 on Thu Jun 23, 2011 6:54 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Nomenclature

Post by localghost »

You have to run MakeIndex on the *.nlo file. There are several possible approaches for that.
  • Run it on the command line. You will have to do this whenever there are modifications to your nomenclature.
  • Try the build profile »LaTeXmk« from the TeXworks drop down menu. Probably it does all the necessary steps automatically.
  • Create an entry »Nomenclature« for a TeXworks build profile with parameters for MakeIndex as described in Section 2.1 of the nomencl manual.
And by the way, the forum software offers a »Code« environment to tag code as such. You can find it in the button list right above the input window while composing a post. Would be very kind if you use it. It just keeps a post clear and legible.


Best regards and welcome to the board
Thorsten
mes38
Posts: 5
Joined: Wed Jun 22, 2011 7:00 pm

Re: Nomenclature

Post by mes38 »

Thank you so much for your help - I'm still trying to find my way round LaTex and struggle with things like this!

I managed with the third option in the end.

Cheers,

Mark
Post Reply