Go to page:

Search help:

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

Nomenclature

Categories: Tip, Languages
<< 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:

  1. The nomencl package (version 4.2) supports a set of language options, including german but not ngerman.
  2. LyX calls the package without options, so that the nomencl options must be added to the global options.
  3. Opions added with Document>Settings>Document Class Options are appended to the language settings in Document>Settings>Language, but
  4. 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

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2008-04-18 15:57 CEST