Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to get my nomenclature to sort alphabetically, including word with accent. Basics! Well, I read all \nomencl documentation and many of your expert answers here... So I tried different things, inserted a prefix and modified my build.bat to run LaTeX, makeindex <filename>.nlo -s nomencl.ist -o <filename>.els, rerun LaTeX, then pdflatex...

\documentclass[11pt,a4paper,twoside]{book}

\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{lmodern}
\usepackage{titletoc}
\usepackage{tocloft}
\usepackage{nomencl}
\usepackage{makeidx}
\usepackage[frenchb]{babel}

\makenomenclature

\begin{document}

\printnomenclature[7em]

\nomenclature{déc.}{Décision}
\nomenclature[e]{éd.}{édition}
\nomenclature{Gaz. Pal.}{Gazette du palais}

\end{document}

For some reason, it's still not working for me... I'm close to take it personally!

share|improve this question

1 Answer 1

up vote 7 down vote accepted

There is a default prefix a that is added before the entries without optional argument. Therefore aGaz... is sorted before e.... You can redefine the default prefix to an empty string:

\renewcommand*{\nomprefix}{}
share|improve this answer
    
Works like a charm! No regret, I wouldn't have found it by myself... Thank you very much for your quick and perfect answer! ;-) –  Doompa Oct 14 '12 at 11:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.