Page Layoutlist of abbreviations with nomencl

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
michael_b
Posts: 15
Joined: Fri Nov 06, 2009 11:20 am

list of abbreviations with nomencl

Post by michael_b »

Hey everybody,

at present i try to make a list of abbreviation with the usepacked nomencl.
I use latexlive and winedt 6.0.

My Code looks like for a small example:

Code: Select all

\documentclass[a4paper]{article}
\usepackage[german]{babel}
\usepackage[latin1]{inputenc}
\usepackage{nomencl}
  \let\abbrev\nomenclature
  \renewcommand{\nomname}{Abkürzungsverzeichnis}
  \setlength{\nomlabelwidth}{.25\hsize}
  \renewcommand{\nomlabel}[1]{#1 \dotfill}
  \setlength{\nomitemsep}{-\parsep}
  \makeglossary

\usepackage[normalem]{ulem}
  \newcommand{\markup}[1]{\uline{#1}}

\begin{document}
    ...
  \printglossary
    ...
  \abbrev{XML}{e\markup{x}tensible \markup{m}arkup \markup{l}anguage}
    ...
\end{document}
if i want compile this with latex it will comes an error:

Code: Select all

 [2] (./Review.tex) [3] (./Thesis-Masterdocument.toc) [1]
(./Thesis-Masterdocument.lof)
! Undefined control sequence.
l.52     \printglossary
                       
? 
can somebody help me to fix that problem?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

list of abbreviations with nomencl

Post by localghost »

I would think that it requires to insert \makenomenclature and \printnomenclature (instead of \makeglossary and \printglossary) when working with the nomencl package.


Thorsten
michael_b
Posts: 15
Joined: Fri Nov 06, 2009 11:20 am

Re: list of abbreviations with nomencl

Post by michael_b »

Thanks it works.

I use Winedit 6.0, do you have an idea how i can handle it to compile with winedit without typing in the console everytime: makeindex document.nlo -s nomencl.ist -o document.nls
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

list of abbreviations with nomencl

Post by localghost »

I don't use WinEdt, so I can't advise any further. Isn't there the possibility to create new buttons for the toolbar like those which let you compile your document or create an index? If so, this might be an approach for a solution.

Addendum:
Just a note to our fellow members. This question has also been posted in the goLaTeX.de forum.
Post Reply