]> git.lyx.org Git - features.git/commitdiff
UserGuide.lyx updates: - Finish the descriptions of the bibliography and the document...
authorUwe Stöhr <uwestoehr@web.de>
Sat, 11 Aug 2007 01:20:33 +0000 (01:20 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 11 Aug 2007 01:20:33 +0000 (01:20 +0000)
                       - add a BibTeX bibliography

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19415 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct
development/scons/scons_manifest.py
lib/doc/Makefile.am
lib/doc/UserGuide.lyx
lib/doc/biblio/LyXDocs.bib [new file with mode: 0644]
lib/doc/biblio/alphadin.bst [new file with mode: 0644]

index c5b8ea05b56a36fadf895400cb4391c3e8d89f11..8dd4252912f47d2487dc2ab84ff93b84c5f72831 100644 (file)
@@ -2226,6 +2226,7 @@ if build_install:
             ('bind/pt', lib_bind_pt_files),
             ('bind/sv', lib_bind_sv_files),
             ('doc', lib_doc_files),
+            ('doc/biblio', lib_doc_biblio_files),
             ('doc/clipart', lib_doc_clipart_files),
             ('doc/cs', lib_doc_cs_files),
             ('doc/da', lib_doc_da_files),
index 93e2a5ae2035686adcefe4b3dd37d253d043728f..a009e0818a07c48af1edc9ea84ee1f5e5a1a50c2 100644 (file)
@@ -2218,6 +2218,12 @@ lib_doc_files = Split('''
 ''')
 
 
+lib_doc_biblio_files = Split('''
+    alphadin.bst
+    LyXDocs.bib
+''')
+
+
 lib_doc_clipart_files = Split('''
     Abstract.pdf
     BoxInsetDefaultQt4.png
index 5adfbe7c5983dcde13d172739c8200f75318a692..a0b6453cdc45899a2e2fd7affdf0f7b18a2d19e7 100644 (file)
@@ -4,6 +4,11 @@ DISTCLEANFILES += $(tocfiles)
 
 EXTRA_DIST = depend.py doc_toc.py README.Documentation $(DEPENDFILE) $(docfiles)
 
+bibliodocdir = $(pkgdatadir)/doc/biblio
+dist_bibliodoc_DATA = \
+       biblio/alphadin.bst \
+       biblio/LyXDocs.bib
+       
 clipartdocdir = $(pkgdatadir)/doc/clipart
 dist_clipartdoc_DATA = \
        clipart/escher-lsd.eps \
index c13ef9768aa0b0d6202215fd3dd5ab07a17fc4c4..0a70f5e822041caa5f91a0b06b06d858a4eac034 100644 (file)
@@ -1,4 +1,4 @@
-#LyX 1.5.1 created this file. For more info see http://www.lyx.org/
+#LyX 1.5.2svn created this file. For more info see http://www.lyx.org/
 \lyxformat 276
 \begin_document
 \begin_header
@@ -68,7 +68,7 @@
 % define a short command for \textvisiblespace
 \newcommand{\spce}{\textvisiblespace}
 \end_preamble
-\options bibtotoc,idxtotoc,BCOR7mm
+\options idxtotoc,BCOR7mm
 \language english
 \inputencoding latin1
 \font_roman default
@@ -362,7 +362,7 @@ Preferences
  new LaTeX classes, and which are not seen by LyX.
  To force LyX to re-inspect your system, you should use 
 \family sans
-Edit\SpecialChar \menuseparator
+Tools\SpecialChar \menuseparator
 Reconfigure
 \family default
 .
@@ -805,6 +805,11 @@ Lines
 \end_layout
 
 \begin_layout Standard
+\begin_inset LatexCommand index
+name "Dialogs ! Find \\& Replace"
+
+\end_inset
+
 The 
 \family sans
 Edit\SpecialChar \menuseparator
@@ -2298,6 +2303,12 @@ name "Document !  Layout"
 \end_inset
 
 
+\begin_inset LatexCommand label
+name "sub:Document-Layout"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -2307,15 +2318,17 @@ Document\SpecialChar \menuseparator
 Settings
 \family default
 .
-\end_layout
-
-\begin_layout Standard
-In the 
+ There in the 
 \family sans
 Options
 \family default
- field, you can enter special options for your document class in a comma-separat
-ed list.
+ field under 
+\family sans
+Documents\InsetSpace ~
+classes
+\family default
+, you can enter special options for your document class in a comma-separated
+ list.
  This is only necessary if LyX doesn't support special options you want
  to use for your document.
  To learn more about your favorite LaTeX-class and its options, you have
@@ -2323,7 +2336,12 @@ ed list.
 \end_layout
 
 \begin_layout Standard
-The 
+Under 
+\family sans
+Page\InsetSpace ~
+Layout
+\family default
+ the 
 \family sans
 Pagestyle
 \family default
@@ -2377,18 +2395,24 @@ Fancy
 \family default
  This allows you to create fully customizable headers and footers if you
  have the 
-\family sans
+\series bold
 fancyhdr
-\family default
+\series default
  package installed.
  At the moment, support in LyX is limited to this setting.
- To use the full power of this package, you have to resort to magic codes
in your preamble.
+ To use the full power of this package, you have to add code to your document
+ preamble.
  Check the documentation for the 
-\family sans
+\series bold
 fancyhdr
-\family default
- package for more details.
+\series default
+ package for more details, 
+\begin_inset LatexCommand cite
+key "fancyhdr"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
@@ -2425,7 +2449,8 @@ name "sub:Paper-Size,-Orientation,"
 \begin_layout Standard
 You'll find the following options in the menu 
 \family sans
-Paper
+Page\InsetSpace ~
+Layout
 \family default
  of the dialog of the 
 \family sans
@@ -2508,23 +2533,6 @@ Portrait
 .
 \end_layout
 
-\begin_layout Standard
-There are also two check-boxes in the menu:
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-
-\family sans
-Two-column\InsetSpace ~
-document
-\family default
- Prints the document in two columns per page.
- Note that LyX won't show two columns on screen.
- That's impractical, often unreadable, and not part of the WYSIWYM concept.
- However, there will be two columns in the generated output.
-\end_layout
-
 \begin_layout Labeling
 \labelwidthstring 00.00.0000
 
@@ -2564,7 +2572,7 @@ Settings
 \begin_layout Standard
 If you use a koma-script document class, you can use the default settings.
  Because koma-script calculates then the printspace automatically by taking
- the paper format and the font size into consideration.
+ the paper format and the font size into account.
 \end_layout
 
 \begin_layout Subsection
@@ -2665,11 +2673,11 @@ all
 \end_layout
 
 \begin_layout Subsection
-Global Indentation
+Paragraph Separation
 \end_layout
 
 \begin_layout Standard
-To select the default method of separating paragraphs, select 
+To separate paragraphs, select 
 \family sans
 Indent
 \family default
@@ -2688,6 +2696,31 @@ Document\SpecialChar \menuseparator
 Settings
 \family default
  to indent paragraphs or add extra space between paragraphs, respectively.
+ The size of the skips can be defined in the dialog, for the indentation
+ you have to add this line to your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+parindent}{Length}
+\end_layout
+
+\begin_layout Standard
+where length is a value in one of the units listed in appendix\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "cap:Units"
+
+\end_inset
+
+.
+ The default length is 30\InsetSpace \thinspace{}
+pt.
 \end_layout
 
 \begin_layout Subsection
@@ -2738,11 +2771,11 @@ Text\InsetSpace ~
 Layout.
 
 \family default
- You need to have the LaTeX-package 
-\family sans
(You need to have the LaTeX-package 
+\series bold
 setspace
-\family default
- installed to use this feature.
+\series default
+ installed to use this feature.)
 \end_layout
 
 \begin_layout Section
@@ -2777,26 +2810,22 @@ The paragraph environments correspond to the various
 
 \begin_layout Standard
 
-\family typewriter
+\series bold
 
 \backslash
 begin{
-\family default
 \emph on
 environment
-\family typewriter
 \emph default
 } ...
  
 \backslash
 end{
-\family default
 \emph on
 environment
-\family typewriter
 \emph default
 }
-\family default
+\series default
 
 \newline
 command sequences in an ordinary LaTeX file.
@@ -8601,7 +8630,13 @@ name "sec:Fonts-and-Text"
 \end_layout
 
 \begin_layout Subsection
-Overview
+Font Types
+\begin_inset LatexCommand index
+name "Font ! Types"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -8609,8 +8644,14 @@ There are two types of fonts:
 \end_layout
 
 \begin_layout Description
-Outline\InsetSpace ~
-fonts are fonts, built from outlines of the single glyphs (i.e.
+Vector\InsetSpace ~
+fonts
+\begin_inset LatexCommand index
+name "Fonts ! Vector-"
+
+\end_inset
+
+ are fonts, built from outlines of the single glyphs (i.e.
  characters) in the font.
  This means that each glyph is defined using mathematical curves that are
  well suited for scaling to any requested size.
@@ -8640,13 +8681,19 @@ OpenType
 Type\InsetSpace ~
 1 PostScript
 \family default
- are outline fonts.
+ are vector fonts.
 \end_layout
 
 \begin_layout Description
 Bitmap\InsetSpace ~
-fonts on the other hand, are defined by bitmap graphics from the start,
- so they will look good at all the sizes they are meant for.
+fonts
+\begin_inset LatexCommand index
+name "Fonts ! Bitmap-"
+
+\end_inset
+
+ on the other hand, are defined by bitmap graphics from the start, so they
+ will look good at all the sizes they are meant for.
  However, they don't scale well, because in order to scale a glyph, each
  pixel is enlarged into several pixels.
  It is the same effect that happens if you try to enlarge a picture in a
@@ -8708,21 +8755,53 @@ name "sub:Document-Font"
 \end_inset
 
 
+\begin_inset LatexCommand index
+name "Font ! Document"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Font ! Size"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Dialogs ! Document Settings"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
-You can set the default font in the
+You can set the document fonts in the
 \family sans
-Document\SpecialChar \menuseparator
+ Document\SpecialChar \menuseparator
 Settings
 \family default
  dialog.
- The possible options for the font include 
+ There you can specify which font should be used for the three different
+ font shapes Roman, 
+\family sans
+Sans\InsetSpace ~
+Serif
+\family default
+, and 
+\family typewriter
+Typewriter
+\family default
+ and its scalings.
+\end_layout
+
+\begin_layout Standard
+The possible options for the font include 
 \family sans
 default
 \family default
  and a list of fonts available on your system.
- The option 
 \family sans
 default
 \family default
@@ -8772,46 +8851,42 @@ ec
 \family default
  are bitmap fonts, they often looks pixeld in PDF output, especially when
  you read the PDF in a zoomed size.
- This problem doesn't appear if you read PDFs in 
+\begin_inset Foot
+status collapsed
+
+\begin_layout Standard
+This problem doesn't appear if you read PDFs in 
 \family typewriter
-Acroread
+Adobe\InsetSpace ~
+Reader
 \family default
in version 6 or later, because this program includes a special bitmap font
+ version 6 or later, because this program includes a special bitmap font
  renderer.
- But to get rid of pixeld fonts generally, you have to use an outline font.
- We will show you three possibilities to use them:
+\end_layout
+
+\end_inset
+
+ To get rid of pixeled fonts, you have to use a vector font.
+ There are three ways to use one:
 \end_layout
 
 \begin_layout Itemize
 One way is to use the 
 \family typewriter
-ae
-\family default
- font by choosing it in the 
-\family sans
-Document\SpecialChar \menuseparator
-Settings
+AE
 \family default
dialog.
fonts.
  
 \family typewriter
-ae
+AE
 \family default
- stands for 
-\begin_inset Quotes eld
-\end_inset
-
-Almost European
-\begin_inset Quotes erd
-\end_inset
-
- and is a virtual font.
+ is a virtual font.
  Virtual means that it 
 \begin_inset Quotes eld
 \end_inset
 
 steals
-\begin_inset Quotes eld
+\begin_inset Quotes erd
 \end_inset
 
  outline 
@@ -8842,9 +8917,9 @@ status collapsed
 
 \begin_layout Standard
 Loading the LaTeX-package 
-\family typewriter
+\series bold
 aeguill
-\family default
+\series default
  with the document preamble line
 \end_layout
 
@@ -8862,8 +8937,7 @@ will fix the guillemet problem.
 
 \end_inset
 
-.
- And accented characters are not 
+ and that accented characters are not 
 \emph on
 one
 \emph default
@@ -8872,13 +8946,12 @@ one
 two
 \emph default
  characters, the accent and the letter.
- Therefore you can't search in documents that are created with the 
+ Therefore you can't search in documents using the 
 \family typewriter
-ae
+AE
 \family default
- font for words with accented characters.
- E.g.
- if you search for the French word 
+ fonts for words with accented characters.
+ If you search for example for the French word 
 \begin_inset Quotes eld
 \end_inset
 
@@ -8944,9 +9017,7 @@ reference "sec:ERT"
 
 \end_inset
 
- Note, that this problem appears only in the output, because LyX's screen
- fonts are different from the one in the output, see the last paragraph
- in this section.
+
 \end_layout
 
 \begin_layout Itemize
@@ -8983,83 +9054,29 @@ serif
 
 : 
 \family sans
-helvetica
-\family default
- as sans serif font (package 
-\family typewriter
-helvet
-\family default
-), 
-\family sans
-courier
-\family default
- for typewriter (package 
-\family typewriter
-courier
-\family default
-), and 
-\family sans
-times
-\family default
- as serif font (package 
-\family typewriter
-mathptmx
-\family default
-).
- They are loaded in the document preamble (menu 
-\family sans
-Document\SpecialChar \menuseparator
-Settings
+Times\InsetSpace ~
+Roman
 \family default
-) with the following lines:
-\begin_inset VSpace medskip
-\end_inset
-
-
-\series bold
-
-\newline
-
-\backslash
-usepackage[scaled=0.92]{helvet} 
-\newline
-
-\backslash
-usepackage{mathptmx} 
-\newline
-
-\backslash
-usepackage{courier}
-\series default
-
-\begin_inset VSpace medskip
-\end_inset
-
-
-\newline
-You also have to use 
+ as roman font,
 \family sans
-default
+ Helvetica
 \family default
- as font in the 
+ scaled to 92 or 95\InsetSpace \thinspace{}
+% as sans\InsetSpace ~
+serif font, and 
 \family sans
-Document\SpecialChar \menuseparator
-Settings
+courier
 \family default
dialog.
as typewriter font.
 \newline
-The differences between 
+The differences between roman, 
 \family sans
 sans\InsetSpace ~
 serif
 \family default
-, 
-\family sans
+, and 
+\family typewriter
 typewriter
-\family default
- and 
-\family sans
-serif
 \family default
  fonts are explained in section\InsetSpace ~
 
@@ -9072,71 +9089,38 @@ reference "sub:Fine-Tuning-with-the"
 \newline
 The font 
 \family sans
-times
+Times\InsetSpace ~
+Roman
 \family default
  was originally designed for newspapers.
  That means its glyphs are smaller than the one from other fonts to fit
  into the small newspaper columns.
- So 
+ Therefore 
 \family sans
-times
+Times\InsetSpace ~
+Roman
 \family default
  is not the optimal choice for larger documents like books.
 \end_layout
 
 \begin_layout Itemize
 The best solution is to use the 
-\begin_inset Quotes eld
-\end_inset
-
-
 \family typewriter
 Latin Modern
 \family default
-
-\begin_inset Quotes erd
-\end_inset
-
- (
-\family typewriter
-lm
-\family default
-) font.
- This font is developed in order of the LaTeX community to replace 
+ fonts.
+ These fonts are developed in order of the LaTeX community to replace 
 \family typewriter
 cm
 \family default
  as default font.
- To use the font, use 
-\family sans
-default
-\family default
- as font in the 
-\family sans
-Document\SpecialChar \menuseparator
-Settings
-\family default
- dialog and add the following line to the document preamble:
-\begin_inset VSpace medskip
-\end_inset
-
-
-\newline
-
-\series bold
-
-\backslash
-usepackage{lmodern}
 \end_layout
 
 \begin_layout Standard
-The document font size is adjusted in the dialog 
-\family sans
-Document\SpecialChar \menuseparator
-Settings
-\family default
-.
- There are four possible values: 
+\begin_inset VSpace bigskip
+\end_inset
+
+For the font size there are four possible values: 
 \family sans
 default, 10
 \family default
@@ -9164,8 +9148,12 @@ base size
 .
  LyX actually scales all other possible font sizes (such as those used in
  footnotes, super-, and subscripts) by this value.
- You can always fine-tune the font size of text parts from within the document
- if you need to.
+ You can fine-tune the font size of text parts via the 
+\family sans
+Text\InsetSpace ~
+Style
+\family default
+ dialog if needed.
  The possible font sizes for text parts are explained in section\InsetSpace ~
 
 \begin_inset LatexCommand ref
@@ -9177,13 +9165,15 @@ reference "sub:Fine-Tuning-with-the"
 \end_layout
 
 \begin_layout Standard
-Note that when you choose a new font or font size, LyX does 
+\begin_inset VSpace bigskip
+\end_inset
+
+Note when you choose a new font or font size, LyX does 
 \emph on
 not
 \emph default
- change the screen font.
- You'll only see a difference in the printed output.
- This is part of the WYSIWYM concept.
+ change the screen font! You willl only see a difference in the printed
+ output; this is part of the WYSIWYM concept.
  LyX's screen fonts can be adjusted in the 
 \family sans
 Tools\SpecialChar \menuseparator
@@ -9201,6 +9191,18 @@ reference "cha:The-Preferences-dialog"
 
 \begin_layout Subsection
 Using Different Character Styles
+\begin_inset LatexCommand index
+name "Character Styles"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Dialogs ! Text Style"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -9363,6 +9365,18 @@ name "sub:Fine-Tuning-with-the"
 \end_inset
 
 
+\begin_inset LatexCommand index
+name "Text Style"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Dialogs ! Text Style"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -13095,7 +13109,7 @@ In contrary to colored boxes, the note uses always the whole text width
 \begin_layout Standard
 Notes are inserted with the toolbar button 
 \begin_inset Graphics
-       filename ../../../../Programme/LyX 1.5.1/Resources/./images/note-insert.xpm
+       filename ../images/note-insert.xpm
        scale 85
        scaleBeforeRotation
 
@@ -22107,6 +22121,12 @@ name "Appendix"
 \end_inset
 
 
+\begin_inset LatexCommand label
+name "sec:Appendices"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -22312,7 +22332,7 @@ Bibliography databases are useful if you use the same bibliography in different
  It makes it also very easy to have an uniform layout for all bibliography
  entries.
  You can collect the bibliography of all relevant books and articles of
- you working field in a database.
+ your working field in a database.
  This database can be used for different documents, because only the referenced
  entries of the database will appear in the bibliography list.
 \end_layout
@@ -22333,7 +22353,7 @@ The database is a text file with the file extension
  containing the bibliography in a special format.
  The format is explained in LaTeX books (
 \begin_inset LatexCommand cite
-key "latexcompanion,latexguide,latexbook"
+key "Mittelbach,Kopka,Lamport"
 
 \end_inset
 
@@ -22418,7 +22438,10 @@ Bibliography
 .
  A grey box will be inserted and a window appears.
  In this window you can load one or more databases and a style file.
- The style file is a text file with the file extension
+\end_layout
+
+\begin_layout Standard
+The style file is a text file with the file extension
 \begin_inset Quotes erd
 \end_inset
 
@@ -22445,14 +22468,10 @@ We use two bibliographies in this document to show the difference between
  As you can see, the bibliography, created from a database, lists only the
  database entries that are referenced in the document.
  We used the style file 
-\begin_inset Quotes eld
-\end_inset
-
+\family sans
 alphadin.bst
-\begin_inset Quotes erd
-\end_inset
-
- to get the complicated reference key scheme in the bibliography.
+\family default
+ to get the complicated German reference key scheme in the bibliography.
 \end_layout
 
 \begin_layout Subsection
@@ -22466,26 +22485,24 @@ name "Bibliography ! Layout"
 \end_layout
 
 \begin_layout Standard
-If you don't use a bibliography database together with a style file, you
- can set a 
-\family sans
-Citation\InsetSpace ~
-style
-\family default
- in the citation reference window.
- You need also the option 
+In the citation reference dialog you can set a special citation format.
+ For this feature you need to use the option 
 \family sans
 Natbib
 \family default
- in the menu 
+ enabled in the 
 \family sans
 Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Settings
+\family default
+ dialog under 
+\family sans
 Bibliography
 \family default
- enabled for this.
- In this menu you can adjust the default citation style.
- Setting a citation style for a reference will overwrite this default.
+.
+ Setting a citation style for a reference will overwrite the default.
+ For the global citation format use the BibTeX style files as explained
+ in the previous section.
 \end_layout
 
 \begin_layout Standard
@@ -23056,7 +23073,7 @@ number}
  Have a look at section\InsetSpace ~
 
 \begin_inset LatexCommand ref
-reference "sub:Short-Introduction-to"
+reference "sub:LaTeX-Syntax"
 
 \end_inset
 
@@ -23248,7 +23265,7 @@ name "LaTeX Syntax"
 
 
 \begin_inset LatexCommand label
-name "sub:Short-Introduction-to"
+name "sub:LaTeX-Syntax"
 
 \end_inset
 
@@ -23281,11 +23298,11 @@ program
 
 \begin_layout Standard
 Now LaTeX comes into play.
- As we wrote above, for every problem exists a LaTeX-package.
+ As wrote above, for every problem exists a LaTeX-package.
  First you have to find out which and therefore look in the LaTeX package
  database, 
 \begin_inset LatexCommand cite
-key "TeXCatalogue"
+key "Catalogue"
 
 \end_inset
 
@@ -23294,9 +23311,9 @@ key "TeXCatalogue"
 
 \begin_layout Standard
 As result you know that the package 
-\family typewriter
+\series bold
 caption
-\family default
+\series default
  is what you need.
  To use a package, you have to load it in the document preamble (menu 
 \family sans
@@ -23318,13 +23335,16 @@ usepackage[options]{package name}
 All LaTeX commands begin with a backslash, the command argument is set within
  two braces, and the options are set within two brackets.
  Note that not all commands have an argument and options.
- In your case the package name is 
+\end_layout
+
+\begin_layout Standard
+In your case the package name is 
 \series bold
 caption
 \series default
 .
- After a look in the documentation of the package caption, you know that
- the option 
+ After a look in the documentation of the package, you know that the option
 \series bold
 labelfont=bf
 \series default
@@ -23352,11 +23372,10 @@ Note that some document classes have built-in solutions for well known problems
 koma-scrip
 \family default
 t class, you don't need the package 
-\family typewriter
+\series bold
 caption
-\family default
-.
- Just write
+\series default
+, you can instead write
 \end_layout
 
 \begin_layout Standard
@@ -23383,17 +23402,16 @@ setkomafont
 \end_layout
 
 \begin_layout Standard
-Both commands used are preamble commands.
- Commands in the preamble affects the whole document, while commands in
- the text affects only the text after the command or only the text used
- as command argument.
+Commands in the preamble affects the whole document, while commands in the
+ text affects only the text after the command or only the text used as command
+ argument.
  To insert a LaTeX-command in text, use the ERT box as described in the
  previous section.
 \end_layout
 
 \begin_layout Standard
 If you want to learn more about LaTeX and its syntax, have a look at the
- books 
LaTeX-books 
 \begin_inset LatexCommand cite
 key "latexcompanion,latexguide"
 
@@ -23431,8 +23449,8 @@ DVI
 \end_layout
 
 \begin_layout Standard
-If you'd for example like to see in LyX your math formulas typeset by LaTeX,
- install the LaTeX-package 
+If you would for example like to see in LyX your math formulas typeset by
LaTeX, install the LaTeX-package 
 \series bold
 preview-latex
 \series default
@@ -23468,8 +23486,7 @@ not
 Instant\InsetSpace ~
 preview
 \family default
- check box.
- So to make it work, reopen the documents in LyX.
+ check box, you have to reopen the documents to activate the previews.
 \end_layout
 
 \begin_layout Standard
@@ -23480,12 +23497,12 @@ Show\InsetSpace ~
 preview
 \family default
  check box in the insert dialog.
- This latter is useful if you wish to generate a preview of a LaTeX figure,
for example.
+ This is useful if you wish to generate a preview of a LaTeX figure, for
+ example.
 \end_layout
 
 \begin_layout Standard
-To get previews working, you'll need the LaTeX package 
+To get previews working, you need the LaTeX package 
 \series bold
 preview-latex
 \series default
@@ -23494,14 +23511,14 @@ preview-latex
 preview
 \series default
 ) installed.
- You find it in 
+ You find it in the TeX Catalogue, 
 \begin_inset LatexCommand cite
 key "TeXCatalogue"
 
 \end_inset
 
-.
- You'll obtain prettier results if you install 
+ or in the package manager of your LaTeX-system.
+ You obtain prettier results if you install the program 
 \family typewriter
 pnmcrop
 \family default
@@ -23509,8 +23526,8 @@ pnmcrop
 \family typewriter
 netpbm
 \family default
- package; for LyX on Windows this program will automatically be installed
together with LyX.
+ package; for LyX on Windows this program is automatically installed together
+ with LyX.
 \end_layout
 
 \begin_layout Standard
@@ -23521,11 +23538,11 @@ netpbm
 \end_layout
 
 \begin_layout Standard
-You can furthermore preview the LaTeX source that LyX generates of the whole
document or parts of it.
+You can furthermore preview the LaTeX source of the whole document or parts
+ of it.
  Use the menu 
 \family sans
-Viewl\SpecialChar \menuseparator
+View\SpecialChar \menuseparator
 View\InsetSpace ~
 Source
 \family default
@@ -23535,7 +23552,7 @@ Source
  You can also select document parts in LyX's main window, then only this
  selection (when it is more than one paragraph) is shown as source code.
  To view the whole document as source, enable the corresponding option in
- the window.
+ the source view window.
 \end_layout
 
 \begin_layout Section
@@ -23609,7 +23626,7 @@ default
 , the encoding is used that LaTeX uses by default for the selected language,
  e.\InsetSpace \thinspace{}
 g.\InsetSpace ~
- for English it is 
+for English it is 
 \family sans
 latin1
 \family default
@@ -23628,7 +23645,7 @@ utf8
  Besides this, you will find some alternative unicode encodings for specific
  purposes: 
 \family typewriter
-UTF
+UTF8
 \family default
  and 
 \family typewriter
@@ -23647,6 +23664,23 @@ XeTeX
 inputenc
 \series default
 .
+\begin_inset Foot
+status collapsed
+
+\begin_layout Standard
+See section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sub:Settings"
+
+\end_inset
+
+ for details.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection
@@ -28263,24 +28297,6 @@ cedilla
 ¯
 \hfill
 macron
-\begin_inset Foot
-status collapsed
-
-\begin_layout Standard
-The dead macron in usually not needed, as you will use a non--dead key for
- this instead.
- For example, S-M-minus, or if 
-\family typewriter
-\shape up
-.Xmodmap
-\family default
-\shape default
- is correct, S-M-macron.
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \end_deeper
@@ -28319,17 +28335,6 @@ tilde
 ŞşŢţŖĻĢŗļģŅĶņķ
 \hfill
 cedilla
-\begin_inset Foot
-status collapsed
-
-\begin_layout Standard
-These characters might not look very nice on screen, but they will be just
- fine when run through LaTeX and printed.
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -28477,7 +28482,7 @@ Saves the actual document under a new name to create a copy.
 \end_layout
 
 \begin_layout Subsection
-Revert to Save
+Revert to saved
 \end_layout
 
 \begin_layout Standard
@@ -28791,6 +28796,15 @@ reference "sub:Printing-the-File"
 .
 \end_layout
 
+\begin_layout Subsection
+New and Close Window
+\end_layout
+
+\begin_layout Standard
+Opens a new instance of LyX with all currently opened documents.
+ You can close it later with the corresponding menu.
+\end_layout
+
 \begin_layout Section
 The Edit Menu
 \end_layout
@@ -28835,6 +28849,12 @@ Selects the whole document.
 
 \begin_layout Subsection
 Find & Replace
+\begin_inset LatexCommand index
+name "Dialogs ! Find \\& Replace"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -28859,6 +28879,12 @@ This shifts the paragraph where the cursor is currently in one paragraph
 
 \begin_layout Subsection
 Text Style
+\begin_inset LatexCommand index
+name "Dialogs ! Text Style"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -28898,10 +28924,6 @@ Layout
 .
 \end_layout
 
-\begin_layout Standard
-
-\end_layout
-
 \begin_layout Subsection
 Tabular and Math
 \end_layout
@@ -28953,21 +28975,6 @@ reference "sub:numbering-depth"
 The View Menu
 \end_layout
 
-\begin_layout Standard
-When you have more than one document opened, the bottom of the 
-\family sans
-View
-\family default
- menu lists the opened documents.
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
 \begin_layout Standard
 The 
 \family sans
@@ -29012,7 +29019,7 @@ Invoking a menu will start a viewer program.
  The viewer can be set in the preferences, see section\InsetSpace ~
 
 \begin_inset LatexCommand ref
-reference "sec:Preferences"
+reference "cha:The-Preferences-dialog"
 
 \end_inset
 
@@ -29021,6 +29028,17 @@ reference "sec:Preferences"
  reconfigured.
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+At the bottom of the 
+\family sans
+View
+\family default
+ menu the opened documents are listed.
+\end_layout
+
 \begin_layout Subsection
 View Source
 \end_layout
@@ -29047,20 +29065,68 @@ This menu allows you to update the view with your latest changes without
 \end_layout
 
 \begin_layout Subsection
-Table of Contents
+Toolbars
+\end_layout
+
+\begin_layout Standard
+In this menu you can set the appearance of the different toolbars.
+ All toolbars and the 
+\family sans
+Command\InsetSpace ~
+Buffer
+\family default
+ can be turned on and off.
+ The 
+\emph on
+on
+\emph default
+ state is denoted in the menu with a checkmark.
+ The 
+\family sans
+Review
+\family default
+, 
+\family sans
+Table
+\family default
+, 
+\family sans
+Math\InsetSpace ~
+Panels
+\family default
+, and 
+\family sans
+Math
+\family default
+ toolbars can be additionally set to the state 
+\emph on
+automatic
+\emph default
+ that is denoted in the menu with the suffix 
+\family sans
+(auto)
+\family default
+.
 \end_layout
 
 \begin_layout Standard
-This menu opens the same window that appears when clicking on the grey table
- of contents box.
- Within this window you can navigate through the document similar to the
- navigate menu.
- You can open/close section levels by using the slide control at the bottom
- of the dialog.
+In the 
+\emph on
+on
+\emph default
+ state the toolbar is permanently shown, in the 
+\emph on
+automatic
+\emph default
+ state the toolbar is only shown when the cursor is in a certain environment
+ or when a certain feature is enabled.
+ That means that the review toolbar will only be shown when change tracking
+ is activated, the math and table toolbars are only shown when the cursor
+ is inside a formula or table, respectively.
 \end_layout
 
-\begin_layout Subsection
-Toolbars
+\begin_layout Section
+The Insert Menu
 \end_layout
 
 \begin_layout Standard
@@ -29082,17 +29148,17 @@ The Navigate menu also offers to
 \end_layout
 
 \begin_layout Subsection
-Bookmarks ??
+Bookmarks
 \end_layout
 
 \begin_layout Standard
 With this menu you are able to define your own bookmarks.
- This is useful when you're working on a large documents and often have
+ This is useful when you are working on a large documents and often have
  to jump e.g.
  between section\InsetSpace ~
-2.6 and 6.3.
+2.5 and 6.3.
  To create bookmarks for this example, go to section\InsetSpace ~
-2.6 and use the menu
+2.5 and use the menu
  
 \family sans
 Save\InsetSpace ~
@@ -29125,17 +29191,6 @@ You can also use bookmarks to jump between several opened documents.
  The saved bookmarks are valid till the document is closed.
 \end_layout
 
-\begin_layout Standard
-If you wish to have more than three available bookmarks, look at section\InsetSpace ~
-
-\begin_inset LatexCommand ref
-reference "sec:ui"
-
-\end_inset
-
- for a detailed description.
-\end_layout
-
 \begin_layout Subsection
 Next Note, Change, Cross-reference
 \end_layout
@@ -29145,6 +29200,16 @@ Jump to the next note, change, or cross-reference following the current
  cursor position.
 \end_layout
 
+\begin_layout Subsection
+Go to Label
+\end_layout
+
+\begin_layout Standard
+Only active when the cursor is in front of a cross-reference.
+ Sets the cursor before the referenced label, the same as if you right-click
+ on a cross-reference box.
+\end_layout
+
 \begin_layout Section
 The Document Menu
 \end_layout
@@ -29208,14 +29273,14 @@ Start Appendix Here
 
 \begin_layout Standard
 This menu will start the appendix of the document at the current cursor
- position.
- The appendix is visually emphasized in LyX as box with a red border.
-\end_layout
+ position as described in section\InsetSpace ~
 
-\begin_layout Standard
-The appendix is the last part of a document.
- Within it, you can use all paragraph types with the only difference that
- sections will be numbered with latin letters to show the difference.
+\begin_inset LatexCommand ref
+reference "sec:Appendices"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Subsection
@@ -29228,6 +29293,18 @@ Un/compresses the actual document.
 
 \begin_layout Subsection
 Settings
+\begin_inset LatexCommand index
+name "Dialogs ! Document Settings"
+
+\end_inset
+
+
+\begin_inset LatexCommand label
+name "sub:Settings"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -29246,12 +29323,16 @@ default.lyx
  using a template.
 \end_layout
 
+\begin_layout Standard
+The different submenus of the dialog are explained in the following:
+\end_layout
+
 \begin_layout Subsubsection*
-Layout
+Document Class
 \end_layout
 
 \begin_layout Standard
-Here are set the document class, class options, fonts and other layout issues.
+Here you set the document class, class options, and a Postscript driver.
  Document classes are described in section\InsetSpace ~
 
 \begin_inset LatexCommand ref
@@ -29259,7 +29340,22 @@ reference "sec:doc-classes"
 
 \end_inset
 
-, font in section\InsetSpace ~
+.
+ The Postscript driver is used for LaTeX's color and graphics packages.
+ When using 
+\family sans
+Default
+\family default
+, the default driver for the LaTeX-packages are used.
+ It is recommended to use the default unless your know what you are doing.
+\end_layout
+
+\begin_layout Subsubsection*
+Fonts
+\end_layout
+
+\begin_layout Standard
+The document font settings are described in section\InsetSpace ~
 
 \begin_inset LatexCommand ref
 reference "sec:Fonts-and-Text"
@@ -29267,49 +29363,58 @@ reference "sec:Fonts-and-Text"
 \end_inset
 
 .
- The float placement options are described in section
-\begin_inset Formula $\,$
-\end_inset
-
+\end_layout
 
-\begin_inset LatexCommand ref
-reference "sub:Float-Placement"
+\begin_layout Subsubsection*
+Text Layout
+\end_layout
 
-\end_inset
+\begin_layout Standard
+You can specify if paragraphs should be separated by indentations or vertical
+ skips.
+ The line spacing and the number of text colums can here also be specified.
+\end_layout
 
-.
+\begin_layout Standard
+Note that LyX won't show two columns or the set up line spacing on screen.
+ That's impractical, often unreadable, and not part of the WYSIWYM concept.
+ However, it will be as you specified it in the output.
 \end_layout
 
 \begin_layout Standard
-You can further adjust the paragraph separation: 
-\family sans
-Indent
-\family default
- means that the first line of each paragraph is indented.
+The listings settings are explained in the corresponding section in the
  
-\family sans
-Skip
-\family default
- separates paragraphs by a customizable skip.
+\emph on
+Embedded\InsetSpace ~
+Objects
+\emph default
+ manual.
 \end_layout
 
 \begin_layout Subsubsection*
-Paper
+Page Layout
 \end_layout
 
 \begin_layout Standard
-A detailed description of this menu is given in section\InsetSpace ~
+A description of this menu is given in section\InsetSpace ~
 
 \begin_inset LatexCommand ref
 reference "sub:Paper-Size,-Orientation,"
 
+\end_inset
+
+ and 
+\begin_inset LatexCommand ref
+reference "sub:Document-Layout"
+
 \end_inset
 
 .
 \end_layout
 
 \begin_layout Subsubsection*
-Margins
+Page Margins
 \end_layout
 
 \begin_layout Standard
@@ -29332,25 +29437,70 @@ The document language and quote styles are set here.
  The encoding is necessary to be able to enter characters in the document
  language.
  E.g.
- you possibly want to enter the æ-ligature directly with the keyboard and
not by using LaTeX-commands.
+ you want to enter the æ-ligature directly with the keyboard and not by
+ using LaTeX-commands.
 \end_layout
 
 \begin_layout Standard
-The font encoding 
-\begin_inset Quotes eld
-\end_inset
+If you use the option 
+\family sans
+use language's default encoding
+\family default
+, the default encoding for the selected language is used.
+\end_layout
 
-auto
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+Here is a list with the important encodings:
+\end_layout
 
- should work on most systems.
- LyX will then take the right one automatically.
- If it don't work, e.g.
- you want cyrillic letters, but see latin ones, you have to adjust the encoding
- manually.
- It follows a list with the available encodings:
+\begin_layout Description
+amscii8 encoding for Armenian
+\end_layout
+
+\begin_layout Description
+cp1250 MS Windows code page for latin2
+\end_layout
+
+\begin_layout Description
+cp1251 MS Windows code page for Cyrillic
+\end_layout
+
+\begin_layout Description
+cp1252 MS Windows code page for latin1
+\end_layout
+
+\begin_layout Description
+cp1255 MS Windows code page for Hebrew, superset of the ISO-8859-8 encoding
+\end_layout
+
+\begin_layout Description
+cp1256 MS Windows code page for Arabic and Farsi
+\end_layout
+
+\begin_layout Description
+cp1257 MS Windows code page for Estonian, Latvian, and Lithuanian, the ISO-8859-
+13 encoding that is a superset of the ISO-8859-4 encoding
+\end_layout
+
+\begin_layout Description
+iso88595 the ISO-8859-5 encoding, covers Belorussian, Bulgarian, Macedonian,
+ Serbian, and Ukrainian
+\end_layout
+
+\begin_layout Description
+iso-8859-7 the ISO-8859-7 encoding, covers Greek
+\end_layout
+
+\begin_layout Description
+8859-8 the ISO-8859-8 encoding, covers Hebrew
+\end_layout
+
+\begin_layout Description
+koi8-r standard Cyrillic especially for Russian
+\end_layout
+
+\begin_layout Description
+koi8-u Cyrillic for Ukrainian
 \end_layout
 
 \begin_layout Description
@@ -29361,23 +29511,22 @@ latin1 the ISO-8859-1 encoding, covers the languages Albanian, Catalan,
 \end_layout
 
 \begin_layout Description
-latin2 the ISO-8859-2 encoding, covers the languages Croat, Czech, German,
+latin2 the ISO-8859-2 encoding, covers Albanian, Croatian, Czech, German,
  Hungarian, Polish, Romanian, Slovak, and Slovenian
 \end_layout
 
 \begin_layout Description
-latin3 the ISO-8859-3 encoding, covers the languages Esperanto, Galician,
Maltese, and Turkish
+latin3 the ISO-8859-3 encoding, covers Esperanto, Galician, Maltese, and
+ Turkish
 \end_layout
 
 \begin_layout Description
-latin4 the ISO-8859-4 encoding, covers the languages Estonian, Latvian,
- and Lithuanian
+latin4 the ISO-8859-4 encoding, covers Estonian, Latvian, and Lithuanian
 \end_layout
 
 \begin_layout Description
-latin5 the ISO-8859-9 encoding, like the ISO-8859-1 encoding but the Icelandic
letters are replaced by Turkish letters
+latin5 the ISO-8859-9 encoding, covers Turkish, like the ISO-8859-1 encoding
where the Icelandic letters are replaced by Turkish ones
 \end_layout
 
 \begin_layout Description
 \end_inset
 
 -ligature and some characters used for French and Finnish; latin9 should
- be the replacement or latin1
+ be the replacement for latin1
 \end_layout
 
 \begin_layout Description
-koi8-r standard Cyrillic especially for Russian
+pt154 Cyrillic for Kazakh
 \end_layout
 
 \begin_layout Description
-koi8-u Cyrillic for Ukrainian
+utf8 code page for unicode utf8
 \end_layout
 
 \begin_layout Description
-cp866 MS-DOS code page for Russian
+UTF8 code page provided for CJK languages (Chinese, Japanese, Korean)
 \end_layout
 
 \begin_layout Description
-cp1251 MS Windows code page for Cyrillic
-\end_layout
+utf8-plain code page provided to be used with for 
+\family sans
+XeTeX
+\family default
 
-\begin_layout Description
-iso88595 the ISO-8859-5 encoding, covers the languages Belorussian, Bulgarian,
- Macedonian, Serbian, and Ukrainian
+\begin_inset Foot
+status collapsed
+
+\begin_layout Standard
+XeTeX is a TeX typesetting engine, an alternative for LaTeX.
+ It natively supports Unicode while its input file is assumed to be in UTF-8
+ encoding.
 \end_layout
 
-\begin_layout Description
-pt154 Cyrillic for Kazakh
+\end_inset
+
+, which uses unicode directly, without the help of the LaTeX-package 
+\series bold
+inputenc
+\series default
+.
 \end_layout
 
 \begin_layout Description
-utf8 code page for unicode utf8
+utf8x code page provided for CJK languages
 \end_layout
 
 \begin_layout Subsubsection*
-Bullets
+Numbering & TOC
 \end_layout
 
 \begin_layout Standard
-Here you can adjust the characters for the itemize levels.
The itemize environment is described in section\InsetSpace ~
+You can adjust here the numbering depth of sections headings as described
+ in section\InsetSpace ~
 
 \begin_inset LatexCommand ref
-reference "sec:itemize"
+reference "sub:numbering-depth"
 
 \end_inset
 
@@ -29445,15 +29605,23 @@ reference "sec:itemize"
 \end_layout
 
 \begin_layout Subsubsection*
-Numbering
+Bibliography
 \end_layout
 
 \begin_layout Standard
-You can adjust here the numbering depth of sections headings as described
- in section\InsetSpace ~
+You can specify here a citation style using the LaTeX-packages 
+\series bold
+natbib
+\series default
+ or 
+\series bold
+jurabib
+\series default
+.
+ For a further description see section\InsetSpace ~
 
 \begin_inset LatexCommand ref
-reference "sub:numbering-depth"
+reference "sec:Bibliography"
 
 \end_inset
 
@@ -29461,20 +29629,50 @@ reference "sub:numbering-depth"
 \end_layout
 
 \begin_layout Subsubsection*
-Bibliography
+Math Options
+\end_layout
+
+\begin_layout Standard
+These options will force LyX to use the LaTeX-packages 
+\series bold
+amsmath
+\series default
+ and 
+\series bold
+esint
+\series default
+ or to use them automatically when they are needed.
 \end_layout
 
 \begin_layout Standard
-This menu needs the LaTeX-package 
-\family sans
-natbib
-\family default
- installed.
- If you use NatBib, you can choose between two citation styles.
- For a further description see section\InsetSpace ~
+
+\series bold
+amsmath
+\series default
+ is needed for many constructs, so when you get LaTeX-errors in formulas,
+ assure that you enabled AMS.
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+esint
+\series default
+ is used for special integral characters.
+\end_layout
+
+\begin_layout Subsubsection*
+Float Placement
+\end_layout
+
+\begin_layout Standard
+The float placement options are described in section
+\begin_inset Formula $\,$
+\end_inset
+
 
 \begin_inset LatexCommand ref
-reference "sec:Bibliography"
+reference "sub:Float-Placement"
 
 \end_inset
 
@@ -29482,21 +29680,38 @@ reference "sec:Bibliography"
 \end_layout
 
 \begin_layout Subsubsection*
-Packages
+Bullets
 \end_layout
 
 \begin_layout Standard
-There is only one package to choose.
-\family sans
-AMS math
-\family default
- will invoke the LaTeX-package amsmath, that is necessary for many math/formula
- constructs.
+Here you can adjust the characters for the itemize levels.
+ The itemize environment is described in section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sec:itemize"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+
 \end_layout
 
 \begin_layout Subsubsection*
-Preamble
+LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+{}
+\end_layout
+
+\end_inset
+
+eX Preamble
 \end_layout
 
 \begin_layout Standard
@@ -29508,12 +29723,14 @@ In this text field are entered commands to load special LaTeX-packages or
 \end_layout
 
 \begin_layout Standard
-An introduction in the LaTeX-syntax is given in the 
-\emph on
-Extended\InsetSpace ~
-Features
-\emph default
- manual.
+An introduction in the LaTeX-syntax is given in section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sub:LaTeX-Syntax"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Section
@@ -29716,10 +29933,16 @@ Allows you to add nonstandard characters to what the spell checker considers
 
 \begin_layout Subsection
 Thesaurus
+\begin_inset LatexCommand index
+name "Dialogs ! Thesaurus"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection
-Word Count
+Count Words
 \end_layout
 
 \begin_layout Standard
@@ -29763,6 +29986,12 @@ reference "sec:Basic-LyX-Setup"
 
 \begin_layout Subsection
 Preferences
+\begin_inset LatexCommand index
+name "Dialogs ! Preferences"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -30507,6 +30736,12 @@ name "cha:The-Preferences-dialog"
 \end_inset
 
 
+\begin_inset LatexCommand index
+name "Dialogs ! Preferences"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -31455,7 +31690,7 @@ name "cha:Units-available-in"
 \begin_layout Standard
 To understand the units described in this documentation, 
 \begin_inset LatexCommand ref
-reference "cap:Units-for-image"
+reference "cap:Units"
 
 \end_inset
 
@@ -31474,7 +31709,7 @@ status open
 
 \begin_layout Standard
 \begin_inset LatexCommand label
-name "cap:Units-for-image"
+name "cap:Units"
 
 \end_inset
 
@@ -32065,6 +32300,16 @@ key "lyxcredit"
 
 \end_layout
 
+\begin_layout Standard
+
+\newpage
+Bibliography created with the 
+\family sans
+Bibliography
+\family default
+ environment:
+\end_layout
+
 \begin_layout Bibliography
 \begin_inset LatexCommand bibitem
 label "Credits"
@@ -32072,6 +32317,49 @@ key "lyxcredit"
 
 \end_inset
 
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+addcontentsline{toc}{chapter}{
+\backslash
+bibname
+\backslash
+; 1}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Standard
+The command 
+\series bold
+
+\backslash
+addcontentsline
+\series default
+ is explained in the 
+\emph on
+Extended Features
+\emph default
+ manual.
+ It creates a TOC entry.
+\end_layout
+
+\begin_layout Standard
+A manual TOC entry for the bibliography is only necessary because we use
+ two different ones in one document.
+\end_layout
+
+\end_inset
+
 The LyX Team: 
 \begin_inset ERT
 status collapsed
@@ -32210,6 +32498,50 @@ target "http://www.tex.ac.uk/cgi-bin/texfaq2html"
 \end_inset
 
 
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset LatexCommand bibitem
+key "fancyhdr"
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf}
+{
+\end_layout
+
+\end_inset
+
+Documentation
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ of the LaTeX-package 
+\series bold
+fancyhdr
+\series default
+
+\begin_inset LatexCommand index
+name "LaTeX-packages ! fancyhdr"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Bibliography
@@ -32390,6 +32722,62 @@ status collapsed
 
 \begin_layout Standard
 
+\newpage
+Bibliography created from a BibTeX-database:
+\begin_inset LatexCommand bibtex
+options "biblio/alphadin"
+bibfiles "biblio/LyXDocs"
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+addcontentsline{toc}{chapter}{
+\backslash
+bibname
+\backslash
+; 2}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Standard
+The command 
+\series bold
+
+\backslash
+addcontentsline
+\series default
+ is explained in the 
+\emph on
+Extended Features
+\emph default
+ manual.
+ It creates a TOC entry.
+\end_layout
+
+\begin_layout Standard
+A manual TOC entry for the bibliography is only necessary because we use
+ two different ones in one document.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
 \series bold
 \begin_inset LatexCommand printindex
 
diff --git a/lib/doc/biblio/LyXDocs.bib b/lib/doc/biblio/LyXDocs.bib
new file mode 100644 (file)
index 0000000..32b8b81
--- /dev/null
@@ -0,0 +1,47 @@
+This file was created with JabRef 2.2.
+Encoding: Cp1252
+
+@MISC{Catalogue,
+  author = {Fenn, Jürgen and Williams, Graham},
+  title = {The TeX Catalogue},
+  howpublished = { \newline Internet: \url{http://www.ctan.org/tex-archive/help/Catalogue/bytopic.html}}
+}
+
+@BOOK{Knuth,
+  title = {The TeXbook},
+  publisher = {Addison-Wesley},
+  year = {1984},
+  author = {Knuth, Donald E.}
+}
+
+@BOOK{Kopka,
+  title = {A Guide to LaTeX Fourth Edition},
+  publisher = {Addison-Wesley},
+  year = {2003},
+  author = {Kopka, Helmut and Daly, Patrick W.}
+}
+
+@BOOK{Lamport,
+  title = {LaTeX: A Document Preparation System},
+  publisher = {Addison-Wesley},
+  year = {1994},
+  author = {Lamport, Leslie}
+}
+
+@BOOK{Mittelbach,
+  title = {The LaTeX Companion Second Edition},
+  publisher = {Addison-Wesley},
+  year = {2004},
+  author = {Mittelbach, Frank and Goossens, Michael}
+}
+
+@MISC{Credits,
+  title = {{The LyX Team}},
+  howpublished = {Internet: \href{http://www.lyx.org/cgi-bin/viewcvs.cgi/*checkout*/lyx-devel/lib/CREDITS?rev=HEAD\&content-type=text/plain}{Credits}}
+}
+
+@MISC{FAQ,
+  title = {LaTeX FAQ},
+  howpublished = {Internet: \url{http://www.tex.ac.uk/cgi-bin/texfaq2html}}
+}
+
diff --git a/lib/doc/biblio/alphadin.bst b/lib/doc/biblio/alphadin.bst
new file mode 100644 (file)
index 0000000..8496cac
--- /dev/null
@@ -0,0 +1,1665 @@
+%%  ALPHADIN.BST            Ausgabe [8]  10/10/00
+%%  (C) Klaus F. Lorenzen, Hamburg  email: lorenzen.marxen@t-online.de
+%%  ersetzt ALPHADIN.BST   Ausgabe [7,1]  vom 23/11/99
+%%  ersetzt DinAlpha.BST  von 1994
+%%  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%%  ALPHADIN.BST wurde entwickelt aus BibTeX standard bibliography style 
+%% `alpha'.Mit ALPHADIN.BST werden Literaturverzeichnisse gemaess der deutschen 
+%%  Zitiernorm DIN 1505 Teil 2 formatiert.
+%%  Analog zu den 4 US standard styles wird ein vollstaendiger Satz von 
+%%  4 DIN-gerechten bst-style Dateien veroeffentlicht (alphadin.bst,
+%%  plaindin.bst, unsrtdin.bst, abbrvdin.bst). Die gueltige Version
+%%  ist am schnellsten aus dem WWW ueber folgende URL zu beziehen
+%%            http://www.fh-hamburg.de/pers/Lorenzen/bibtex/
+%%            Stand: 16/6/99
+%%  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%%  WAS IST ALPHADIN.BST ?
+%%  Dieser style produziert "deutsche" Literaturzitate in Literaturverzeichnis-
+%%  sen gemaess der deutschen Norm DIN 1505, Teil 2 vom Jan. 1984.
+%%  Die Literaturzitate werden alphabetisch nach Verfassern sortiert
+%%  und sind durch abgekuerzte Verfasserbuchstaben plus Erscheinungsjahr in 
+%%  eckigen Klammern gekennzeichnet.
+%%  Es gibt Unterschiede zwischen der US- und der deutschen Zitierkonvention,
+%%  was die bibliographischen Typen und die verschiedenen Trennzeichen zwischen
+%%  den Feldern angeht. Daher ist auch keine 100%ige Abbildung der beiden 
+%%  Regelwerke aufeinander moeglich. Dies ist aber immer durch eine achtsame 
+%%  Erfassung beherrschbar! Die vorliegenden DIN-styles versuchen einige 
+%%  bibliographische Beschraenkungen der Originalstyles zu ueberwinden.
+%%  Es laesst sich in fast allen Faellen problemlos ein Original-bib-file
+%%  (d.i. die Datenbank, die die bibliographischen Informationen enthaelt)
+%%  wahlweise nach US-Norm oder deutscher DIN-Norm verarbeiten. 
+%%  [Beispiel: Produzieren Sie mit der XAMPL.bib-Datenbank aus dem Original-
+%%  paket 2 verschiedene Literaturverzeichnisse.]     Zu Gunsten
+%%  der Allgemeingueltigkeit von bib-files ist bei den Publikationstypen
+%%  (entry-types) und den bibliographischen Kategorien (fields) in Zweifels-
+%%  faellen immer die originale US-Bedeutung beibehalten worden. 
+%%  Bei der Erfassung von Literaturquellen in bib-files 
+%%  gelten folglich die in der TEX-Literatur veroeffentlichten Regeln.
+%%  Kommt es dennoch zu kleineren "Schoenheitsfehlern" im fertig gesetzten 
+%%  output, so koennen diese so gut wie immer durch eine leicht veraenderte 
+%%  Erfassung im bib-inputfile beseitigt werden. Last but not least koennen
+%%  Sie im output-file < *.bbl > noch letzte Hand zur Korrektur ansetzen.
+%
+%%  UMGANG MIT FEHLERMELDUNGEN
+%%  Noch nicht alle ueberfluessigen Fehlermeldungen des Original-style sind 
+%%  ausgemerzt. Die meisten Warnmeldungen beruhen auf
+%%  den andersartigen bibliographischen Regeln nach DIN 1505 und dem damit
+%%  verbundenen Ermessensspielraum, sind also in Wahrheit keine "Fehler". 
+%%  Dennoch sollten Sie diese Warnungen beachten, um herauszufinden, ob 
+%%  evtl. eine unzulaessige Kombination von Publikationstyp (=entry-type) und 
+%%  "fields" vorgenommen worden ist. Das fuehrt mitunter zu Wasserfallartigen 
+%%  Fehlermeldungen: meistens duerfen Sie das einfach ignorieren.
+%%
+%%  DANKSAGUNG
+%%  Hartmut Lueddecke, FH Hamburg  habe ich fuer viele Verbesserungsvorschlaege 
+%%  und stete Unterstuetzung zu danken. Vielen an dieser Stelle ungenannt
+%%  bleibenden Anwendern gilt mein Dank, die in den vergangenen Jahren durch 
+%%  ihre Aufmerksamkeit dazu beigetragen haben, Fehler auszumerzen und 
+%%  Verbesserungen vorzunehmen.
+%%
+%%  HINWEIS:  es gibt eine Kombination von ALPHADIN.BST mit dem NATBIB-Stil 
+%%            von Patrick W.Daly), womit Literaturverzeichnisse komplett nach
+%%            DIN 1505 Teil 2 UND Teil 3 formatiert werden koennen. Naeheres
+%%            per URL http://www.fh-hamburg.de/pers/Lorenzen/bibtex/
+%%
+%%  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%%  Eine ausfuehrliches Internet-Tutorial mit Beispielen ist in Vorbereitung. 
+%%  Fuer den Anfang ist diese Datei schon etwas kommentiert!
+%%          Kritik, Vorschlaege usw. bitte an :
+%%          FH Hamburg,  Klaus F. Lorenzen, Grindelhof 30, 20146 Hamburg
+%%          e-mail: lorenzen.marxen@t-online.de
+%%                             16/6/99
+%%  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+% version 0.99c for BibTeX versions 0.99c or later, LaTeX2e 
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% bstdin.doc, plaindin.bst, unsrtdin.bst, alphadin.bst, and abbrvdin.bst.
+% This restriction helps ensure that all standard styles are identical.
+%% ==>  The file btxbst.doc has the original documentation for style 'alpha'.
+%%      
+
+ENTRY
+  { address      %%  Verlagsort
+    author       %%  persoenlicher Urheber eines Werkes
+    booktitle    %%  a) Gesamttitel eines mehrbaendigen Werkes 
+%                %%  b) Titel des Sammelwerks, das einzelne selbstaendige
+%                %%     Beitraege mit eigenem Titel enthaelt (->incollection)
+    chapter      %%  Kapitel in einem Buch (Monographie)
+    edition      %%  Auflagevermerk
+    editor       %%  Persoenl.Herausgeber oder Koerperschaftlicher Herausgeber
+    howpublished %%  beliebiger Verlegervermerk: von wem, wo 
+    institution  %%  Institution, die e.Verlagsfreie Veroeffentlichung betreibt
+    isbn         %%  Standardnr fuer Buecher
+    issn         %%  - " -    :      Zeitschriften u. Serien
+    journal      %%  Titel einer Zeitschrift
+    key          %%  Zusaetzlich vergebener Sortierschluessel, mitunter notwend.
+    month        %%  naehere Bestimmung des Erscheinungsjahres (-> macro 's)
+    note         %%  freies Eingabefeld fuer zusaetzliche Informationen
+    number       %%  Mehrfachbedeutung in Abhaengigkeit vom Eingabetyp
+    organization %%  a) Name der Organisation/des Veranstalters e. Tagung,Konferenz
+%                %%  b) Name einer Firma/Gesellschaft, die ein ->manual herausgab
+    pages        %%  Umfangsangaben, meist Seitenzahlen
+    publisher    %%  Verlag
+    school       %%  Hochschule/Universitaet, die eine Dipl.-Arb./Dissertation veroeff.
+    series       %%  Titel e.Reihe, in der ein best. Buchtitel erschienen ist
+    title        %%  Titel einer (namentlich gekennzeichneten) Veroeffentlichung
+    type         %%  Zusatzfeld z.Kennzeichnung e.besonderen Publikationstyps
+    volume       %%  a) Zaehlung bei einem mehrbaendigen Werk (-> book)
+%                %%  b) Jahrgang einer Zeitschrift (-> article
+    year         %%  Erscheinungsjahr
+  }
+  {}
+  { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+%% die folg. BOOLE'sche VAR steuern d. Ausg. ": " nach Urheber-Feldern
+%%    und ". - " vor ISBN oder Anmerkungen (NOTE)
+
+INTEGERS { colon.after  period.dash }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+  #1 'mid.sentence :=
+  #2 'after.sentence :=
+  #3 'after.block :=
+  #4 'colon.after :=
+  #5 'period.dash :=
+}
+INTEGERS { zahl  lang }  
+
+STRINGS { h s t u v }    
+
+%% neue DIN-Funktion, 16/2/94
+
+FUNCTION {output.nonnull}
+{ 's :=
+  output.state after.block =
+      { add.period$  write$
+        newline$
+        "\newblock " write$
+      }
+      { output.state before.all =
+          {  write$ }     
+          {  output.state colon.after =
+               { ": " * write$
+                 newline$
+                 "\newblock " write$
+               }
+               { output.state period.dash =
+                   { ". -- " *  write$
+                     newline$
+                     "\newblock " write$
+                   }
+                   { output.state mid.sentence =
+                       { ", " * write$ }
+                       { write$ 
+                         newline$
+                         "\newblock " write$ 
+                       }
+                     if$
+                   }
+                if$
+               }
+            if$
+           }     
+         if$
+         after.block 'output.state :=
+       }
+     if$
+     s 
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+    'pop$
+    'output.nonnull
+  if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+  duplicate$ empty$
+    { pop$ "empty " t * " in " * cite$ * warning$ }
+    'output.nonnull
+  if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+  "\bibitem[" write$
+  label write$
+  "]{" write$
+  cite$ write$
+  "}" write$
+  newline$
+  ""
+  before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}   %%$$$  nach DIN neu 16/2/94
+{ write$
+  newline$
+}
+
+FUNCTION {set.period.dash}    %% Wenn ein ". - " die Satzteile trennen soll.!
+{ output.state before.all =
+    'skip$
+    { period.dash  'output.state := }
+  if$
+}
+
+%%   neu 16/2/94
+%%   prueft, ob PAGES, ISBN- oder NOTE-Feld vh. ist und setzt dann ". - " davor.
+
+FUNCTION {set.period.dash.check}  
+{ empty$                            
+    'skip$
+    'set.period.dash  
+  if$
+}
+
+FUNCTION {set.colon.after}   %%$$$ Wenn ein ": " d. Satzteile trennen soll!
+{ output.state before.all =
+    'skip$
+    { colon.after 'output.state  := }
+  if$
+}
+
+%% neu / alt 17/2/94          Wenn ein " " die Satzteile trennen soll.!
+FUNCTION {new.sentence}
+{ output.state before.all =
+     'skip$
+     { after.sentence 'output.state := }
+  if$
+}
+
+%% neu 17/2/94                 Wenn ein ", " die Satzteile trennen soll.!
+FUNCTION { part.of.sentence }
+{ output.state before.all =
+     'skip$
+     { mid.sentence 'output.state := }
+  if$
+}
+
+
+FUNCTION {not}
+{   { #0 }
+    { #1 }
+  if$
+}
+
+FUNCTION {and}
+{   'skip$
+    { pop$ #0 }
+  if$
+}
+
+FUNCTION {or}
+{   { pop$ #1 }
+    'skip$
+  if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+    'skip$
+    'new.sentence
+  if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+    { pop$ "" }
+    'skip$
+  if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+STRINGS { fkt }
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+    { pop$ "" }
+    { "\emph{" swap$ * "}" * }
+  if$
+}
+
+%% neu, setzt Autor/Hrsg. in Kapitaelchen 9/3/94
+FUNCTION { capitalize }
+ { duplicate$ empty$
+    { pop$ "" }
+    { "\textsc{" swap$ * "}" * }
+  if$
+}
+
+%%$$$ DIN-Quellenangabe : spezieller unselbst. Teil ist erschienen "In: " 
+%%                        dem bibliogr. selbst. Werk, z.B. Zeitschrift, Buch
+
+%% 1/4/96
+FUNCTION {article.in.journal}
+{ duplicate$ empty$
+    { pop$ "" }
+    { author missing$
+        { title missing$
+           { emphasize " " * * }%% wenn ein Zs-Heft als ganzes zitiert wird
+           { emphasize "{In: }" swap$ " " * * }        
+          if$
+        }
+        { emphasize "{In: }" swap$ " " * * }
+      if$
+     }
+  if$
+}
+
+%% nach Vorschlag von H.Lueddecke, um Adelspraedikate beim Sortieren
+%% nach den(m) Vornamen aufzufuehren. Lo, 2/11/94
+FUNCTION {format.names}
+{ 's :=
+  "" 'u  :=
+  #1 'nameptr :=
+  s num.names$ 'numnames :=
+  numnames 'namesleft :=
+    { namesleft #0 > }
+    {
+       s nameptr "{vv~}{ll}" format.name$ 't :=%% das ergibt DIN-Ansetzung
+       %% Lue's Vorschlag   s nameptr "{ll}" format.name$ 't :=
+       t capitalize 't :=
+       s nameptr "{, ff}" format.name$ 'u := 
+       %% Lue's Vorschlag   s nameptr "{, ff}{ vv}" format.name$ 'u := 
+       u  text.length$  'lang :=     
+       #1 'zahl :=
+       "" 'v :=
+         {  zahl  lang  <  }
+         {  u  zahl  #1  substring$  "~"  =  
+               {  v  ""  =
+                     {  u  #1  zahl  #1  -  substring$  'v :=  }
+                     'skip$
+                  if$
+                  v  u  zahl  #2  substring$  *  "."  *  'v :=  }
+               'skip$
+            if$
+            zahl  #1  +  'zahl :=  }
+      while$
+      v  ""  =
+         {  u  'v :=  }
+         'skip$
+      if$
+%%    der string fkt enthaelt " (Hrsg.)", wenn Editorfeld nicht leer ist
+      t  v  *  fkt  *  't :=  %% Komma nach Nachnamen wird oben erledigt!
+                              %% t enthaelt nun d. formatierten Nnamen, Vnamen
+      nameptr #1 >
+         { namesleft #1 >
+             { " ; " * t * }
+             { numnames #2 >
+                  { " " * }
+                  'skip$
+               if$
+%%                                %% n. schindle's hinweis 12/1/96 erweitert
+               t "\textsc{others}" = t "\textsc{others} (Hrsg.)" = or
+                    { " [u.~a.]" * }%%   13/2/94
+%%%%                  { "et~al." * } %% Geschmackssache, waehle eins von beiden
+                    { " ; " * t * }
+               if$
+               }
+            if$  %% Ende der namesleft-Pruefung
+          }
+            't    
+           %% hierdurch wird bei jed. Schleifendurchgang das sich komplet-
+           %% tierende Zwischen-Namensergebnis wieder auf den stack gelegt 
+
+       if$  %%  Ende der nameptr-Pruefung
+
+      nameptr #1 + 'nameptr :=
+      namesleft #1 -  'namesleft :=
+    }
+  while$  %%  Ende von { namesleft #0 > } ganz oben
+  "" 'fkt :=  %% fkt wird zurueckgesetzt
+}
+
+%%$$$ geaendert 14/2/94
+FUNCTION {format.authors}
+{ author empty$
+    { "" }
+    { author format.names }
+  if$
+}
+
+%%$$$ geaend. 20/2/94 Anpassung an DIN, wonach Autor + Hrsg. zusammen vorkom-
+%%                    men duerfen.!!
+
+FUNCTION {format.editors}
+{ editor empty$
+   { author empty$
+       { "Weder Verfasser noch Hrsg. in " cite$ * warning$ }
+       'skip$ 
+     if$
+    }
+    { author empty$
+        { " (Hrsg.)" 'fkt :=  
+          editor format.names 
+        }
+        { " (Hrsg.)" 'fkt :=  
+          " ; " * editor format.names *
+        }
+      if$
+     }
+   if$
+ } 
+
+%% Lo, 12/5/99 neue Funktion fuer proceedings, misc usw.
+
+FUNCTION { format.editors.organization }
+{ organization empty$
+    'skip$
+    { type$ "misc" =
+        { organization }
+        { " ; " * organization " (Veranst.)" *}
+      if$
+    }
+  if$
+}
+
+%%$$$  Sonderfall: Herausgeber bei Typ incollection, 21/2/94
+FUNCTION {format.ed.incoll}
+{ editor empty$
+     { "" }
+     { " (Hrsg.)" 'fkt :=  
+       editor format.names 
+     }
+  if$
+} 
+
+FUNCTION {format.title}
+{ title empty$
+    { "" }
+    { title }  %% Text so wie er dasteht im Feld title
+  if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+  ""
+    { t empty$ not }
+    { t #1 #1 substring$ "-" =
+       { t #1 #2 substring$ "--" = not
+           { "--" *
+             t #2 global.max$ substring$ 't :=
+           }
+           {   { t #1 #1 substring$ "-" = }
+               { "-" *
+                 t #2 global.max$ substring$ 't :=
+               }
+             while$
+           }
+         if$
+       }
+       { t #1 #1 substring$ *
+         t #2 global.max$ substring$ 't :=
+       }
+      if$
+    }
+  while$
+}
+
+%% geaendert 24/2/94
+FUNCTION {format.date}
+{ year empty$
+    { month empty$
+       { "" }
+       { "there's a month but no year in " cite$ * warning$
+         month
+       }
+      if$
+    }
+    { month empty$  %% b. Buechern nur Jahr, ohne Monat ausgeb. im Impressum
+          'year
+          { month " " * year * }
+      if$
+    }
+  if$
+}
+
+%%
+%%$$$  neue Fkt., 16/2/94 u. 14/3/94       das sog. Impressum
+FUNCTION {format.address.publisher.year}
+{  publisher empty$
+      { address empty$
+          { year empty$  
+              { "" }
+              { year } 
+            if$
+          }
+          { "Es gibt einen Verlagsort, aber keinen Verlag in " cite$ * warning$
+              address ", " * format.date * 
+          }
+        if$
+      }
+      { address empty$
+          { year empty$
+             { "Es gibt nur eine Verlagsangabe in " cite$ * warning$ 
+                publisher
+             }
+             { publisher ", " * format.date * }
+            if$
+          }
+          { year empty$
+              { address " : " * publisher * }
+              { address " : " * publisher * ", " * format.date * }
+            if$
+          }
+        if$
+      }
+  if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+    { "~" }
+    { " " }
+  if$
+  swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+    'pop$
+    { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+  if$
+}
+
+%% neu 8/3/94 in dieser Funkt. steckt im volume empty-Teil noch ein bug, der
+%%            aber ignoriert werden kann; das Ergebnis ist ok.
+FUNCTION {format.btitle.vol}
+{ number empty$
+   { series empty$
+     { volume empty$
+        { title emphasize }
+        { title emphasize ". Bd." * volume tie.or.space.connect }
+       if$
+     }
+     { volume empty$
+        { title emphasize }%% ein Buch, das zusaetzl. SERIES=Reihentitel besitzt
+    %% jetzt kommt d. Fall des mehrbaendigen Werkes mit Gesamttitel=SERIES
+    %% Zaehlung=VOLUME und Bandtitel=TITLE; 
+        { series emphasize ". Bd." * volume tie.or.space.connect  
+                                 ": " * "{\emph{" * title * "}}" * } 
+       if$
+     }
+     if$%% series-test
+   }
+   { title emphasize }%% wenn number ex., dann immer title-Feld
+  if$%% Ende number-test
+}
+
+%%$$$ neu 16/2/94
+%%   Serien- / Reihentitel werden im Feld series gespeichert. Weist die
+%%   Serie eine Zaehlung der Einzeltitel auf, gibt man entweder nach DIN alles 
+%%   in das Feld series so ein: ---> TITEL DER SERIE  NR. (der Vorlage) <---
+%%   z. B.  SERIES= { Mensch und Computer 12 }. 
+%%   [ Die Nummer der Vorlage darf auch durch " ; " abgesetzt werden. ]
+%%   oder:
+%%   man gibt die Zaehlung in das Feld NUMBER ein, z.B. NUMBER = {12}.
+%%   Achtung!!
+%%   Bei mehrbaendigen Werken steht d. Gesamttitel im Feld SERIES und die
+%%   Bandzaehlung im Feld VOLUME; NUMBER darf dann nicht besetzt sein!
+%%   Anderenfalls liegt ein Erfassungsfehler vor, da sich Reihe u. mehrbd.
+%%   Werk gegenseitig ausschliessen.
+
+FUNCTION {format.series.number.din}
+{ volume empty$
+    { number empty$
+         { series empty$
+               { "" }%%   Ausstieg mit Nullstring
+              { "(" series * ")" * } %% d. Seriennr koennte auch gleich hier
+                                      %% im SERIES-Feld miterfasst werden
+           if$
+          }      
+          { series empty$
+              { "(" number tie.or.space.connect ")" * 
+                 "there's a number but no series in " cite$ * warning$ 
+               }
+               { "(" series * number tie.or.space.connect ")" * }
+            if$
+          }
+       if$
+     }
+     { series empty$
+          { "" }
+          { type$ "proceedings" =  %% Sonderfall, es darf VOLUME und NUMBER ex. !
+                { number empty$  
+                    { "(" series * ")" * }
+                    { "(" series * number tie.or.space.connect ")" * }
+                  if$
+                }
+                { "" }%%   Ausstieg mit Nullstring, s. Kommentar
+            if$
+          }%% bei gezaehlten Reihen MUSS die Reihennr. im Feld NUMBER stehen!
+       if$ %% wenn also d. Feld VOLUME nicht leer ist, dann liegt ausser bei 
+           %% Typ PROCEEDINGS falsche
+      }     %% Erfassung vor und es erfolgt d. Ausstieg mit d. Nullstring!
+  if$ 
+}
+
+%% seltener Fall bei MISC: Ausgabe einer Serie; die Nummer der Serie muss
+%%  in SERIES miterfasst werden  16/6/99
+
+FUNCTION {format.misc.series}
+{ series empty$
+    { "" }
+    { "(" series * ")" * }
+  if$
+}
+
+
+%%$$$ 16/2/94
+%%  Auflagenvermerke gibt man komplett, einschliesslich Abkuerzungen in 
+%%  das Feld edition ein: ---> EDITION= { 3., erw. und verb. Aufl. }
+%%  oder fremdsprachlich:      EDITION= { 2nd edition }
+
+FUNCTION {format.edition}
+{ edition empty$
+    { "" }
+    { edition } 
+  if$
+}
+
+%%$$$ neu, 18/3/94
+FUNCTION { format.isbn.issn }
+{ isbn empty$
+     { issn empty$
+          { "" }
+          { "ISSN" issn n.dashify tie.or.space.connect }
+       if$
+     }
+     { "ISBN" isbn n.dashify tie.or.space.connect }
+  if$
+}
+
+%%$$$ geaendert, 21/2/94  gibt Seitenzahl bei BOOK-Typ und verwandten T. aus
+FUNCTION {format.pages.book}
+{ pages empty$
+    { "" } 
+    { "" pages n.dashify tie.or.space.connect " S" *} %% 17/12/95
+  if$
+}
+
+%%$$$  alle anderen Seitenang. zB. Zeitschrft., INBOOK usw. a la Orig., 9/3/94
+FUNCTION {format.pages}
+{ pages empty$
+    { "" }
+    { "S." pages n.dashify  tie.or.space.connect } 
+  if$
+}
+
+%%    Angaben v. Jahrgang, Jahr, Heftnr., Seiten bei Artikel-Typ
+%%    14/3/94, 26/2/97
+
+FUNCTION {format.vol.year.num.pages}
+{ volume field.or.null
+    year empty$
+      { "Es gibt einen Jahrgang, aber kein Jahr in " cite$ * warning$ }
+      { " (" year * ")" * * }
+    if$
+    month empty$
+    'skip$
+    { ", " month * * }
+    if$
+    number empty$
+    'skip$
+    { ", Nr. " number * * }
+    if$
+    pages empty$%%  Lo, 26/2/97
+      'skip$
+      { ", " format.pages * *}%% 
+    if$
+
+%%    pages empty$%%  das war die Fass. Nov. 96, die auch ging
+%%      'skip$
+%%      { duplicate$ empty$
+%%       { pop$ format.pages }%% da pages leer, wird nur "" auf stack gelegt
+%%          { ", " format.pages * *}
+%%        if$
+%%      }
+%%    if$
+
+}
+
+%% geaendert 21/2/94
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+    'format.pages
+    { type empty$
+       { "Kapitel " }
+       { type }
+      if$
+      chapter tie.or.space.connect
+      pages empty$
+       'skip$
+       { ", " * format.pages * }
+      if$
+    }
+  if$
+}
+
+%%$$$  geaendert 21/2/94
+FUNCTION {format.in.ed.booktitle.din}
+{ booktitle empty$
+    { "" }
+    { editor empty$
+       { volume empty$
+            { "{In: }" booktitle emphasize * }%% n. Belieben fettes In:
+            { "{In: }" booktitle emphasize *  %%      - " -
+              " Bd." volume tie.or.space.connect * 
+            }
+          if$
+        }
+       { volume empty$
+            { "{In: }" format.ed.incoll * ": " * booktitle emphasize * }
+            { "{In: }" format.ed.incoll * ": " * booktitle emphasize * 
+              " Bd." volume tie.or.space.connect * 
+            }
+          if$
+        }
+      if$
+    }
+  if$
+}
+
+%% geaendert 1/3/94
+FUNCTION {format.thesis.type}
+{ type empty$
+    'skip$
+    { pop$
+      type 
+    }
+  if$
+}
+
+%% geaendert 23/2/94    i.Orig. wird zuerst die number, dann der type getestet
+FUNCTION {format.tr.number.din}
+{ type empty$
+     { number empty$
+         { " -- Forschungsbericht" }   %%  bei Minimalangaben besser ohne "."!
+         { "(" number tie.or.space.connect "). -- Forschungsbericht" * }
+       if$
+     }
+     { number empty$
+         { " -- " type * }             %%  bei Minimalangaben besser ohne "."!
+         { "(" number tie.or.space.connect "). -- " * type * }
+       if$
+     }
+  if$
+}
+
+
+FUNCTION {format.article.crossref}
+{ key empty$
+    { journal empty$
+       { "need key or journal for " cite$ * " to crossref " * crossref *
+         warning$
+         ""
+       }
+       { "{In: }{\em " journal * "\/}" * }%% 
+      if$
+    }
+    { "{In: }" key * }%%  
+  if$
+  "{\cite{" * crossref * "}" * "}" * ", " * format.pages *
+%%  " (siehe \cite{" * crossref * "}" * "), " * format.pages *
+}
+
+%%geaendert 7/3/94 und noch einmal nach Lueddecke, s.o.
+FUNCTION {format.crossref.editor}
+%vorher,Lue  { editor #1 "{vv~}{ll}" format.name$ " (Hrsg.)" *
+ { editor #1 "{ll}" format.name$ " (Hrsg.)" *
+   editor num.names$ duplicate$
+   #2 >
+    { pop$ " [u.~a.]" * }
+%%    { pop$ " et~al." * }
+    { #2 <
+       'skip$
+       { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+            { " [u.~a.]" }
+%%         { " et~al." * }
+           { " ; " * editor #2 "{vv~}{ll}" format.name$ * " (Hrsg.)" * }
+         if$
+       }
+      if$
+    }
+  if$
+}
+
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+    { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+      "{\texttt{siehe}} "
+%%      "(siehe "
+    }
+    { ". -- Bd." volume tie.or.space.connect
+      " von " *
+    }
+  if$
+  editor empty$
+  editor field.or.null author field.or.null =
+  or
+    { key empty$
+       { series empty$
+           { "need editor, key, or series for " cite$ * " to crossref " *
+             crossref * warning$
+             "" *
+           }
+           { "" * }%% dadurch kommt nach der Bandzaehl. gleich das label 2/6/99
+%%         { "{\emph{" * series * "}} {\texttt{siehe}}" * }
+         if$
+       }
+       { key * }
+      if$
+    }
+    { "" * }%% nach der Bandzaehlung kommt gleich das label; Lo 2/6/99
+%%    { format.crossref.editor * }
+  if$
+  "{\cite{" * crossref * "}" * "}" * 
+%%  "{\cite{" * crossref * "}" * "}" * %%"), " * format.pages *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+  editor field.or.null author field.or.null =
+  or
+    { key empty$
+       { booktitle empty$
+           { "need editor, key, or booktitle for " cite$ * " to crossref " *
+             crossref * warning$
+             ""
+           }
+           { "{In: }{\emph " booktitle * "}" * }%%  fettes In: n. Belieben
+         if$
+       }
+       { "{In: }" }%% 26/5/99
+%%           { "{In: }" key * }
+      if$
+    }
+%%    { "{In: }{\em " booktitle * "\/}" * }%%
+    { "{In: }" }%% Lo, 10/2/99 es sieht der reine Bezug (Referenz) besser aus!
+  if$
+%%  " (siehe \cite{" * crossref * "}" * "), " * format.pages *
+  "{\cite{" * crossref * "}" * "}" * ", " * format.pages *%% das fette label, Lo 23/2/99
+%% alte Vers. bis  27/2/97 " (siehe \cite{" * crossref * "}" * ")" *
+}
+
+%%geaendert
+FUNCTION {article}
+{ output.bibitem
+  format.authors "author" output.check
+  set.colon.after
+  format.title "title" output.check
+  crossref missing$
+    { journal article.in.journal output.nonnull %   26/2/97
+      new.sentence 
+      format.vol.year.num.pages output
+    }
+    { format.article.crossref output.nonnull }
+  if$
+  note set.period.dash.check
+  note output
+  issn set.period.dash.check
+  format.isbn.issn output
+  fin.entry
+}
+
+%%$$$   geaendert, 20/2/94
+FUNCTION {book}
+{ output.bibitem
+  author empty$
+    { format.editors "author and editor" output.check }
+    { format.authors  format.editors output.nonnull }
+  if$
+  set.colon.after
+  crossref missing$
+    { format.btitle.vol "title" output.check }
+    { format.btitle "title" output.check }
+  if$
+  format.edition "edition" output.check  
+  format.address.publisher.year "publisher" output.check
+  new.sentence
+  crossref missing$
+    { format.series.number.din  output 
+      pages set.period.dash.check%%  19/5/99 wie bei adinat.bst
+      format.pages.book output  
+    }
+    { format.book.crossref output.nonnull 
+      pages set.period.dash.check
+      format.pages.book output  
+    }
+  if$
+  note set.period.dash.check
+  note output 
+  isbn set.period.dash.check
+  format.isbn.issn output
+  fin.entry
+}
+
+%% geaendert 23/2/94
+FUNCTION {inbook}
+{ output.bibitem
+%% unselbst. Teile eines Buches werden am Anf. genannt, dann d selbst. Quelle 
+  chapter empty$
+    { "Es fehlen die Kapitelangaben in " cite$ * warning$ }
+    { type empty$
+         { "Kap. " }%%  d.i. die Standardvorgabe
+         { type }%%  wenn man keine bes. Typform angeben will, koennte ein kl.
+%%                   Zwischenraum gewaehlt werden, z.B. " \, "
+      if$
+      chapter tie.or.space.connect " {In: }" * * %% n. Belieben fettes In:
+     }
+  if$
+
+%%   -------- jetzt kommt der bibliogr. selbst. Teil
+  author empty$
+    { format.editors "author and editor" output.check }
+    { format.authors output.nonnull
+    }
+  if$
+  set.colon.after
+  format.btitle.vol "title" output.check
+  crossref missing$
+    { format.edition output
+      format.address.publisher.year "publisher" output.check
+      new.sentence
+      format.series.number.din  output 
+%% vorher note ...
+      part.of.sentence
+      format.pages "pages" output.check
+      note set.period.dash.check
+      note output 
+    }
+    { format.book.crossref output.nonnull
+      note set.period.dash.check
+      note output 
+    }
+  if$
+  isbn set.period.dash.check
+  format.isbn.issn output
+  fin.entry
+}
+
+%%  geaenderte Seitenzahlausgabe, wenn crossref-Feld benutzt wird, 27/2/97
+FUNCTION {incollection}
+{ output.bibitem
+  format.authors "author" output.check
+  set.colon.after
+  format.title "title" output.check
+  crossref missing$
+    { format.in.ed.booktitle.din "booktitle" output.check
+      format.edition output
+      format.address.publisher.year "publisher" output.check
+      new.sentence
+      format.series.number.din output
+      note set.period.dash.check
+      note output 
+      isbn set.period.dash.check
+      issn set.period.dash.check
+      format.isbn.issn output
+      part.of.sentence
+      format.chapter.pages "pages" output.check
+    }
+    { format.incoll.inproc.crossref output.nonnull 
+      note set.period.dash.check
+      note output 
+      isbn set.period.dash.check
+      issn set.period.dash.check
+      format.isbn.issn output
+    }
+    if$
+ fin.entry
+}
+
+%%  geaendert 22/2/94, 15/11/96 (Hinweis v. Alin Shindun, Uni Siegen)
+FUNCTION {inproceedings}
+{ output.bibitem
+  format.authors "author" output.check
+  set.colon.after
+  format.title "title" output.check
+  crossref missing$
+    { format.in.ed.booktitle.din "booktitle" output.check
+      address empty$
+       { organization new.sentence.checka
+         organization output
+          part.of.sentence
+          format.address.publisher.year output
+       }
+       { format.address.publisher.year "publisher" output.check }
+      if$
+      new.sentence
+      series empty$ %%neu nach Hinweis v. Alin Shindun, 15/11/96
+        'skip$
+        { format.series.number.din output }
+      if$
+      note set.period.dash.check
+      note output 
+      isbn set.period.dash.check
+      issn set.period.dash.check
+      format.isbn.issn output
+      part.of.sentence
+      format.pages output
+    }
+    { format.incoll.inproc.crossref output.nonnull 
+      note set.period.dash.check
+      note output 
+      isbn set.period.dash.check
+      issn set.period.dash.check
+      format.isbn.issn output
+    }
+    if$ 
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }%% nach Patashnik, wg US-Kompatibilitaet
+
+%% geaendert, 11/6/99
+FUNCTION {manual}
+{ output.bibitem
+  author empty$
+    { organization empty$
+        { title empty$
+           'skip$
+            {format.btitle "title" output.check }
+          if$
+        }
+       { organization output.nonnull
+          set.colon.after
+          format.btitle "title" output.check
+       }
+      if$
+    }
+    { format.authors output.nonnull 
+      set.colon.after
+      format.btitle "title" output.check
+    }
+  if$
+  format.edition "edition" output.check
+  author empty$
+    { organization empty$
+       { address output
+          part.of.sentence
+       }
+       'skip$
+      if$
+    }
+    { address ": " *  organization * output
+      part.of.sentence
+    }
+  if$
+  format.date output
+  pages set.period.dash.check
+  format.pages.book output
+  note set.period.dash.check
+  note output
+  fin.entry
+}
+
+%%  MASTERSTHESIS ersetzt zugleich PHDTHESIS !!  KFL, 17/2/94 
+%%  Ausgabe-Standard ist "Diplomarbeit", fuer andere Abschlussarbeiten
+%%  bei der Erfassung TYPE="anderer Typ" eingeben.
+%%  z.B. TYPE={Dissertation}, TYPE={Diss.}, TYPE={Habil.}, TYPE={Magisterarb.}
+%%  
+FUNCTION {mastersthesis}
+{ output.bibitem
+  format.authors "author" output.check
+  set.colon.after
+  format.btitle "title" output.check
+  address output
+  part.of.sentence 
+  school "school" output.check
+  part.of.sentence
+  "Diplomarbeit" format.thesis.type output.nonnull
+  part.of.sentence
+  format.date "year" output.check
+%%  pages new.sentence.checka
+  pages set.period.dash.check
+  format.pages.book output
+  note set.period.dash.check
+  note output
+  fin.entry
+}
+
+FUNCTION {phdthesis} %%  {mastersthesis}% ist identisch bis auf Standardwert, s.o.
+{ output.bibitem
+  format.authors "author" output.check
+  set.colon.after
+  format.btitle "title" output.check
+  address output
+  part.of.sentence 
+  school "school" output.check
+  part.of.sentence
+  "Diss." format.thesis.type output.nonnull % koennte auch `Dissertation' sein
+  part.of.sentence
+  format.date "year" output.check
+  pages set.period.dash.check
+  format.pages.book output
+  note set.period.dash.check
+  note output
+  fin.entry
+}
+
+%% hiermit werden u.a. Normen erfasst
+FUNCTION {misc}
+{ output.bibitem
+  note empty$
+     { title empty$ 
+          { "" }
+          { format.authors format.editors output.nonnull
+            format.btitle output
+            howpublished output
+            format.date output 
+          } 
+        if$
+      }
+      { note duplicate$ #1 #4 substring$ "Norm" =
+           { output new.sentence 
+             format.date output 
+             format.title output
+           }
+           { pop$ ""
+             author empty$
+              { editor empty$
+                { organization empty$
+                  { 'skip$ }
+                  { format.editors.organization output.nonnull 
+                    set.colon.after }
+                  if$
+                }   
+                { format.editors format.editors.organization output.nonnull 
+                  set.colon.after }
+               if$
+              }              
+              { format.authors format.editors output.nonnull 
+                 set.colon.after }
+             if$
+             format.btitle output
+             howpublished output
+             format.date output 
+             new.sentence
+             format.misc.series output%%  neu 16/6/99
+             note set.period.dash.check
+             note output
+           }
+         if$
+       }
+   if$
+  fin.entry
+}
+
+FUNCTION {booklet} {misc}%% booklet ist nach dt. Vorgehensweise oft ueberfluessig
+
+%% geaendert 21/5/99
+FUNCTION {proceedings}
+{ output.bibitem
+    editor empty$
+      { organization empty$
+           { "" } 
+           { organization " (Veranst.)" * output }
+        if$
+      }
+      { format.editors format.editors.organization output.nonnull }
+    if$
+  set.colon.after
+  format.btitle "title" output.check
+  volume empty$
+    { "" output.nonnull } 
+    { "{\textnormal{Bd.}}" volume tie.or.space.connect emphasize "volume" output.check }
+  if$
+  format.address.publisher.year "publisher" output.check
+  new.sentence
+  format.series.number.din output.nonnull
+  pages set.period.dash.check
+  format.pages.book output
+  note set.period.dash.check
+  note output 
+  isbn set.period.dash.check
+  issn set.period.dash.check
+  format.isbn.issn output
+  fin.entry
+}
+
+%% geaendert 23/2/94 auch fuer Firmenschriften u."a. zu benutzen
+FUNCTION {techreport}
+{ output.bibitem
+  author empty$
+    { format.editors "author and editor" output.check }
+    { format.authors  format.editors output.nonnull }
+  if$
+  set.colon.after
+  format.title "title" output.check
+  institution new.sentence.checka
+  institution empty$
+     'skip$
+     { " / " institution *  output.nonnull }
+  if$
+  format.address.publisher.year output
+  number new.sentence.checka
+  format.tr.number.din "number" output.check
+%%  new.sentence
+  pages set.period.dash.check
+  format.pages.book output
+  note "note" output.check
+  isbn set.period.dash.check
+  issn set.period.dash.check
+  format.isbn.issn output
+  fin.entry
+}
+
+FUNCTION {unpublished} {misc}%% author, title, note muessen sein! howpublished
+%%                           %% entfaellt natuerlich 
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"M{\^^b a}rz"}
+%% nach Bernd Raichle, Febr. 1999
+
+MACRO {apr} {"April"}
+
+MACRO {mai} {"Mai"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {okt} {"Oktober"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dez} {"Dezember"}
+
+MACRO {dec} {"Dezember"}
+
+%%  stillgelegte Beispiele fuer den Gebrauch von Kuerzeln (hier Zs-Titel).
+
+%%MACRO {acmcs} {"ACM Computing Surveys"}
+
+%%MACRO {acta} {"Acta Informatica"}
+
+%%MACRO {cacm} {"Communications of the ACM"}
+
+%%MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+%%MACRO {ibmsj} {"IBM Systems Journal"}
+
+%%MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+%%MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+%%MACRO {ieeetcad}
+%% {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+%%MACRO {ipl} {"Information Processing Letters"}
+
+%%MACRO {jacm} {"Journal of the ACM"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+  "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+  'len :=
+  s #1 len substring$ =
+    { s len #1 + global.max$ substring$ }
+    's
+  if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+  s num.names$ 'numnames :=
+  numnames #1 >
+    { numnames #4 >
+       { #3 'namesleft := }
+       { numnames 'namesleft := }
+      if$
+      #1 'nameptr :=
+      ""
+       { namesleft #0 > }
+       { nameptr numnames =
+           { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+%%             { "\," *  %% kein besonderes Zeichen fuer "others" i. label
+               { "{\etalchar{+}}" *   %% ein plus-Zeichen (+) fuer "others"!
+                 #1 'et.al.char.used :=
+               }
+%%             { s nameptr "{v{}}{l{}}" format.name$ * }
+               { s nameptr "{l{}}" format.name$ * }
+             if$
+           }
+%%         { s nameptr "{v{}}{l{}}" format.name$ * }
+           { s nameptr "{l{}}" format.name$ * }
+         if$
+         nameptr #1 + 'nameptr :=
+         namesleft #1 - 'namesleft :=
+       }
+      while$
+      numnames #4 >
+%%        { "\," *  %%  s. Bemerkung oben
+       { "{\etalchar{+}}" *
+         #1 'et.al.char.used :=
+       }
+       'skip$
+      if$
+    }
+%%  { s #1 "{v{}}{l{}}" format.name$
+    { s #1 "{l{}}" format.name$
+      duplicate$ text.length$ #2 <
+       { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ } %%  vgl. Anmerkung!
+       'skip$
+      if$
+    }
+  if$
+}
+%% Anmerkung, Lo 14/12/95:
+%% wenn man in der letzten label-Bearbeitung #4 statt #3 setzt, dann werden
+%% auch Umlaute oder á an 3. Stelle im Namen korrekt in das label genommen.
+%% Tip: Aendere diese Zahl nur, wenn in einer Lit.-Liste der Umlautsonderfall
+%% stoerend auffaellt.
+
+FUNCTION {author.key.label}
+{ author empty$
+    { key empty$
+       { cite$ #1 #3 substring$ }
+       { key #3 text.prefix$ }
+      if$
+    }
+    { author format.lab.names }
+  if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+    { editor empty$
+       { key empty$
+           { cite$ #1 #3 substring$ }
+           { key #3 text.prefix$ }
+         if$
+       }
+       { editor format.lab.names }
+      if$
+    }
+    { author format.lab.names }
+  if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+    { key empty$
+       { organization empty$
+           { cite$ #1 #3 substring$ }
+           { "The " #4 organization chop.word #3 text.prefix$ }
+         if$
+       }
+       { key #3 text.prefix$ }
+      if$
+    }
+    { author format.lab.names }
+  if$
+}
+%% neu 19/5/99 damit eigene labels fuer Konferenzen erzeugt werden koennen,
+%%             darf man zusaetzlich auch ein key-Feld eingeben. Das produziert
+%%             dann vorrangig das label.
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+    { key empty$
+       { organization empty$
+           { cite$ #1 #3 substring$ }
+           { "The " #4 organization chop.word organization } %% Lo, 26/1/98
+%%         { "The " #4 organization chop.word #3 text.prefix$ }
+         if$
+       }
+       { key #5 text.prefix$ }%%  man kann Laenge des key einstellen
+      if$
+    }
+    { key empty$%%  wenn key vh., dann macht er das label! Lo,18/5/99
+        { editor format.lab.names }
+        { key #5 text.prefix$ }
+      if$
+    }
+  if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+  type$ "inbook" =
+  or
+    'author.editor.key.label
+    { type$ "proceedings" =
+       'editor.key.organization.label
+       { type$ "manual" =
+           'author.key.organization.label
+           'author.key.label
+         if$
+       }
+      if$
+    }
+  if$
+  duplicate$
+  year field.or.null purify$ #-1 #2 substring$
+  *
+  'label :=
+  year field.or.null purify$ #-1 #4 substring$
+  *
+  sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+  #1 'nameptr :=
+  ""
+  s num.names$ 'numnames :=
+  numnames 'namesleft :=
+    { namesleft #0 > }
+    { nameptr #1 >
+       { "   " * }
+       'skip$
+      if$
+%     s nameptr "{vv{ } }{ll{ }}{  ff{ }}{  jj{ }}" format.name$ 't :=
+%
+%     Zeile geaendert, damit die Namenszusaetze wie von, de usw nach deutscher
+%     Norm richtig einsortiert werden.   27.10.94 Lueddecke
+%
+      s nameptr "{ll{ }}{  ff{ }}{ vv{ }}{  jj{ }}" format.name$ 't :=
+      nameptr numnames = t "others" = and
+       { "[u.~a.]" * }
+         %%            { "et al" * }% Geschmackssache
+       { t sortify * }
+      if$
+      nameptr #1 + 'nameptr :=
+      namesleft #1 - 'namesleft :=
+    }
+  while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+  "A " #2
+    "An " #3
+      "Der " #4
+        "Die " #4
+          "Das " #4
+            "Ein " #4
+              "Eine " #5 
+                  "The " #4 t chop.word
+               chop.word
+             chop.word
+           chop.word
+         chop.word
+       chop.word
+    chop.word
+  chop.word
+  sortify
+  #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+    { key empty$
+       { "to sort, need author or key in " cite$ * warning$
+         ""
+       }
+       { key sortify }
+      if$
+    }
+    { author sort.format.names }
+  if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+    { editor empty$
+       { key empty$
+           { "to sort, need author, editor, or key in " cite$ * warning$
+             ""
+           }
+           { key sortify }
+         if$
+       }
+       { editor sort.format.names }
+      if$
+    }
+    { author sort.format.names }
+  if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+    { organization empty$
+       { key empty$
+           { "to sort, need author, organization, or key in " cite$ * warning$
+             ""
+           }
+           { key sortify }
+         if$
+       }
+       { "The " #4 organization chop.word sortify }
+      if$
+    }
+    { author sort.format.names }
+  if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+    { organization empty$
+       { key empty$
+           { "to sort, need editor, organization, or key in " cite$ * warning$
+             ""
+           }
+           { key sortify }
+         if$
+       }
+       { "The " #4 organization chop.word sortify }
+      if$
+    }
+    { editor sort.format.names }
+  if$
+}
+
+FUNCTION {presort}
+{ calc.label
+  sort.label
+  "    "
+  *
+  type$ "book" =
+  type$ "inbook" =
+  or
+    'author.editor.sort
+    { type$ "proceedings" =
+       'editor.organization.sort
+       { type$ "manual" =
+           'author.organization.sort
+           'author.sort
+         if$
+       }
+      if$
+    }
+  if$
+  *
+  "    "
+  *
+  year field.or.null sortify
+  *
+  "    "
+  *
+  title field.or.null
+  sort.format.title
+  *
+  #1 entry.max$ substring$
+  'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+  #0 int.to.chr$ 'last.sort.label :=
+  "" 'next.extra :=
+  #0 'longest.label.width :=
+  #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+    { last.extra.num #1 + 'last.extra.num :=
+      last.extra.num int.to.chr$ 'extra.label :=
+    }
+    { "a" chr.to.int$ 'last.extra.num :=
+      "" 'extra.label :=
+      sort.label 'last.sort.label :=
+    }
+  if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+    { "a" 'extra.label := }
+    'skip$
+  if$
+  label extra.label * 'label :=
+  label width$ longest.label.width >
+    { label 'longest.label :=
+      label width$ 'longest.label.width :=
+    }
+    'skip$
+  if$
+  extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}%%lt. Original wiederhergestellt 4/1/96
+{ et.al.char.used
+    { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+    'skip$
+  if$
+  preamble$ empty$
+    'skip$
+    { preamble$ write$ newline$ }
+  if$
+  "\begin{thebibliography}{"  longest.label  * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+  "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+%% Ende von ALPHADIN.BST  KFL, 23/11/99