<< Indexing | Page list | MathMacros >>
Create a list of symbols with LyX and the nomencl package
Nomenclature with LyX
In LyX 1.5.x, you can generate a nomenclature with
Insert>List/ToC>Nomenclature.
For documentation see Help>Extended Features and the documentation of the nomencl package.
Nomenclature and ngerman (German new spelling)
The problem and hints below apply to other German variants as austrian
or naustrian (Austrian new spelling), too.
Including a Nomenclature in a document that shall use ngerman as document language is tricky, because:
- The
nomencl package (version 4.2) supports a set of language options,
including german but not ngerman.
- LyX calls the package without options, so that the
nomencl
options must be added to the global options.
- Opions added with Document>Settings>Document Class Options are
appended to the language settings in Document>Settings>Language,
but
babel considers the last recognized option to be the
document language.
Workarounds
- Set
german with Document>Settings>Language German
and append ngerman via
Document>Settings>Document Class Options.
- Mark at least one word (e.g. in a comment) with
Edit>Text Style>Customized>Language German, so LyX adds
german to the global options (before ngerman).
- Patch nomencl.sty so it recognizes
ngerman as an alias to the
option german:
@@ -71,6 +71,8 @@
\def\eqdeclaration#1{, siehe Gleichung\nobreakspace(#1)}%
\def\pagedeclaration#1{, Seite\nobreakspace#1}%
\def\nomname{Symbolverzeichnis}}
+\DeclareOption{ngerman}{% German (new spelling)
+ \ExecuteOptions{german}}
\DeclareOption{italian}{%
\def\eqdeclaration#1{, vedi equazione\nobreakspace(#1)}%
\def\pagedeclaration#1{, pagina\nobreakspace#1}%
Categories
Category: Tip Languages