[Tex/LaTex] Using package nomencl

nomenclature

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}
\addcontentsline{toc}{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}
\addcontentsline{toc}{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?

Best Answer

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:

Nomenclature