MiKTeX and proTeXtnomencl | List of abbreviations

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
Patrijs
Posts: 2
Joined: Thu Jun 23, 2011 11:41 am

nomencl | List of abbreviations

Post by Patrijs »

Hello,

This might be a stupid question since I'm new to the whole LaTex thing.
Anyhow, I'm trying to make a "List of abbreviations" by following the explanation on wikibooks.

What I did:
In the main file:

Code: Select all

...
\usepackage{nomencl}
  \let\abbrev\nomenclature
  \renewcommand{\nomname}{List of abbreviations}
  \setlength{\nomlabelwidth}{.25\hsize}
  \renewcommand{\nomlabel}[1]{#1 \dotfill}
  \setlength{\nomitemsep}{-\parsep}
  \makenomenclature
...
\begin{document}
...
\include{Abbreviations}
...
\end{document}
In the "Abbreviations" file:

Code: Select all

\printnomenclature
I executed the file twice, but I get no result at all. The rest of the text is generated just fine and I don't get any error or warning. Apparently I now have to execute makeindex filename.nlo -s nomencl.ist -o filename.nls. But I don't know how to do that (this is probably the moment you think "what an idiot" :) ). I would be very grateful if someone could help me out or sees another fault in my code.

Thx!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

nomencl | List of abbreviations

Post by localghost »

Patrijs wrote:[…] Apparently I now have to execute makeindex filename.nlo -s nomencl.ist -o filename.nls. But I don't know how to do that (this is probably the moment you think "what an idiot"). I would be very grateful if someone could help me out or sees another fault in my code. […]
Due to the lack of a true minimal example it can't be said if your code is erroneous. But it seems that only the step of processing the *.nlo file by MakeIndex is missing.

Furthermore it could be helpful if you write something about the editor you use. Some editors offer to create so called build profiles which allow so set up several processing steps. If you use an appropriate editor, it will be possible to integrate all necessary steps into a build profile. For TeXworks we discussed this recently [1]. In a similar way this would be possible for several other editors, too.

[1] View Topic: Nomenclature


Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Patrijs
Posts: 2
Joined: Thu Jun 23, 2011 11:41 am

Re: nomencl | List of abbreviations

Post by Patrijs »

Sorry, thought it would be obvious that I use TexNicCenter since I posted here. My bad. This together with MikTex.
poeli
Posts: 19
Joined: Tue Mar 11, 2014 10:59 am

Re: nomencl | List of abbreviations

Post by poeli »

Have you found a solution? What I have in Texmaker is that pdflatex does not produce a .nlo file so makeindex can't make an index...
Post Reply