[Tex/LaTex] Nomenclature; running makeindex

macnomenclaturetexshop

I'm new to LaTeX and have been struggling with generating a nomenclature, for several hours…

I have tried to follow this instruction: http://cs.brown.edu/about/system/managed/latex/doc/nomencl.pdf but doesn't know how to "Invoke MakeIndex"…

I have also tried to follow follow the answer here: List of abbreviations but how do I do the "Run" step??

I'm really stuck here and a simple answer for a rookie would make my day…

This is an example of what i have been trying to type:

\documentclass{article}

\usepackage[]{nomencl}

\makenomenclature

\begin{document}
Here is some text, where we use APC.
\nomenclature{APC}{antigeen-presenterende cel}

\printnomenclature
\end{document}

I'm using a Macbook with TexShop by the way

Best Answer

If you're using TeXShop it's very easy: add some lines to your document as shown below.

% !TEX TS-program = Arara
% arara: pdflatex
% arara: nomencl
% arara: pdflatex
\documentclass{article}

\usepackage[]{nomencl}

\makenomenclature

\begin{document}
Here is some text, where we use APC.
\nomenclature{APC}{antigeen-presenterende cel}

\printnomenclature
\end{document}

Then ensure that the dropdown menu next to the “Typeset” button says “Arara”. Press “Typeset”. Et voilà.

If you have MacTeX 2013 or later and TeXShop 3.48, it should work out of the box; if not, go to the folder

~/Library/TeXShop/Engines/Inactive/Arara

and move the arara.engine file to

~/Library/TeXShop/Engines/

that is, two levels up. In this case you have to restart TeXShop for the change to be recognized.

If the system asks you to install Java, do it. Note that ~ refers to your Home folder.

Related Question