[Tex/LaTex] How to compile \nomencl in order to have a list of abbreviation

acronymscompilingnomenclaturetexshop

I am quite new in LaTeX and I am using it to write my master thesis. Everything works quite fine until I wanted to make a list of abbreviations. I read most I could, including the nomencl package documentation and a lot of subjects here, but I still can't understand how to compile it.

I'm using TeXShop on Mac and I have the main page with the code and a smaller window of command, that displays any mistake when I typeset, for instance. My code is the following :

    \documentclass{article}
    %other packages
    \usepackage[intoc]{nomencl}
    \renewcommand{\nomname}{Abbreviations}
    \makenomenclature 

    \begin{document}
    %title and other stuffs

    \newpage
    \setcounter{tocdepth}{3}
    \tableofcontents
    \printnomenclature

   %Then some example of my abbreviations : 
   \section{Experimental Part}
   \textit{Synthesis of some compound \textbf{(aa)} \cite{FAP}}\\ %E13
    To a solution of 2-bromo-5-methoxybenzoic acid in DMF \nomenclature{DMF}{Dimethylformamide} (33 mL) is added CuCN\nomenclature{CuCN}{Copper Cyanide}. 

    \end{document}

When I compile it, even twice as for other commands, nothing appears, not even a blank page. And I can't type in my command window, so impossible to type the command :

makeindex master thesis.nlo -s nomencl.ist -o master thesis.nls

recommanded by the nomencl package documentation.

Best Answer

May I recommend the tool "arara"?

Just use the following MWE:

% arara: pdflatex
% arara: nomencl
% arara: pdflatex

\documentclass{article}
%other packages
\usepackage{nomencl}
\renewcommand{\nomname}{Abbreviations}
\makenomenclature 

\begin{document}
    \printnomenclature

    \section{Experimental Part}
    \textit{Synthesis of some compound \textbf{(aa)}}\\ %E13
    To a solution of 2-bromo-5-methoxybenzoic acid in DMF \nomenclature{DMF}{Dimethylformamide} (33 mL) is added CuCN\nomenclature{CuCN}{Copper Cyanide}. 
\end{document}

and run arara thesis.tex. That works and you don't have to waste more thoughts on the makeindex compiling routine of nomencl

Related Question