# Can not print Nomenclature in Texmaker [duplicate]

I'm not able to run the following example in Texmaker:

\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}


I use MiKTeX under Windows with the following Texmaker configuration:

and run the sequence:

I followed this answer to configure my editor without success. Thanks for your help

## marked as duplicate by R. Schumacher, user13907, cfr, Paul Gaborit, Svend TveskægMay 5 '15 at 1:34

• I have never used either nomencl or makeindex before but: I just went to texdoc.net/texmf-dist/doc/latex/nomencl/nomencl.pdf and it is very clear that you need to run makeindex and not bib(la)tex. Additionally you need the appropriate *.lst file. So read the above reference and hopefully you will have success. – R. Schumacher May 4 '15 at 19:52
• @R.Schumacher Running MakeIndex gives me this error: Input index file filename.idx not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...] – latex fan May 4 '15 at 21:48

Well , I created a new user command in Texmaker and I named it MAKEINDEX. The configuration of this new command is as follows:
makeindex %.nlo -s nomencl.ist -o %.nls

in the required command. Then, on my main.tex document, I run the sequence pdflatex -> MAKEINDEX -> pdflatex and it worked fine. Here is the output by the way.