# Using package nomencl

I have used the package nomencl. In my code I have incorporated the \nomenclature as well. But when I compile, it is not showing me any results. My code is :

\documentclass[pdftex,12pt,a4paper]{report}
\usepackage{nomencl}
\makenomenclature
\begin{document}
---page numbering and other things included-----
\include{symbols}
-----others---
\end{document}


### symbols.tex

\chapter*{NOTATIONS}
\nomenclature{$G_e$}{Equivalent Shear Modulus}
\printnomenclature


Shall I use \nomenclature while explaining the chapter. Will It give me the same results? like

\documentclass[pdftex,12pt,a4paper]{report}
\usepackage{nomencl}
\makenomenclature
\begin{document}
---page numbering and other things included-----
\include{symbols}
\include{chap3-calculate_w}
-----others---
\end{document}


### symbols.tex

\chapter*{NOTATIONS}
\printnomenclature


### chap3-calculate_w.tex

\chapter{SETTLEMENT RESPONSE OF GEOSYNTHETIC REINFORCED GRANULAR FILL SOFT SOIL}
\label{chap:W}
\section{INTRODUCTION}
In this thesis, the methodology to determine an  Equivalent single layer shear modulus \nomenclature{$G_e$}{Equivalent Shear Modulus},$G_e$ value for a...etc


I am not getting the output in both these. Can someone help me with this?

-
Please edit your MWE and format the code block by selecting it and clicking on the {} symbol. Thanks. Also, review your earlier questions and accept any answers that were helpful to you. – Peter Grill Sep 8 '11 at 3:23
After running LaTeX, did you run makeindex <filename>.nlo -s nomencl.ist -o <filename>.els, and then rerun LaTeX? – Peter Grill Sep 8 '11 at 3:43
Since you are using TeXMaker you need to define the sequence of commands used by the Quick Build command via the Configure Texmaker dialog to include the above mentioned options to makeindex. – Peter Grill Sep 8 '11 at 5:50
I'd just like to add that I had a similar issue, and it turned out to be a problem caused by using \pagenumbering{gobble} - a command that "eated up" the nomenclature section in the compiled document. – arbolitoloco Mar 5 '15 at 22:27

1. Run Latex in Kile
2. Go to Konsole (in Kile) and run 'makeindex filename.nlo -s nomencl.ist -o filename.nls' (without the quotes)
3. Run Latex again
4. DVItoPS
5. PStoPdf In other GUIs do this. It works
-

I have spent a fair time struggling with this one as well. It seemed as if the devil was in the details, i.e. the file endings in the makeindex and makeglossary commands.

For some reason I cannot explain, my approach did not work until after I included the packages index and glossaries as well as their respective makeindex, makeglossary, printindex and printglossary. I also added the following line in the commands setup:

sh -c "PATH=$PATH:/usr/texbin/; makeglossaries %.nls" After that I got the actual Nomenclature output, and for some reason it still worked after removing all the index/glossary commands and packages from the latex-file. The code is the usual nomenclature sample code: \documentclass{article} \usepackage{nomencl} \makenomenclature \begin{document} \section*{Main equations} $$a=\frac{N}{A}$$ \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}  As mentioned before, you have to fix your Index command in your LaTeX program's settings/preferences: In TeXstudio this is done under "preferences -> commands". Note the blue icon to the right of some commands, it indicates that this command is run twice. MakeIndex: /usr/texbin/makeindex %.nlo -s nomencl.ist -o %.nls You can test the result of this command by forcing it from the menu bar: Tools -> Index Process started: /usr/texbin/makeindex "nomenclature".nlo -s nomencl.ist -o "nomenclature".nls This is makeindex, version 2.15 [TeX Live 2015] (kpathsea + Thai support). Scanning style file /usr/local/texlive/2015/texmf-dist/makeindex/nomencl/nomencl.ist..........done (10 attributes redefined, 3 ignored). Scanning input file nomenclature.nlo....done (5 entries accepted, 0 rejected). Sorting entries....done (13 comparisons). Generating output file nomenclature.nls....done (16 lines written, 0 warnings). Output written in nomenclature.nls. Transcript written in nomenclature.ilg. Process exited normally - This may have been answered sufficiently elsewhere, but I configured TeXmaker to do this automatically by adding the flowing line of code to the makeindex. I imagine it maybe possible to do something similar in other editors. Go to; options, Configure TeXmaker, then in the makeindex box add %.nlo -s nomencl.ist -o %.els to the end of whatever is already in the box, separated by a space. I am using TeXmaker under windows 7 and this worked for me, hopefully its helpful. - arara has a predefined nomencl rule, so you can use (from the nomencl documentation) the following directives: % arara: pdflatex % arara: nomencl % arara: pdflatex \documentclass{article} \usepackage{nomencl} \makenomenclature \begin{document} \section*{Main equations} $$a=\frac{N}{A}$$% \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}  Running arara: $ arara mydoc.tex
__ _ _ __ __ _ _ __ __ _
/ _ | '__/ _ | '__/ _ |
| (_| | | | (_| | | | (_| |
\__,_|_|  \__,_|_|  \__,_|

Running PDFLaTeX... SUCCESS
Running Nomencl... SUCCESS
Running PDFLaTeX... SUCCESS


The output:

-
would you please specify how we can transform this one-column nomenclature to a two-columns nomenclature? That is, how we can move the fourth and fifths columns of the nomenclature to a second column which stands at the right hand side of the first column? – Mahdi Mar 4 at 2:55

Using kile, I have configured the QuikBuild command as follows:

go to: Settings -> Configure Kile... -> Build

create a new tool:

• Name: "MakeIndexNomencl"
• Command: makeindex
• Options: '%S.nlo' -s nomencl.ist -o '%S.nls'

add MakeIndexNomencl and a second PDFLaTeX to the QuickBuild tool:

• PDFLaTeX
• MakeIndexNomencl
• PDFLaTeX
-

The nomencl package documentation explicitly states the compile sequence in order to use the package:

latex <filename>.tex
makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls
latex <filename>.tex


If you're using pdflatex, the same sequence holds. After following this sequence, your nomenclature chapter is printed, as expected:

-
I'm sorry I can't get it. I compiled using pdflat and then quick builded it. But I am not getting the results. – Reshma B Sep 8 '11 at 4:06
You need to compile using pdflatex, then run makeindex, then run pdflatex again. What does quick build mean? – Werner Sep 8 '11 at 4:22
Kind of annoying - but I guess one can build this into your compile commands. – Forkrul Assail Aug 29 '12 at 16:59
@ForkrulAssail arara aside, this can be integrated with latexmk – mlt May 20 '14 at 23:21
There is a good script at Github that includes the nomenclature run. Additionally it cleans out old files beforehand, creating a clean build. biber can be switched for bibtex` in the script, if desired. – niclas ericsson Aug 22 '15 at 21:55