LyXnomenclature: sorting the entries!

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
newnoise
Posts: 19
Joined: Thu Aug 21, 2008 11:57 am

nomenclature: sorting the entries!

Post by newnoise »

Hello!

In writing my reports I'd need to sort the entries in alphabetical order, befor all the english words followed by greek symbol.

Someone knows how to do it within lyx??

Thx!

/davide

Recommended reading 2024:

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

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

newnoise
Posts: 19
Joined: Thu Aug 21, 2008 11:57 am

Re: nomenclature: sorting the entries!

Post by newnoise »

In the mean time i've found this

http://www.cs.brown.edu/system/software ... omencl.pdf

at page 6 there's something but it's not so clear for me to use that commands in lyx

/davide
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

nomenclature: sorting the entries!

Post by Stefan Kottwitz »

Hi Davide,

the document you found is outdated, the nomencl package has been changed in the meantime.
You will find the current documentation here: nomencl.pdf.

Concerning LyX and nomencl have a look here:
Stefan
LaTeX.org admin
newnoise
Posts: 19
Joined: Thu Aug 21, 2008 11:57 am

Re: nomenclature: sorting the entries!

Post by newnoise »

So, with a help of a guy i've found this piece of code to add to the preamble of the document in Lyx:

\usepackage{nomencl}
\RequirePackage{ifthen}
\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek Symbols}]}{
\ifthenelse{\equal{#1}{S}}{\item[\textbf{Subscripts}]}{}}}

Than, when you have to insert a entry for the nomenclature you get a window box divided in 3 spaces (from the top):

- symbol
- description
- sort as

In this last row you have to write g (that stats for greek) followed (without space) with the english correspondet word (if you have beta you would write b)

cheers,

/davide
MOLA
Posts: 7
Joined: Sat Oct 25, 2008 10:09 pm

Re: nomenclature: sorting the entries!

Post by MOLA »

Hello everybody:

My problem is quite more simple. I can´t get the nomenclature list to display. Everything seems to work fine, except when i produce the pdf file, the nomenclature isn´t where it should be.
I have the \usepackage{nomencl} in the pleamble and all that. Still, nothing. What could be happening?

Thanks,

Ale
Post Reply