]> git.donarmstrong.com Git - lilypond.git/commitdiff
release: 1.2.9 release/1.2.9
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 20 Sep 1999 11:46:33 +0000 (13:46 +0200)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 20 Sep 1999 11:46:33 +0000 (13:46 +0200)
65 files changed:
CHANGES
Documentation/tex/reference-manual.tely
TODO
VERSION
buildscripts/GNUmakefile [changed mode: 0644->0755]
buildscripts/docxx-lily.sh [changed mode: 0644->0755]
buildscripts/find-typenames.pl [changed mode: 0644->0755]
buildscripts/gen-sitemap.sh [changed mode: 0644->0755]
buildscripts/genheader.py [changed mode: 0644->0755]
buildscripts/lilypond-login.sh [changed mode: 0644->0755]
buildscripts/lilypond-profile.sh [changed mode: 0644->0755]
buildscripts/lilypond.sh [changed mode: 0644->0755]
buildscripts/localpackage.py [changed mode: 0644->0755]
buildscripts/ltmain.sh [changed mode: 0644->0755]
buildscripts/mail-address.sh [changed mode: 0644->0755]
buildscripts/mf-to-table.py [changed mode: 0644->0755]
buildscripts/mf-to-xpms.sh [changed mode: 0644->0755]
buildscripts/mutopia-index.py [changed mode: 0644->0755]
buildscripts/profile-conf.sh [changed mode: 0644->0755]
buildscripts/ps-to-pfa.py [changed mode: 0644->0755]
buildscripts/run-lilypond.sh [changed mode: 0644->0755]
buildscripts/show-current.sh [changed mode: 0644->0755]
buildscripts/tfmtoafm.sh [changed mode: 0644->0755]
flower/include/parray.hh
input/bugs/barline.ly
input/bugs/ch.ly [deleted file]
input/bugs/hara.ly [new file with mode: 0644]
input/test/GNUmakefile
input/test/script-horizontal.ly [new file with mode: 0644]
input/test/xaxisscript.ly [deleted file]
lily/all-font-metrics.cc
lily/axis-group-item.cc
lily/axis-group-spanner.cc
lily/break-algorithm.cc
lily/gdb.cc [new file with mode: 0644]
lily/gourlay-breaking.cc
lily/graphical-axis-group.cc
lily/include/break.hh
lily/include/graphical-axis-group.hh
lily/include/item.hh
lily/include/line-of-score.hh
lily/include/score-element.hh
lily/include/spanner.hh
lily/item.cc
lily/lily-guile.cc
lily/line-of-score.cc
lily/main.cc
lily/multi-measure-rest.cc
lily/scm-bintree.cc [deleted file]
lily/score-element.cc
lily/score-engraver.cc
lily/script-engraver.cc
lily/separating-group-spanner.cc
lily/spacing-spanner.cc
lily/spanner.cc
lily/staff-sym.cc
lily/word-wrap.cc
make/out/lilypond.lsm
make/out/lilypond.spec
po/de.po [new file with mode: 0644]
scripts/ly2dvi.py
scripts/mudela-book.py
stepmake/stepmake/documentation-rules.make
stepmake/stepmake/executable-targets.make
stepmake/stepmake/executable-vars.make

diff --git a/CHANGES b/CHANGES
index 193094e98937f5b4d1d6ee8bda23e40d659dc60f..6acfa15ad880b0fc8e8c1a785f62bbc4b6cb5ceb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,10 @@
+pl 8.hwn1
+       - Erwin Dieterich: german translation.
+       - dependency helper funcs simplified.
+       - junk breaking stats.
+       - cleanups: Line_of_score also is X_AXIS group. Score_columns
+are put into Line_of_score of score.
+
 pl 8.jcn2
        - scripts/mudela-book.py: use hash of full .ly contents (by default)
        - bf: footify html doc upon creation too
@@ -10,6 +17,7 @@ pl 8.jcn1
          (none identified as yet)
        - Update of po/nl.po
 
+*******
 pl 7.hwn1
        - website fixes.
        - spacer cleanups
@@ -17,7 +25,7 @@ pl 7.hwn1
 pl 7.jcn1
        - fixes to nl.po
 
-****************
+********
 
 pl 6.uu1
        - website fixes.
index a34e68d7ea84b4442eb6303ab37f1586ba0dedfd..426b878046f1f2c503127f2c3b5272b571e2b478 100644 (file)
@@ -2,40 +2,23 @@
 @setfilename reference-manual.info
 @settitle LilyPond 1-2-0 Reference Manual
 
-@c ls-latex
-@ignore
-@author Adrian Mariano, Han-Wen Nienhuys and Jan Nieuwenhuizen
-@title LilyPond Regression test
-@end ignore
-
-
-@ifinfo
-
-This is the reference documentation to LilyPond.  It is not a tutorial.
-It was written by Han-Wen Nienhuys, Adrian Mariano and Jan Nieuwenhuizen
-
-
-Copyright 1999 by its authors.
-@end ifinfo
-
-@titlepage
-@sp 10
-@comment The title is printed in a large font.
-@center @titlefont{LilyPond Reference manual}
-@vskip 20pt
-@center @titlefont{Han-Wen Nienhuys, Adrian Mariano, Jan Nieuwenhuizen}
-
-@vskip 0pt plus 1filll
-Copyright @copyright{} 1999 by its authors
-@end titlepage
-
-
 @node Top, , Running LilyPond, (dir)
 @top
 @menu
 * LilyPond 1-2-0 Reference Manual::LilyPond 1-2-0 Reference Manual
 @end menu
 
+@macro keyindex {word}
+@cindex \word\
+
+@end macro
+
+@macro indexcode {word}
+@cindex \word\
+
+@end macro
+
+
 
 @node LilyPond 1-2-0 Reference Manual, Overview, , Top
 @menu
@@ -79,6 +62,7 @@ Copyright @copyright{} 1999 by its authors
 @chapter LilyPond 1.2.0 Reference Manual
 
 
+
 @node Overview, Top level, LilyPond 1-2-0 Reference Manual, LilyPond 1-2-0 Reference Manual
 @section Overview
 
@@ -121,30 +105,28 @@ definition.  A score block has the following syntax:
 
 @quotation
 
-  @code{\score @{}   @code{@}}
+  @code{\score @{} @var{musicexpr} @var{outputdefs} @code{@}}
 @end quotation
 
- are zero or more output definitions.  If no output
+@var{outputdefs} are zero or more output definitions.  If no output
 definition is supplied, the default @code{\paper} block will be added.
 
 
 
 @cindex header
 
-@cindex header@@@code{\header}
+@keyindex{header}
 
 The syntax is
 
 @quotation
 
-  @code{\header} @code{@{}  = ;
-                         = ; ... @code{@}}
+  @code{\header} @code{@{} @var{key1} = @var{val1};
+                        @var{key2} = @var{val2}; ... @code{@}}
 @end quotation
 
 A header describes the file's contents.  It can also appear in a
-@code{\score} block.  Tools like @code{ly2dvi}
-@cindex ly2dvi@@@code{ly2dvi}
- can use this
+@code{\score} block.  Tools like @code{ly2dvi}@indexcode{ly2dvi} can use this
 information for generating titles.  Key values that are used by
 @code{ly2dvi} are: title, subtitle, composer, opus, poet, instrument,
 metre, arranger, piece and tagline.
@@ -158,23 +140,19 @@ Note name tables can be specified using
 
 @quotation
 
-  @code{\notenames}
-@cindex notenames@@@code{\notenames}
-
-    @code{@{}  @code{@}}
+  @code{\notenames}@keyindex{notenames}
+    @code{@{} @var{assignmentlist} @code{@}}
 @end quotation
 
- is a list of definitions of the form
+@var{assignmentlist} is a list of definitions of the form
 
 @quotation
 
-   = 
+  @var{name} = @var{pitch}
 @end quotation
 
 Chord modifiers can be set analogously, with
-@code{\chordmodifiers}
-@cindex chordmodifiers@@@code{\chordmodifiers}
-.
+@code{\chordmodifiers}@keyindex{chordmodifiers}.
 
 
 
@@ -189,18 +167,14 @@ directly.
 
 @quotation
 
-  @code{\scm}
-@cindex scm@@@code{\scm}
-  @code{;}
+  @code{\scm}@keyindex{scm} @var{scheme} @code{;}
 @end quotation
 
 Evaluates the specified Scheme code.  The result is discarded.
 
 @quotation
 
-  @code{\scmfile}
-@cindex scmfile@@@code{\scmfile}
-  @code{;}
+  @code{\scmfile}@keyindex{scmfile} @var{filename} @code{;}
 @end quotation
 
 Reads Scheme code from the specified file.  The result is discarded.
@@ -221,7 +195,7 @@ forbidden after top level assignments.
 
 @cindex comment
 
-@cindex %@@@code{%}
+@indexcode{%}
 
 
 A one line comment is introduced by a `@code{%}' character. 
@@ -309,31 +283,15 @@ with reals.
 Formed from an optional minus sign and a sequence of digits followed
 by a @emph{required} decimal point and an optional exponent such as
 @code{-1.2e3}.  Reals can be built up using the usual operations:
-`@code{+}
-@cindex +@@@code{+}
-', `@code{-}
-@cindex -@@@code{-}
-', `@code{*}
-@cindex *@@@code{*}
-', and
-`@code{/}
-@cindex /@@@code{/}
-', with parentheses for grouping.
+`@code{+}@indexcode{+}', `@code{-}@indexcode{-}', `@code{*}@indexcode{*}', and
+`@code{/}@indexcode{/}', with parentheses for grouping.
 
 A real constant can be followed by one of the dimension
 keywords:
 @cindex dimensions
- @code{\mm}
-@cindex mm@@@code{\mm}
-,
-@code{\pt}
-@cindex pt@@@code{\pt}
-, @code{\in}
-@cindex in@@@code{\in}
-, or
-@code{\cm}
-@cindex cm@@@code{\cm}
-, for millimeters, points, inches and
+ @code{\mm}@keyindex{mm},
+@code{\pt}@keyindex{pt}, @code{\in}@keyindex{in}, or
+@code{\cm}@keyindex{cm}, for millimeters, points, inches and
 centimeters, respectively.  This converts the number to a real that
 is the internal representation of dimensions.
 
@@ -357,9 +315,7 @@ anywhere.
 
 @quotation
 
-  @code{\maininput}
-@cindex maininput@@@code{\maininput}
-
+  @code{\maininput}@keyindex{maininput}
 @end quotation
 
 This command is used in init files to signal that the user file must
@@ -367,20 +323,16 @@ be read. This command cannot be used in a user file.
 
 @quotation
 
-  @code{\include}
-@cindex include@@@code{\include}
+  @code{\include}@keyindex{include} @var{file}
 @end quotation
 
-Include .  The argument  may be a quoted string (an
+Include @var{file}.  The argument @var{file} may be a quoted string (an
 unquoted string will not work here!) or a string identifier.  The full
 filename including the @file{.ly} extension must be given,
 
 @quotation
 
-  @code{\version}
-@cindex version@@@code{\version}
-  @code{;}
+  @code{\version}@keyindex{version} @var{string} @code{;}
 @end quotation
 
 Specify the version of LilyPond that a file was written for.  The
@@ -416,9 +368,7 @@ catalan.ly     do  re  mi  fa  sol la  sid si  -d/-s       -b
 @end quotation
 
 Pitch names can be redefined using the
-@code{\notenames}
-@cindex notenames@@@code{\notenames}
- command, see
+@code{\notenames}@keyindex{notenames} command, see
 subsection @xref{notenames}.
 
 
@@ -450,9 +400,7 @@ different modes have different rules for deciding what is a word.
 @cindex mode!note
 
     Note mode is introduced by the keyword
-    @code{\notes}
-@cindex notes@@@code{\notes}
-.  In Note mode, words can only
+    @code{\notes}@keyindex{notes}.  In Note mode, words can only
     contain alphabetic characters.  If @code{word} is encountered,
     LilyPond first checks for a notename of @code{word}.  If no
     notename is found, then @code{word} is treated as a string.
@@ -464,9 +412,7 @@ different modes have different rules for deciding what is a word.
 @cindex mode!chord
 
     Chord mode is introduced by the keyword
-    @code{\chords}
-@cindex chords@@@code{\chords}
-.  It is similar to Note mode, but
+    @code{\chords}@keyindex{chords}.  It is similar to Note mode, but
     words are also looked up in a chord modifier table (containing
     @code{maj}, @code{dim}, etc).
 
@@ -479,9 +425,7 @@ different modes have different rules for deciding what is a word.
 @cindex mode!lyric
 
     Lyrics mode is introduced by the keyword
-    @code{\lyrics}
-@cindex lyrics@@@code{\lyrics}
-.  This mode has rules that make it
+    @code{\lyrics}@keyindex{lyrics}.  This mode has rules that make it
     easy to include punctuation and diacritical marks in words.  A
     word in Lyrics mode begins with: an alphabetic character,
     `@code{_}', `@code{?}', `@code{!}', `@code{:}', `@code{'}', the
@@ -525,9 +469,7 @@ _ _ _ _         % 4 words, each one a space
 @end table
 
 It is possible to create words that break the rules by prefixing them
-with the dollar sign `@code{$}
-@cindex $@@@code{$}
-'.  Regardless of the context, a
+with the dollar sign `@code{$}@indexcode{$}'.  Regardless of the context, a
 word beginning with `@code{$}' extends until the next white space
 character.  Such words can contain numbers (even in Note mode), or
 other forbidden characters.  The dollar sign can be used to create
@@ -550,21 +492,13 @@ versions, thus the use of the dollar sign is discouraged.}
   @item  strings
   @item  music expressions
   @item  durations of notes and rests (specified with
-       @code{\notenames}
-@cindex notenames@@@code{\notenames}
-)
+       @code{\notenames}@keyindex{notenames})
   @item  note name tables
   @item  context definitions, part of output definitions.  See
        section @xref{contextdefs} for more information
-  @item  output definitions (like @code{\paper}
-@cindex paper@@@code{\paper}
- blocks
-       and @code{\midi}
-@cindex midi@@@code{\midi}
- blocks)
-  @item  score definitions (@code{\score}
-@cindex score@@@code{\score}
- blocks)
+  @item  output definitions (like @code{\paper}@keyindex{paper} blocks
+       and @code{\midi}@keyindex{midi} blocks)
+  @item  score definitions (@code{\score}@keyindex{score} blocks)
 @end itemize
 
 Type is a syntactical property: @emph{Mudela} has no real type system,
@@ -574,20 +508,18 @@ and integers in arithmetic expressions, and ``type
 errors''
 @cindex type error
  (e.g., using a string identifier to
-initialize a @code{\paper}
-@cindex paper@@@code{\paper}
- block) will yield a ``parse
+initialize a @code{\paper}@keyindex{paper} block) will yield a ``parse
 error''.
 
 Identifiers allow objects to be assigned to names.  To assign an
-identifier, you use `=' and to refer to an
+identifier, you use `@var{name}=@var{value}' and to refer to an
 identifier, you preceed its name with a backslash:
-`@code{\}'.  Identifier assignments must appear at top level
+`@code{\}@var{name}'.  Identifier assignments must appear at top level
 in the @emph{Mudela} file.  Semicolons are forbidden after assignments
 appearing at top level but they are obligatory after assignments
 appearing in the @code{\paper} block, see Section @xref{paper}.
 
- is any of the types listed above.
+@var{value} is any of the types listed above.
 
 An identifier can be created with any string for its name, but you
 will only be able to refer to identifiers whose names begin with a
@@ -605,9 +537,7 @@ identifier in terms of its old value, e.g.
 
 When an identifier is referenced, the information it points to is
 copied.  Therefore it only makes sense to put identifiers for
-translators, output definitions, and @code{\score}
-@cindex score@@@code{\score}
-
+translators, output definitions, and @code{\score}@keyindex{score}
 blocks as the first item in a block.  For this reason, if you
 reference a @code{\foo} variable in a @code{\foo} block, it must be the
 first item in the list following @code{\foo}.@footnote{@code{\paper@{\one
@@ -664,14 +594,12 @@ The syntax for pitch specification is
 
 @quotation
 
-  @code{\musicalpitch}
-@cindex musicalpitch@@@code{\musicalpitch}
-
-    @code{@{}    @code{@}}
+  @code{\musicalpitch}@keyindex{musicalpitch}
+    @code{@{} @var{octave} @var{note} @var{shift} @code{@}}
 @end quotation
 
- is specified by an integer, zero for the octave
-containing middle C.   is a number from 0 to 7, with 0
+@var{octave} is specified by an integer, zero for the octave
+containing middle C.  @var{note} is a number from 0 to 7, with 0
 corresponding to C and 7 corresponding to B.  The shift is zero for a
 natural, negative to add flats, or positive to add sharps.
 
@@ -682,16 +610,14 @@ The syntax for duration specification is
 
 @quotation
 
-  @code{\duration}
-@cindex duration@@@code{\duration}
-
-    @code{@{}   @code{@}}
+  @code{\duration}@keyindex{duration}
+    @code{@{} @var{length} @var{dotcount} @code{@}}
 @end quotation
 
- is the negative logarithm (base 2) of the duration:
+@var{length} is the negative logarithm (base 2) of the duration:
 1 is a half note, 2 is a quarter note, 3 is an eighth
 note, etc.  The number of dots after the note is given by
-.
+@var{dotcount}.
 
 In Note, Chord, and Lyrics mode, durations may be designated by
 numbers and dots.  See Section @xref{notelang} for details.
@@ -709,7 +635,7 @@ A note specification has the form
 
 @quotation
 
-  [][@code{!}][@code{?}][]
+  @var{pitch}[@var{octavespec}][@code{!}][@code{?}][@var{duration}]
 @end quotation
 
 The pitch of the note is specified by the note's name.
@@ -730,12 +656,8 @@ section @xref{notelang} for details.
 
 
 The optional octave specification takes the form of a series of
-single quote (`@code{'}
-@cindex '@@@code{'}
-') characters or a series of comma
-(`@code{,}
-@cindex ,@@@code{,}
-') characters.  Each @code{'} raises the pitch by one
+single quote (`@code{'}@indexcode{'}') characters or a series of comma
+(`@code{,}@indexcode{,}') characters.  Each @code{'} raises the pitch by one
 octave; each @code{,} lowers the pitch by an octave.
 
 @mudela[fragment,verbatim,center]
@@ -768,9 +690,7 @@ cautionary accidental,
 @cindex cautionary accidental
  i.e., an
 accidental within parentheses can be obtained by adding the question
-mark `@code{?}
-@cindex ?@@@code{?}
-' after the pitch.
+mark `@code{?}@indexcode{?}' after the pitch.
 
 @mudela[fragment,verbatim,center]
   cis' d' e' cis'  c'? d' e' c'!
@@ -848,9 +768,7 @@ r1 r2 r4 r8 r16 r32 r64 r64
 
 If the duration is omitted then it is set equal to the previous
 duration.  If there is no previous duration, a quarter note is
-assumed.  The duration can be followed by a dot (`@code{.}
-@cindex .@@@code{.}
-')
+assumed.  The duration can be followed by a dot (`@code{.}@indexcode{.}')
 to obtain dotted note lengths.
 
 @mudela[fragment,verbatim,center]
@@ -858,18 +776,12 @@ to obtain dotted note lengths.
 @end mudela
 
 You can alter the length of duration by writing
-`@code{*}' after it.  This will not affect the
+`@code{*}@var{fraction}' after it.  This will not affect the
 appearance of note heads or rests.
 
 
-Rests are entered like notes, with note name `@code{r}
-@cindex r@@@code{r}
-',
-or `@code{R}
-@cindex R@@@code{R}
-'.  There is also a note name `@code{s}
-@cindex s@@@code{s}
-',
+Rests are entered like notes, with note name `@code{r}@indexcode{r}',
+or `@code{R}@indexcode{R}'.  There is also a note name `@code{s}@indexcode{s}',
 which produces a space of the specified duration. 
 `@code{R}' is specifically meant for entering parts: the @code{R} rest
 can expand to fill a score with rests, or it can be printed as a
@@ -896,14 +808,12 @@ lyrics is discussed in section @xref{lyricprint}.
 
 @quotation
 
-  @code{\property}
-@cindex property@@@code{\property}
-
-    @code{.} @code{=} 
+  @code{\property}@keyindex{property}
+    @var{contextname}@code{.}@var{propname} @code{=} @var{value}
 @end quotation
 
-Sets the  property of the context  to
-the specified .  All three arguments are strings. 
+Sets the @var{propname} property of the context @var{contextname} to
+the specified @var{value}.  All three arguments are strings. 
 Depending on the context, it may be necessary to quote the strings or
 to leave space on both sides of the dot.
 
@@ -913,21 +823,19 @@ to leave space on both sides of the dot.
 
 @quotation
 
-  @code{\translator}
-@cindex translator@@@code{\translator}
-
-     = 
+  @code{\translator}@keyindex{translator}
+    @var{contexttype} = @var{name}
 @end quotation
 
 A music expression indicating that the context which is a direct
-child of the a context of type  should be shifted to
-a context of type  and the specified name.
+child of the a context of type @var{contexttype} should be shifted to
+a context of type @var{contexttype} and the specified name.
 
 Usually this is used to switch staffs in Piano music, e.g.
 
 @quotation
 
-  @code{\translator Staff = top} 
+  @code{\translator Staff = top} @var{Music}
 @end quotation
 
 
@@ -939,88 +847,54 @@ Commands are music expressions that have no duration.
 
 @quotation
 
-  @code{\key}
-@cindex key@@@code{\key}
-   @code{;}
+  @code{\key}@keyindex{key} @var{pitch} @var{type} @code{;}
 @end quotation
 
-Change the key signature.   should be
-@code{\major}
-@cindex major@@@code{\major}
- or @code{\minor}
-@cindex minor@@@code{\minor}
- to get
--major or -minor, respectively.  The second
-argument is optional; the default is major keys.  The 
+Change the key signature.  @var{type} should be
+@code{\major}@keyindex{major} or @code{\minor}@keyindex{minor} to get
+@var{pitch}-major or @var{pitch}-minor, respectively.  The second
+argument is optional; the default is major keys.  The @var{\context}
 argument can also be given as an integer, which tells the number of
 semitones that should be added to the pitch given in the subsequent
-@code{\key}
-@cindex key@@@code{\key}
- commands to get the corresponding major key,
-e.g., @code{\minor}
-@cindex minor@@@code{\minor}
- is defined as 3.  The standard
-mode names @code{\ionian}
-@cindex ionian@@@code{\ionian}
-,
-@code{\locrian}
-@cindex locrian@@@code{\locrian}
-, @code{\aeolian}
-@cindex aeolian@@@code{\aeolian}
-,
-@code{\mixolydian}
-@cindex mixolydian@@@code{\mixolydian}
-, @code{\lydian}
-@cindex lydian@@@code{\lydian}
-,
-@code{\phrygian}
-@cindex phrygian@@@code{\phrygian}
-, and @code{\dorian}
-@cindex dorian@@@code{\dorian}
-
+@code{\key}@keyindex{key} commands to get the corresponding major key,
+e.g., @code{\minor}@keyindex{minor} is defined as 3.  The standard
+mode names @code{\ionian}@keyindex{ionian},
+@code{\locrian}@keyindex{locrian}, @code{\aeolian}@keyindex{aeolian},
+@code{\mixolydian}@keyindex{mixolydian}, @code{\lydian}@keyindex{lydian},
+@code{\phrygian}@keyindex{phrygian}, and @code{\dorian}@keyindex{dorian}
 are also defined.
 
 @quotation
 
-  @code{\keysignature}
-@cindex keysignature@@@code{\keysignature}
-  @code{;}
+  @code{\keysignature}@keyindex{keysignature} @var{pitchseq} @code{;}
 @end quotation
 
-Specify an arbitrary key signature.  The pitches from  will
+Specify an arbitrary key signature.  The pitches from @var{pitch} will
 be printed in the key signature in the order that they appear on the
 list.
 
         
 @quotation
 
-  @code{\mark}
-@cindex mark@@@code{\mark}
-  @code{;} @* 
-  @code{\mark}  @code{;}
+  @code{\mark}@keyindex{mark} @var{unsigned} @code{;} @* 
+  @code{\mark} @var{string} @code{;}
 @end quotation
 
 Prints a mark over or under (depending on the
-@code{markDirection}
-@cindex markDirection@@@code{markDirection}
- property) the staff.  You must add
-@code{Mark_engraver}
-@cindex Mark_engraver@@@code{Mark_engraver}
- to either the Score or Staff context for
+@code{markDirection}@indexcode{markDirection} property) the staff.  You must add
+@code{Mark_engraver}@indexcode{Mark_engraver} to either the Score or Staff context for
 this to work.
 
 @node barlines, manualbeam, notedesc, LilyPond 1-2-0 Reference Manual
 
 @quotation
 
-  @code{\bar}
-@cindex bar@@@code{\bar}
-  @code{;}
+  @code{\bar}@keyindex{bar} @var{bartype} @code{;}
 @end quotation
 
 This is a request to print a special bar symbol. It replaces the 
 regular bar symbol with a special
-symbol.  The argument  is a string which specifies the
+symbol.  The argument @var{bartype} is a string which specifies the
 kind of bar to print.  Options are @code{":|"}
 @cindex "|A@@@code{:|}
 ,
@@ -1041,7 +915,7 @@ kind of bar to print.  Options are @code{":|"}
 . 
 These produce, respectively, a right repeat, a left repeat, a double
 repeat, a double bar, a start bar, an end bar, and a thick double
-bar.  If  is set to @code{"empty"} then nothing is
+bar.  If @var{bartype} is set to @code{"empty"} then nothing is
 printed, but a line break is allowed at that spot.
 
 You are encouraged to use @code{\repeat} for repetitions.
@@ -1051,21 +925,17 @@ See section @xref{sec-repeats}.
 
 @quotation
 
-  @code{\cadenza}
-@cindex cadenza@@@code{\cadenza}
-  @code{;}
+  @code{\cadenza}@keyindex{cadenza} @var{togglevalue} @code{;}
 @end quotation
 
 Music expression that toggles the automatic generation of bar lines. 
-If  is 1, bar line generation is turned off.  If
- is 0, a bar line is immediately printed and 
+If @var{togglevalue} is 1, bar line generation is turned off.  If
+@var{togglevalue} is 0, a bar line is immediately printed and 
 automatic bar generation is turned on.
 
 @quotation
 
-  @code{\time}
-@cindex time@@@code{\time}
- @code{/} @code{;}
+  @code{\time}@keyindex{time} @var{numerator}@code{/}@var{denominator} @code{;}
 @end quotation
 
 Change the time signature.  The default time signature is 4/4. 
@@ -1073,9 +943,7 @@ The time signature is used to generate bar lines.
 
 @quotation
 
-  @code{\tempo}
-@cindex tempo@@@code{\tempo}
-  =  @code{;}
+  @code{\tempo}@keyindex{tempo} @var{duration} = @var{perminute} @code{;}
 @end quotation
 
 Used to specify the tempo.  For example, `@code{\tempo 4 = 76;}'
@@ -1083,9 +951,7 @@ requests output with 76 quarter notes per minute.
 
 @quotation
 
-  @code{\partial}
-@cindex partial@@@code{\partial}
-  @code{;}
+  @code{\partial}@keyindex{partial} @var{duration} @code{;}
 @end quotation
 
 @cindex anacrusis
@@ -1098,9 +964,7 @@ lasting two eighth notes.
 
 @quotation
 
-  @code{|}
-@cindex |@@@code{|}
-
+  @code{|}@indexcode{|}
 @cindex bar check
 
 @end quotation
@@ -1118,24 +982,16 @@ be used to shorten measures.
 
 @quotation
 
-  @code{\penalty}
-@cindex penalty@@@code{\penalty}
-  @code{;}
+  @code{\penalty}@keyindex{penalty} @var{int} @code{;}
 @end quotation
 
 Discourage or encourage line breaks.  See identifiers
-@code{\break}
-@cindex break@@@code{\break}
- and @code{\nobreak}
-@cindex nobreak@@@code{\nobreak}
- in
+@code{\break}@keyindex{break} and @code{\nobreak}@keyindex{nobreak} in
 section @xref{ident}.
 
 @quotation
 
-  @code{\clef}
-@cindex clef@@@code{\clef}
-  @code{;}
+  @code{\clef}@keyindex{clef} @var{clefname} @code{;}
 @end quotation
 
 Music expression that sets the current clef.  The argument is a
@@ -1192,12 +1048,10 @@ indicates at which note line the clef is located. An as example, the
 
 @quotation
 
-  @code{\skip}
-@cindex skip@@@code{\skip}
-  @code{;}
+  @code{\skip}@keyindex{skip} @var{duration} @code{;}
 @end quotation
 
-Skips the amount of time specified by .  If no other
+Skips the amount of time specified by @var{duration}.  If no other
 music is played, a gap will be left for the skipped time with no
 notes printed.  It works in Note Mode or Lyrics Mode.  In Note mode,
 this has the same effect as the space rest `@code{s}'.
@@ -1208,11 +1062,7 @@ this has the same effect as the space rest `@code{s}'.
 @node manualbeam, tremolo, barlines, LilyPond 1-2-0 Reference Manual
 
 A beam is specified by surrounding the beamed notes with brackets
-`@code{[}
-@cindex [@@@code{[}
-' and `@code{]}
-@cindex ]@@@code{]}
-'.  
+`@code{[}@indexcode{[}' and `@code{]}@indexcode{]}'.  
 
 @mudela[fragment,verbatim,center]
   [a'8 a'] [a'16 a' a' a']
@@ -1230,10 +1080,10 @@ Beaming can be generated automatically; see section @xref{autobeam}.
 To place tremolo marks 
 @cindex tremolo beams
  between two notes, begin
-with `@code{[:}' and end with `@code{]}'.  Tremolo marks
+with `@code{[:}@var{length}' and end with `@code{]}'.  Tremolo marks
 will appear instead of beams.  Putting more than two notes in such a
 construction will produce odd effects.  To create tremolo beams on a
-single note, simply attach `@code{:}' to the note itself
+single note, simply attach `@code{:}@var{length}' to the note itself
 (see also section @xref{tremolo}).
   
 @mudela[fragment,verbatim,center]
@@ -1247,7 +1097,7 @@ single note, simply attach `@code{:}' to the note itself
 
 @cindex --@@@code{-}@code{-}
 
-@cindex __@@@code{__}
+@indexcode{__}
 
 @cindex extender
 
@@ -1263,9 +1113,7 @@ a hyphen that will be printed between two lyric syllables) is
 
 A tie connects two adjacent note heads of the same pitch.  When used
 with chords, it connects all of the note heads whose pitches match.
-Ties are indicated using the tilde symbol `@code{~}
-@cindex ~@@@code{~}
-'.
+Ties are indicated using the tilde symbol `@code{~}@indexcode{~}'.
 If you try to tie together chords which have no common pitches, a
 warning message will appear and no ties will be created.
 
@@ -1286,10 +1134,10 @@ warning message will appear and no ties will be created.
 
 A variety of symbols can appear above and below notes to indicate
 different characteristics of the performance.  These symbols can be
-added to a note with `@code{-\}'.  Numerous symbols
+added to a note with `@var{note}@code{-\}@var{name}'.  Numerous symbols
 are defined in @file{script.ly} and @file{script.scm}.  Symbols can be
 forced to appear above or below the note by writing
-`@code{^\}' and `@code{_\}'
+`@var{note}@code{^\}@var{name}' and `@var{note}@code{_\}@var{name}'
 respectively.  Here is a chart showing symbols above notes, with the
 name of the corresponding symbol appearing underneath.
 
@@ -1363,56 +1211,22 @@ common symbols
 Dynamic marks are specified by using an identifier after a note:
 `@code{c4-\ff}' (the dash is optional for dynamics: `@code{c4 \ff})'.  
 The available dynamic marks are:
-@code{\ppp}
-@cindex ppp@@@code{\ppp}
-,
-@code{\pp}
-@cindex pp@@@code{\pp}
-, @code{\p}
-@cindex p@@@code{\p}
-, @code{\mp}
-@cindex mp@@@code{\mp}
-,
-@code{\mf}
-@cindex mf@@@code{\mf}
-, @code{\f}
-@cindex f@@@code{\f}
-, @code{\ff}
-@cindex ff@@@code{\ff}
-,
-@code{\fff}
-@cindex fff@@@code{\fff}
-, @code{\fff}
-@cindex ffff@@@code{\ffff}
-,
-@code{\fp}
-@cindex fp@@@code{\fp}
-, @code{\sf}
-@cindex sf@@@code{\sf}
-,
-@code{\sff}
-@cindex sff@@@code{\sff}
-, @code{\sp}
-@cindex sp@@@code{\sp}
-,
-@code{\spp}
-@cindex spp@@@code{\spp}
-, @code{\sfz}
-@cindex sfz@@@code{\sfz}
-, and
-@code{\rfz}
-@cindex rfz@@@code{\rfz}
-.
+@code{\ppp}@keyindex{ppp},
+@code{\pp}@keyindex{pp}, @code{\p}@keyindex{p}, @code{\mp}@keyindex{mp},
+@code{\mf}@keyindex{mf}, @code{\f}@keyindex{f}, @code{\ff}@keyindex{ff},
+@code{\fff}@keyindex{fff}, @code{\fff}@keyindex{ffff},
+@code{\fp}@keyindex{fp}, @code{\sf}@keyindex{sf},
+@code{\sff}@keyindex{sff}, @code{\sp}@keyindex{sp},
+@code{\spp}@keyindex{spp}, @code{\sfz}@keyindex{sfz}, and
+@code{\rfz}@keyindex{rfz}.
 
 
 @quotation
 
-  @code{\textscript}
-@cindex textscript@@@code{\textscript}
-  
+  @code{\textscript}@keyindex{textscript} @var{text} @var{style}
 @end quotation
 
-Defines a text to be printed over or under a note.   is a
+Defines a text to be printed over or under a note.  @var{style} is a
 string that may be one of @code{roman}, @code{italic}, @code{typewriter}, 
 @code{bold}, @code{Large}, @code{large}, @code{dynamic} or @code{finger}.
 
@@ -1434,9 +1248,7 @@ This is equivalent to `@code{c4-6 c4-"foo"}'.
 
 @quotation
 
-  @code{\script}
-@cindex script@@@code{\script}
+  @code{\script}@keyindex{script} @var{alias}
 @end quotation
 
 Prints a symbol above or below a note.  The argument is a string
@@ -1444,9 +1256,7 @@ which points into the script-alias table defined in @file{script.scm}.
 The scheme definitions specify whether the symbol follows notes into
 the staff, dependence of symbol placement on staff direction, and a
 priority for placing several symbols over one note.  Usually the
-@code{\script}
-@cindex script@@@code{\script}
- keyword is not used directly.  Various
+@code{\script}@keyindex{script} keyword is not used directly.  Various
 helpful identifier definitions appear in @file{script.ly}.
 
 
@@ -1466,27 +1276,13 @@ slurs from both sides:
 
 @cindex crescendo
 
-A crescendo mark is started with @code{\cr}
-@cindex cr@@@code{\cr}
- and terminated
-with @code{\rc}
-@cindex rc@@@code{\rc}
-.  A decrescendo mark is started with
-@code{\decr}
-@cindex decr@@@code{\decr}
- and terminated with
-@code{\rced}
-@cindex rced@@@code{\rced}
-.  There are also shorthands for these
-marks.  A crescendo can be started with @code{\<}
-@cindex <@@@code{\<}
- and a
-decrescendo can be started with @code{\>}
-@cindex >@@@code{\>}
-.  Either one can
-be terminated with @code{\!}
-@cindex "!@@@code{\"!}
-.  Note that @code{\!}
+A crescendo mark is started with @code{\cr}@keyindex{cr} and terminated
+with @code{\rc}@keyindex{rc}.  A decrescendo mark is started with
+@code{\decr}@keyindex{decr} and terminated with
+@code{\rced}@keyindex{rced}.  There are also shorthands for these
+marks.  A crescendo can be started with @code{\<}@keyindex{<} and a
+decrescendo can be started with @code{\>}@keyindex{>}.  Either one can
+be terminated with @code{\!}@keyindex{"!}.  Note that @code{\!}
 must go before the last note of the dynamic mark whereas @code{\rc}
 and @code{\rced} go after the last note.  Because these marks are
 bound to notes, if you want to get several marks during one note, you
@@ -1500,18 +1296,12 @@ must use spacer notes.
 
 @quotation
 
-  @code{\spanrequest}
-@cindex spanrequest@@@code{\spanrequest}
-  
+  @code{\spanrequest}@keyindex{spanrequest} @var{startstop} @var{type}
 @end quotation
 
-Define a spanning request. The  parameter is either -1
-(@code{\start}
-@cindex start@@@code{\start}
-) or 1 (@code{\stop}
-@cindex stop@@@code{\stop}
-) and
- is a string that describes what should be started.
+Define a spanning request. The @var{startstop} parameter is either -1
+(@code{\start}@keyindex{start}) or 1 (@code{\stop}@keyindex{stop}) and
+@var{type} is a string that describes what should be started.
 Supported types are @code{crescendo}, @code{decrescendo},
 @code{beam}, @code{slur}.  This is an internal command.  Users should
 use the shorthands which are defined in the initialization file
@@ -1533,12 +1323,10 @@ The slur syntax with parentheses is a shorthand for this.
 @node tremolo, Compound music expressions, manualbeam, LilyPond 1-2-0 Reference Manual
 
 Tremolo marks can be printed on a single note by adding
-`@code{:}[]' after the note.  The length must be at
-least 8.  A  value of 8 gives one line across
+`@code{:}[@var{length}]' after the note.  The length must be at
+least 8.  A @var{length} value of 8 gives one line across
 the note stem.  If the length is omitted, then the last value is
-used, or the value of the @code{abbrev}
-@cindex abbrev@@@code{abbrev}
- property if there was
+used, or the value of the @code{abbrev}@indexcode{abbrev} property if there was
 no last value.
 
 @mudela[verbatim,fragment,center]
@@ -1572,13 +1360,11 @@ chords can be expressed in two different ways:
 
 @quotation
 
-  @code{\context}
-@cindex context@@@code{\context}
-
-     [@code{=} ] 
+  @code{\context}@keyindex{context}
+    @var{contexttype} [@code{=} @var{contextname}] @var{musicexpr}
 @end quotation
 
-Interpret  within a context of type 
+Interpret @var{musicexpr} within a context of type @var{contexttype}
 If the context does not exist, it will be created.  The new context
 can optionally be given a name.  See
 section @xref{contextselection} and @xref{contextdefs} for more
@@ -1591,14 +1377,8 @@ information on interpretation contexts.
 @cindex mode switch
 
 Mode switching keywords form compound music expressions: @code{\notes}
-
-@cindex notes@@@code{\notes}
- , @code{\chords} 
-@cindex chords@@@code{\chords}
-
-, and @code{\lyrics} 
-@cindex lyrics@@@code{\lyrics}
- . 
+@keyindex{notes} @var{musicexpr}, @code{\chords} @keyindex{chords}
+@var{musicexpr}, and @code{\lyrics} @keyindex{lyrics} @var{musicexpr}. 
 These expressions do not add anything to the meaning of their
 arguments.  They are just a way to indicate that the arguments should
 be parsed in indicated mode.  See section @xref{modes} for more
@@ -1615,10 +1395,8 @@ section @xref{contextselection}.
 
 @quotation
 
-  @code{\sequential}
-@cindex sequential@@@code{\sequential}
-
-    @code{@{}  @code{@}}
+  @code{\sequential}@keyindex{sequential}
+    @code{@{} @var{musicexprlist} @code{@}}
 @end quotation
 
 This means that list should be played or written in sequence, i.e.,
@@ -1628,23 +1406,20 @@ There is a shorthand, which leaves out the keyword:
 
 @quotation
 
-  @code{@{}  @code{@}}
+  @code{@{} @var{musicexprlist} @code{@}}
 @end quotation
 
 
 
 @cindex simultaneous music
 
-@cindex <@@@code{<}
-
-@cindex >@@@code{>}
+@indexcode{<}
+@indexcode{>}
 
 @quotation
 
-  @code{\simultaneous}
-@cindex simultaneous@@@code{\simultaneous}
-
-    @code{@{}  @code{@}}
+  @code{\simultaneous}@keyindex{simultaneous}
+    @code{@{} @var{musicexprlist} @code{@}}
 @end quotation
 
 It constructs a music expression where all of its arguments start at
@@ -1653,7 +1428,7 @@ elements.  The following shorthand is a common idiom:
 
 @quotation
 
-  @code{<}  @code{>}
+  @code{<} @var{musicexprlist} @code{>}
 @end quotation
 
 If you try to use a chord as the first thing in your score, you might
@@ -1694,12 +1469,10 @@ note's octave is `the relative octave' mode.
 
 @quotation
 
-  @code{\relative}
-@cindex relative@@@code{\relative}
-  
+  @code{\relative}@keyindex{relative} @var{startpitch} @var{musicexpr}
 @end quotation
 
-The octave of notes that appear in  are calculated as
+The octave of notes that appear in @var{musicexpr} are calculated as
 follows: If no octave changing marks are used, the basic interval
 between this and the last note is always taken to be a fourth or
 less.@footnote{The interval is determined without regarding
@@ -1708,7 +1481,7 @@ the @code{ceses}.}  The octave changing marks `@code{'}' and `@code{,}'
 can then be added to raise or lower the pitch by an extra octave. 
 Upon entering relative mode, an absolute starting pitch must be
 specified that will act as the predecessor of the first note of
-.
+@var{musicexpr}.
 
 Entering scales is straightforward in relative mode.
 
@@ -1740,9 +1513,7 @@ preceding note.
 
 The pitch after the @code{\relative} contains a notename.  To parse
 the pitch as a notename, you have to be in note mode, so there must
-be a surrounding @code{\notes}
-@cindex notes@@@code{\notes}
- keyword (which is not
+be a surrounding @code{\notes}@keyindex{notes} keyword (which is not
 shown here).
 
 The relative conversion will not affect @code{\transpose} or
@@ -1761,10 +1532,10 @@ Chord mode (see section @xref{modes}).
 
 @quotation
 
-  [][@code{-}][@code{^}][@code{/}].
+  @var{tonic}[@var{duration}][@code{-}@var{modifiers}][@code{^}@var{subtractions}][@code{/}@var{inversion}].
 @end quotation
 
- should be the tonic note of the chord, and 
+@var{tonic} should be the tonic note of the chord, and @var{duration}
 is the chord duration in the usual notation.  There are two kinds of
 modifiers.  One type is @emph{chord additions}, which are obtained by
 listing intervals separated by dots.  An interval is written by its
@@ -1790,17 +1561,9 @@ must be separated by a dot (`@code{.}').
 The second type of modifier that may appear after the `@code{-}' is a
 named modifier.  Named modifiers are listed in the file
 @file{chord-modifiers.ly}.  The available modifiers are `@code{m}' and
-`@code{min}' which lower the 3rd half a step, `@code{aug}
-@cindex aug@@@code{aug}
-' which
-raises the 5th, `@code{dim}
-@cindex dim@@@code{dim}
-' which lowers the 5th,
-`@code{maj}
-@cindex maj@@@code{maj}
-' which adds a raised 7th, and `@code{sus}
-@cindex sus@@@code{sus}
-'
+`@code{min}' which lower the 3rd half a step, `@code{aug}@indexcode{aug}' which
+raises the 5th, `@code{dim}@indexcode{dim}' which lowers the 5th,
+`@code{maj}@indexcode{maj}' which adds a raised 7th, and `@code{sus}@indexcode{sus}'
 which replaces the 5th with a 4th.
 
 @quotation
@@ -1828,9 +1591,7 @@ separated by dots.
   }
 @end mudela 
 
-Chord inversions can be specified by appending `@code{/}
-@cindex /@@@code{/}
-' and
+Chord inversions can be specified by appending `@code{/}@indexcode{/}' and
 the name of a single note to a chord.  This has the effect of
 lowering the specified note by an octave so it becomes the lowest
 note in the chord.  If the specified note is not in the chord, a
@@ -1859,12 +1620,10 @@ duration with a fraction.
 
 @quotation
 
-  @code{\times}
-@cindex times@@@code{\times}
-  
+  @code{\times}@keyindex{times} @var{fraction} @var{musicexpr}
 @end quotation
 
-The duration of  will be multiplied by the fraction. 
+The duration of @var{musicexpr} will be multiplied by the fraction. 
 In print, the fraction's denominator will be printed over the notes,
 optionally with a bracket.  The most common tuplet is the triplet in
 which 3 notes have the length of 2, so the notes are 2/3 of
@@ -1880,9 +1639,7 @@ their written length:
 
 @quotation
 
-  @code{\grace}
-@cindex grace@@@code{\grace}
+  @code{\grace}@keyindex{grace} @var{musicexpr}
 @end quotation
 
 A grace note expression has duration 0; the next real note is
@@ -1891,19 +1648,15 @@ assumed to be the main note.
 You cannot have the grace note after the main note, in terms of
 duration, and main notes, but you can typeset the grace notes to the
 right of the main note using the property
-@code{graceAlignPosition}
-@cindex graceAlignPosition@@@code{graceAlignPosition}
-.
+@code{graceAlignPosition}@indexcode{graceAlignPosition}.
 
 When grace music is interpreted, a score-within-a-score is set up:
- has its own time bookkeeping, and you could (for
+@var{musicexpr} has its own time bookkeeping, and you could (for
 example) have a separate time signature within grace notes.  While in
 this score-within-a-score, you can create notes, beams, slurs, etc.
 Unbeamed eighth notes and shorter by default have a slash through the
 stem.  This behavior can be controlled with the
-@code{stemStyle}
-@cindex stemStyle@@@code{stemStyle}
- property.
+@code{stemStyle}@indexcode{stemStyle} property.
 
 @quotation
 
@@ -1916,9 +1669,7 @@ stem.  This behavior can be controlled with the
 @end mudela
 @end quotation
 
-At present, nesting @code{\grace}
-@cindex grace@@@code{\grace}
- notes, e.g.
+At present, nesting @code{\grace}@keyindex{grace} notes, e.g.
 
 @quotation
 
@@ -1939,9 +1690,7 @@ error, since there will be no main note to attach the grace notes to.
 
 @node sec-repeats, transpose, relative, LilyPond 1-2-0 Reference Manual
 
-In order to specify repeats, use the @code{\repeat}
-@cindex repeat@@@code{\repeat}
-
+In order to specify repeats, use the @code{\repeat}@keyindex{repeat}
 keyword.  Since repeats look and sound differently when played or
 printed, there are a few different variants of repeats.
 
@@ -1963,22 +1712,20 @@ The syntax for repeats is
 
 @quotation
 
-  @code{\repeat}   
+  @code{\repeat} @var{variant} @var{repeatcount} @var{repeatbody}
 @end quotation
 
 If you have alternative endings, you may add
 
 @quotation
 
-  @code{\alternative}
-@cindex alternative@@@code{\alternative}
-
-    @code{@{} 
-            
-             ... @code{@}}
+  @code{\alternative}@keyindex{alternative}
+    @code{@{} @var{alternative1}
+            @var{alternative2}
+            @var{alternative3} ... @code{@}}
 @end quotation
 
-where each  is a Music expression.
+where each @var{alternative} is a Music expression.
 
 Normal notation repeats are used like this:
 
@@ -2063,17 +1810,15 @@ bars will not.
 @node transpose, Ambiguities, sec-repeats, LilyPond 1-2-0 Reference Manual
 
 A music expression can be transposed with
-@code{\transpose}
-@cindex transpose@@@code{\transpose}
-.  The syntax is
+@code{\transpose}@keyindex{transpose}.  The syntax is
 
 @quotation
 
-  @code{\transpose}  
+  @code{\transpose} @var{pitch} @var{musicexpr}
 @end quotation
 
-This means that middle C in  is transposed to
-.
+This means that middle C in @var{musicexpr} is transposed to
+@var{pitch}.
 
 @code{\transpose} distinguishes between enharmonic pitches: both
 @code{\transpose cis'} or @code{\transpose des'} will transpose up half
@@ -2104,24 +1849,20 @@ effect music that appears inside a @code{\transpose}.
 
 If you have lyrics that are set to a melody, you can import the
 rhythm of that melody into the lyrics using @code{\addlyrics}.
-
-@cindex addlyrics@@@code{\addlyrics}
- The syntax for this is
+@keyindex{addlyrics} The syntax for this is
 
 @quotation
 
-  @code{\addlyrics} 
+  @code{\addlyrics} @var{musicexpr1 musicexpr2}
 @end quotation
 
-This means that both  and  are
+This means that both @var{musicexpr1} and @var{musicexpr2} are
 interpreted, but that every non-command atomic music expression
-(``every syllable'') in  is interpreted using timing
-of .
+(``every syllable'') in @var{musicexpr2} is interpreted using timing
+of @var{musicexpr1}.
 
-If the property @code{automaticMelismata}
-@cindex automaticMelismata@@@code{automaticMelismata}
- is set in the
-context of , no lyrics will be put on slurred or tied
+If the property @code{automaticMelismata}@indexcode{automaticMelismata} is set in the
+context of @var{musicexpr1}, no lyrics will be put on slurred or tied
 notes.
 
 @quotation
@@ -2157,7 +1898,7 @@ undesired effects when using multiple stanzas:
 @end quotation
 
 It is valid (but probably not very useful) to use notes instead of
-lyrics for .
+lyrics for @var{musicexpr2}.
 
 
 
@@ -2230,9 +1971,7 @@ foo = -6
 @node autobeam, lyricprint, Notation conversion specifics, LilyPond 1-2-0 Reference Manual
 
 By default, LilyPond will generate beams automatically.  This feature
-can be disabled by setting the @code{Voice.noAutoBeaming}
-@cindex Voice.noAutoBeaming@@@code{Voice.noAutoBeaming}
-
+can be disabled by setting the @code{Voice.noAutoBeaming}@indexcode{Voice.noAutoBeaming}
 property to 1.  It can be overridden for specific cases by
 specifying explicit beams as described in
 section @xref{manualbeam}.
@@ -2241,22 +1980,16 @@ A large number of Voice properties are used to decide how to generate
 beams.  Their default values appear in @file{auto-beam-settings.ly}.
 In general, beams can begin anywhere, but their ending location is
 significant.  Beams can end on a beat, or at durations specified by
-the @code{Voice.beamAutoEnd}
-@cindex Voice.beamAutoEnd@@@code{Voice.beamAutoEnd}
- property.  To end beams every
+the @code{Voice.beamAutoEnd}@indexcode{Voice.beamAutoEnd} property.  To end beams every
 quarter note, for example, you could set
-@code{Voice.beamAutoEnd}
-@cindex Voice.beamAutoEnd@@@code{Voice.beamAutoEnd}
- equal to `@code{"1/4"}'.  To end beams
+@code{Voice.beamAutoEnd}@indexcode{Voice.beamAutoEnd} equal to `@code{"1/4"}'.  To end beams
 at every three eighth notes you would set it to `@code{"3/8"}'.  The
 same syntax can be used to specify beam starting points using
-@code{Voice.beamAutoBegin}
-@cindex Voice.beamAutoBegin@@@code{Voice.beamAutoBegin}
-.
+@code{Voice.beamAutoBegin}@indexcode{Voice.beamAutoBegin}.
 
 To allow different settings for different time signatures, these
-property names can start with `@code{time}@code{_}' to
-restrict the definition to `@code{/}' time.  For example,
+property names can start with `@code{time}@var{N}@code{_}@var{M}' to
+restrict the definition to `@var{N}@code{/}@var{M}' time.  For example,
 to specify beams ending only for 6/8 time you would use the
 property @code{Voice.time6_8beamAutoEnd}.  To allow different endings
 for notes of different durations, the duration can be tacked onto the
@@ -2271,12 +2004,8 @@ end of the property.  To specify beam endings for beams that contain
 
 @cindex printing!chord names
 
-For displaying printed chord names, use the @code{ChordNames}
-@cindex ChordNames@@@code{ChordNames}
-
-and @code{ChordNameVoice}
-@cindex ChordNameVoice@@@code{ChordNameVoice}
- contexts.  The chords may be entered
+For displaying printed chord names, use the @code{ChordNames}@indexcode{ChordNames}
+and @code{ChordNameVoice}@indexcode{ChordNameVoice} contexts.  The chords may be entered
 either using the notation described above, or directly using
 simultaneous music.
 
@@ -2311,9 +2040,7 @@ identify chord inversions:
 @end mudela
 
 If you want inversions to be recognized, you must set the property
-@code{ChordNames.chordInversion}
-@cindex ChordNames.chordInversion@@@code{ChordNames.chordInversion}
-:
+@code{ChordNames.chordInversion}@indexcode{ChordNames.chordInversion}:
 
 @mudela[fragment,verbatim,center]
   <
@@ -2473,9 +2200,9 @@ these contexts results in the staff being printed.
 
 You can also create contexts manually, and you probably have to do so
 if you want to typeset complicated multiple part material.  If a
-`@code{\context}  ' expression is encountered
-during the interpretation phase, the  argument will be
-interpreted with a context of type .  If you specify a name,
+`@code{\context} @var{name} @var{musicexpr}' expression is encountered
+during the interpretation phase, the @var{musicexpr} argument will be
+interpreted with a context of type @var{name}.  If you specify a name,
 the specific context with that name is searched.
 
 If a context of the specified type and name can not be found, a new
@@ -2507,11 +2234,11 @@ music expression is
 
 @quotation
 
-  @code{\keyword}   ...
+  @code{\keyword} @var{musicexpr1} @var{musicexpr2} ...
 @end quotation
 
 When the interpretation of this music expression starts, the context
-for , etc. is that of the total
+for @var{musicexpr1}, @var{musicexpr2}, etc. is that of the total
 expression.
 
 Lastly, you may wonder, why this:
@@ -2556,31 +2283,23 @@ These are the contexts supplied with the package.  They are defined
 in the initialization file @file{ly/engraver.ly}.
 
 @table @samp
-  @item @code{Grace}
-@cindex Grace@@@code{Grace}
- @* 
+  @item @code{Grace}@indexcode{Grace} @* 
     The context for handling grace notes.  It is instantiated
     automatically when you use @code{\grace}.  Basically, it is an
     `embedded' miniature of the Score context.  Since this context
     needs special interaction with the rest of LilyPond, you should
     not explicitly instantiate it.
 
-  @item @code{LyricVoice}
-@cindex LyricVoice@@@code{LyricVoice}
- @* 
+  @item @code{LyricVoice}@indexcode{LyricVoice} @* 
     Corresponds to a voice with lyrics.  Handles the printing of a
     single line of lyrics.
 
-  @item @code{Thread}
-@cindex Thread@@@code{Thread}
- @* 
+  @item @code{Thread}@indexcode{Thread} @* 
     Handles note heads, and is contained in the Voice context.  You
     have to instantiate this explicitly if you want to adjust the
     style of individual note heads.
 
-  @item @code{Voice}
-@cindex Voice@@@code{Voice}
- @* 
+  @item @code{Voice}@indexcode{Voice} @* 
     Corresponds to a voice on a staff.  This context handles the
     conversion of dynamic signs, stems, beams, super- and subscripts,
     slurs, ties, and rests.
@@ -2588,69 +2307,49 @@ in the initialization file @file{ly/engraver.ly}.
     You have to instantiate this explicitly if you want to have
     multiple voices on the same staff.
 
-  @item @code{ChordNamesVoice}
-@cindex ChordNamesVoice@@@code{ChordNamesVoice}
- @* 
+  @item @code{ChordNamesVoice}@indexcode{ChordNamesVoice} @* 
     A voice with chord names.  Handles printing of a line of chord
     names.
 
-  @item @code{ChordNames}
-@cindex ChordNames@@@code{ChordNames}
- @* 
+  @item @code{ChordNames}@indexcode{ChordNames} @* 
     Typesets chord names.  Can contain @code{ChordNamesVoice}
     contexts.
 
-  @item @code{Lyrics}
-@cindex Lyrics@@@code{Lyrics}
- @* 
+  @item @code{Lyrics}@indexcode{Lyrics} @* 
     Typesets lyrics.  It can contain @code{LyricVoice} contexts.
 
-  @item @code{Staff}
-@cindex Staff@@@code{Staff}
- @* 
+  @item @code{Staff}@indexcode{Staff} @* 
     Handles clefs, bar lines, keys, accidentals.  It can contain
     @code{Voice} contexts.
 
-  @item @code{RhythmicStaff}
-@cindex RhythmicStaff@@@code{RhythmicStaff}
- @* 
+  @item @code{RhythmicStaff}@indexcode{RhythmicStaff} @* 
     A context like @code{Staff} but for printing rhythms.  Pitches are
     ignored; the notes are printed on one line.  It can contain
     @code{Voice} contexts.
 
-  @item @code{GrandStaff}
-@cindex GrandStaff@@@code{GrandStaff}
- @* 
+  @item @code{GrandStaff}@indexcode{GrandStaff} @* 
     Contains @code{Staff} or @code{RhythmicStaff} contexts.  It adds a
     brace on the left side, grouping the staffs together.  The bar
     lines of the contained staffs are connected vertically.  It can
     contain @code{Staff} contexts.
 
-  @item @code{PianoStaff}
-@cindex PianoStaff@@@code{PianoStaff}
- @* 
+  @item @code{PianoStaff}@indexcode{PianoStaff} @* 
     Just like @code{GrandStaff} but with @code{minVerticalAlign} set
     equal to @code{maxVerticalAlign} so that interstaff beaming and
     slurring can be used.
 
-  @item @code{StaffGroup}
-@cindex StaffGroup@@@code{StaffGroup}
- @* 
+  @item @code{StaffGroup}@indexcode{StaffGroup} @* 
     Contains @code{Staff} or @code{RhythmicStaff} contexts.  Adds a
     bracket on the left side, grouping the staffs together.  The bar
     lines of the contained staffs are connected vertically.  It can
     contain @code{Staff}, @code{RhythmicStaff}, @code{GrandStaff}, or
     @code{Lyrics} contexts.
 
-  @item @code{ChoirStaff}
-@cindex ChoirStaff@@@code{ChoirStaff}
- @* 
+  @item @code{ChoirStaff}@indexcode{ChoirStaff} @* 
     Identical to @code{StaffGroup} except that the contained staffs
     are not connected vertically.
 
-  @item @code{Score}
-@cindex Score@@@code{Score}
- @* 
+  @item @code{Score}@indexcode{Score} @* 
     This is the top level notation context.  No other context can
     contain a @code{Score} context.  This context handles the
     administration of time signatures.  It also makes sure that items
@@ -2678,7 +2377,7 @@ is
 
 @quotation
 
-   @code{=} 
+  @var{propname} @code{=} @var{value}
 @end quotation
 
 This assignment happens before interpretation starts, so a
@@ -2708,9 +2407,7 @@ available properties.
 @cindex properties!Lyrics
 
 @table @samp
-  @item @code{textStyle}
-@cindex textStyle@@@code{textStyle}
- @* 
+  @item @code{textStyle}@indexcode{textStyle} @* 
     Set the font for lyrics.  The available font choices are
     @code{roman}, @code{italic}, @code{bold}, @code{large}, @code{Large},
     @code{typewriter}, and @code{finger}.  The @code{finger} font can
@@ -2725,9 +2422,7 @@ available properties.
 @cindex properties!Thread
 
 @table @samp
-  @item @code{noteheadStyle}
-@cindex noteheadStyle@@@code{noteheadStyle}
- @* 
+  @item @code{noteheadStyle}@indexcode{noteheadStyle} @* 
     Selects type of note head.  Choices are @code{cross},
     @code{diamond}, @code{harmonic}, @code{transparent}, and @code{""}. 
     They are shown in that order below.
@@ -2762,9 +2457,7 @@ available properties.
 
  
 @table @samp  
-  @item @code{stemStyle}
-@cindex stemStyle@@@code{stemStyle}
- @* 
+  @item @code{stemStyle}@indexcode{stemStyle} @* 
     By default set to @code{"grace"} meaning that all unbeamed 
     notes with flags are typeset with a slash through the flag. 
     Setting to @code{""} gives standard flags.
@@ -2774,267 +2467,208 @@ available properties.
 @cindex properties!Voice
 
 @table @samp  
-  @item @code{abbrev}
-@cindex abbrev@@@code{abbrev}
- @* 
+  @item @code{abbrev}@indexcode{abbrev} @* 
     Set length for tremolo to be used if no length is explicitly
     specified. 
 
-  @item @code{articulationScriptPadding}
-@cindex articulationScriptPadding@@@code{articulationScriptPadding}
-
+  @item @code{articulationScriptPadding}@indexcode{articulationScriptPadding}
     @* 
     Determines the extra space added between articulation marks, such
     as staccato, tenuto, trill, up/down bow or fermata, and the
     closest staff line or note.
 
   @item @code{articulationScriptVerticalDirection}
-    
-@cindex articulationScriptVerticalDirection@@@code{articulationScriptVerticalDirection}
- @* 
+    @indexcode{articulationScriptVerticalDirection} @* 
     Determines the location of articulation marks.  Set to @code{\up}
     to print marks above the staff; set to @code{\down} to print marks
     below the staff.  This property does not override explicit
     directions marked with `@code{^}' or `@code{_}' in the mudela file.
     
-  @item @code{noAutoBeaming}
-@cindex beamAuto@@@code{beamAuto}
- @* 
+  @item @code{noAutoBeaming}@indexcode{beamAuto} @* 
     If set to 1 then beams are not generated automatically.
 
-  @item @code{beamAutoEnd}
-@cindex beamAutoEnd@@@code{beamAutoEnd}
- @* 
+  @item @code{beamAutoEnd}@indexcode{beamAutoEnd} @* 
     Specifies when automatically generated beams can end.  See
     section @xref{autobeam}.
 
-  @item @code{beamAutoBegin}
-@cindex beamAutoBegin@@@code{beamAutoBegin}
- @* 
+  @item @code{beamAutoBegin}@indexcode{beamAutoBegin} @* 
     Specifies when automatically generated beams can start.  See
     section @xref{autobeam}.
 
-  @item @code{beamquantisation}
-@cindex beamquantisation@@@code{beamquantisation}
- @* 
+  @item @code{beamquantisation}@indexcode{beamquantisation} @* 
     Set to @code{\none} for no quantization.  Set to @code{\normal} to
     quantize position and slope.  Set to @code{\traditional} to avoid
     wedges.  These three settings are available via
-    @code{\beamposfree}
-@cindex beamposfree@@@code{\beamposfree}
-,
-    @code{\beamposnormal}
-@cindex beamposnormal@@@code{\beamposnormal}
-, and
-    @code{\beampostraditional}
-@cindex beampostraditional@@@code{\beampostraditional}
-.
+    @code{\beamposfree}@keyindex{beamposfree},
+    @code{\beamposnormal}@keyindex{beamposnormal}, and
+    @code{\beampostraditional}@keyindex{beampostraditional}.
 
-  @item @code{beamslopedamping}
-@cindex beamslopedamping@@@code{beamslopedamping}
- @* 
+  @item @code{beamslopedamping}@indexcode{beamslopedamping} @* 
     Set to @code{\none} for undamped beams.  Set to @code{\normal} for
     damped beams.  Set to @code{\infinity} for beams with zero slope. 
     The identifiers
-    @code{\beamslopeproportional}
-@cindex beamslopeproportional@@@code{\beamslopeproportional}
-,
-    @code{\beamslopedamped}
-@cindex beamslopedamped@@@code{\beamslopedamped}
-, and
-    @code{\beamslopezero}
-@cindex beamslopezero@@@code{\beamslopezero}
- each set the
+    @code{\beamslopeproportional}@keyindex{beamslopeproportional},
+    @code{\beamslopedamped}@keyindex{beamslopedamped}, and
+    @code{\beamslopezero}@keyindex{beamslopezero} each set the
     corresponding value.
 
-  @item @code{dynamicDirection}
-@cindex dynamicDirection@@@code{dynamicDirection}
- @* 
+  @item @code{dynamicDirection}@indexcode{dynamicDirection} @* 
     Determines location of dynamic marks.  Set to @code{\up} to print
     marks above the staff; set to @code{\down} to print marks below
     the staff.
 
-  @item @code{dynamicStyle}
-@cindex dynamicStyle@@@code{dynamicStyle}
- @* 
+  @item @code{dynamicStyle}@indexcode{dynamicStyle} @* 
     Set the text style for dynamics.  
 
-  @item @code{fontSize}
-@cindex fontSize@@@code{fontSize}
- @* 
+  @item @code{fontSize}@indexcode{fontSize} @* 
     Can be used to select smaller font sizes for music.  The normal
     font size is 0, and the two smaller sizes are -1
     and -2.
 
-   @item @code{forceHorizontalShift}
-@cindex forceHorizontalShift@@@code{forceHorizontalShift}
- @* 
+   @item @code{forceHorizontalShift}@indexcode{forceHorizontalShift} @* 
     Force horizontal shift for collision resolution.  It overrides
     automatic collision resolution.  The value is the shift amount
     expressed in @code{note_width}, as set in the paper section.
-    
 
-  @item @code{horizontalNoteShift}
-@cindex horizontalNoteShift@@@code{horizontalNoteShift}
- @* 
+@ignore
+
+TODO: explain this in refman.
+
+horizontalNoteShift does not set shifting itself.
+
+Notes that are likely to collide, are grouped into a Collision
+object.  Colliding notes within the collision are then grouped based
+on their stem direction and horizontalNoteShift setting, like this:
+
+                        |
+                        | | 
+                       0u |  |
+                         1u  |
+                            2u
+
+
+               2d
+               |  1d
+               |  |  0d
+                  |  |
+                     |
+
+(0,1,2, ..  = horizontalNoteShift value.  u,d = stem up / stem down)
+
+Only then the seperate groups are shifted horizontally.  When
+collision is done with this shifting, any forceHorizontalShift
+settings will override the default shifts.
+
+
+This scheme makes sense, because you only have to set
+horizontalNoteShift once in each voice.  (Otherwise you'd have to set
+and unset it for each collision in a score.)
+@end ignore
+
+
+  @item @code{horizontalNoteShift}@indexcode{horizontalNoteShift} @* 
     Enable LilyPond to shift notes horizontally if they collide with
     other notes.  This is useful when typesetting many voices on one
-    staff.  The identifier @code{\shift}
-@cindex shift@@@code{\shift}
- is defined to
+    staff.  The identifier @code{\shift}@keyindex{shift} is defined to
     enable this.  Traditionally, the outer chords (the upmost and
     downmost voices), should have no @code{horizontalNoteShift}.
 
-  @item @code{markScriptPadding}
-@cindex markScriptPadding@@@code{markScriptPadding}
- @* 
+  @item @code{markScriptPadding}@indexcode{markScriptPadding} @* 
     Determines the extra space added between the mark and the closest
     staff line or note.
 
-  @item @code{markDirection}
-@cindex markDirection@@@code{markDirection}
- @* 
+  @item @code{markDirection}@indexcode{markDirection} @* 
     Determines if marks should be printed above or below the staff.
     Set to @code{\up} to print marks above the staff; set to
     @code{\down} to print marks below the staff.
 
-  @item @code{midiInstrument}
-@cindex midiInstrument@@@code{midiInstrument}
- @* 
+  @item @code{midiInstrument}@indexcode{midiInstrument} @* 
     Sets the instrument for MIDI output.  If this property is not set
     then LilyPond will use the @code{instrument} property.  This must
     be set to one of the strings on the list of MIDI instruments that
     appears in section @xref{midilist}.  If you use a string which
     is not listed, LilyPond will silently substitute piano.
 
-  @item @code{oldTieBehavior}
-@cindex oldTieBehavior@@@code{oldTieBehavior}
- @* 
+  @item @code{oldTieBehavior}@indexcode{oldTieBehavior} @* 
     Set to 1 in order to get old tie behavior where ties would
     connect unequal pitches.  This property is deprecated, and its
     use is not recommended.
 
-  @item @code{restStyle}
-@cindex restStyle@@@code{restStyle}
- @* 
+  @item @code{restStyle}@indexcode{restStyle} @* 
     Change the layout of rests shorter than quarter notes. 
     Currently, the standard layout @code{""} and mensural notation
     @code{"mensural"} are available. Mensural rests of duration
     32 or shorter are not available.
     
-  @item @code{scriptHorizontal}
-@cindex scriptHorizontal@@@code{scriptHorizontal}
- @* 
+  @item @code{scriptHorizontal}@indexcode{scriptHorizontal} @* 
     Put scripts left or right of note heads.  Support for this is
     limited.  Accidentals will collide with scripts.
     
-  @item @code{slurVerticalDirection}
-@cindex slurVerticalDirection@@@code{slurVerticalDirection}
- @* 
+  @item @code{slurVerticalDirection}@indexcode{slurVerticalDirection} @* 
     Set to @code{\free} for free choice of slur direction, set to
     @code{\up} to force slurs up, set to @code{\down} to force slurs
-    down.  The shorthands @code{\slurup}
-@cindex slurup@@@code{\slurup}
-,
-    @code{\slurdown}
-@cindex slurdown@@@code{\slurdown}
-, and
-    @code{\slurboth}
-@cindex slurboth@@@code{\slurboth}
- are available.
-
-  @item @code{slurDash}
-@cindex slurDash@@@code{slurDash}
- @* 
+    down.  The shorthands @code{\slurup}@keyindex{slurup},
+    @code{\slurdown}@keyindex{slurdown}, and
+    @code{\slurboth}@keyindex{slurboth} are available.
+
+  @item @code{slurDash}@indexcode{slurDash} @* 
     Set to 0 for normal slurs, 1 for dotted slurs, and a
     larger value for dashed slurs.  Identifiers
-    @code{\slurnormal}
-@cindex slurnormal@@@code{\slurnormal}
- and
-    @code{\slurdotted}
-@cindex slurdotted@@@code{\slurdotted}
- are predefined to set the
+    @code{\slurnormal}@keyindex{slurnormal} and
+    @code{\slurdotted}@keyindex{slurdotted} are predefined to set the
     first two settings.
 
-@item @code{stemLength}
-@cindex stemLength@@@code{stemLength}
- @* 
+@item @code{stemLength}@indexcode{stemLength} @* 
     Set length of stems.  Unit is `@code{interline}/2', so
     @code{stemLength} defaults to 7.
 
-  @item @code{stemLeftBeamCount}
-@cindex stemLeftBeamCount@@@code{stemLeftBeamCount}
- @* 
+  @item @code{stemLeftBeamCount}@indexcode{stemLeftBeamCount} @* 
     Specify the number of beams to draw on the left side of the next
     note.  Overrides automatic beaming.  The value is only used once,
     and then it is erased.
 
-  @item @code{stemRightBeamCount}
-@cindex stemRightBeamCount@@@code{stemRightBeamCount}
- @* 
+  @item @code{stemRightBeamCount}@indexcode{stemRightBeamCount} @* 
     Specify the number of beams to draw on the right side of the next
     note.  Overrides automatic beaming.  The value is only used once,
     and then it is erased.
-  @item @code{tieVerticalDirection}
-@cindex tieVerticalDirection@@@code{tieVerticalDirection}
- @* 
+  @item @code{tieVerticalDirection}@indexcode{tieVerticalDirection} @* 
     Set to @code{\free} for free choice of tie direction, set to
     @code{\up} to force ties up, set to @code{\down} to force ties
     down.
 
-  @item @code{transposing}
-@cindex transposing@@@code{transposing}
- @* 
+  @item @code{transposing}@indexcode{transposing} @* 
     Transpose the MIDI output.  Set this property to the number of
     half-steps to transpose by.
 
   
-  @item @code{textEmptyDimension}
-@cindex textEmptyDimension@@@code{textEmptyDimension}
- @* 
+  @item @code{textEmptyDimension}@indexcode{textEmptyDimension} @* 
     If set to 1 then text placed above or below the staff is
     assumed to have zero width.
   
-  @item @code{textStyle}
-@cindex textStyle@@@code{textStyle}
- @* 
+  @item @code{textStyle}@indexcode{textStyle} @* 
     Set the text style for superscripts and subscripts.  See above
     for list of text styles.
 
-  @item @code{textScriptPadding}
-@cindex textScriptPadding@@@code{textScriptPadding}
- @* 
+  @item @code{textScriptPadding}@indexcode{textScriptPadding} @* 
     Determines the extra space added between superscripted resp.
     subscripted text and the closest staff line or note.
 
-  @item @code{verticalDirection}
-@cindex verticalDirection@@@code{verticalDirection}
- @* 
+  @item @code{verticalDirection}@indexcode{verticalDirection} @* 
     Determines the direction of stems, subscripts, beams, slurs, and
     ties.  Set to @code{\down} to force them down, @code{\up} to force
     them up, or @code{\free} to let LilyPond decide.  This can be used
     to distinguish between voices on the same staff.  The
-    @code{\stemdown}
-@cindex stemdown@@@code{\stemdown}
-, @code{\stemup}
-@cindex stemup@@@code{\stemup}
-,
-    and @code{\stemboth}
-@cindex stemboth@@@code{\stemboth}
- identifiers set this
+    @code{\stemdown}@keyindex{stemdown}, @code{\stemup}@keyindex{stemup},
+    and @code{\stemboth}@keyindex{stemboth} identifiers set this
     property.
     
 
-  @item @code{tupletDirection}
-@cindex tupletDirection@@@code{tupletDirection}
- @* 
+  @item @code{tupletDirection}@indexcode{tupletDirection} @* 
     Determines the direction of triplets and other tuplets.  Set to
     @code{\down} to force them below the staff, @code{\up} to force
     them above, or @code{\free} to let LilyPond decide.
 
-  @item @code{tupletVisibility}
-@cindex tupletVisibility@@@code{tupletVisibility}
- @* 
+  @item @code{tupletVisibility}@indexcode{tupletVisibility} @* 
     Determines whether tuplets of notes are labelled.  Setting
     to 0 shows nothing; setting to 1 shows a number;
     setting to 2 shows a number and a bracket if there is no
@@ -3050,146 +2684,98 @@ available properties.
 
 @table @samp
  
-  @item @code{barNonAuto}
-@cindex barNonAuto@@@code{barNonAuto}
- @* 
+  @item @code{barNonAuto}@indexcode{barNonAuto} @* 
     If set to 1 then bar lines will not be printed
     automatically; they must be explicitly created with @code{\bar}
     keywords.  Unlike with the @code{\cadenza} keyword, measures are
     still counted.  Bar generation will resume according to that
     count if this property is set to zero.
 
-  @item @code{barNumberDirection}
-@cindex barNumberDirection@@@code{barNumberDirection}
- @* 
+  @item @code{barNumberDirection}@indexcode{barNumberDirection} @* 
     Set to @code{\up} or @code{\down} to put bar numbers above or below
     the staff.
 
-  @item @code{barNumberHangOnClef}
-@cindex barNumberHangOnClef@@@code{barNumberHangOnClef}
- @* 
+  @item @code{barNumberHangOnClef}@indexcode{barNumberHangOnClef} @* 
     Set to 1 to cause bar numbers to appear above or below the
     clef instead of on the bar line.  This property is deprecated. 
     Do not use.
 
-  @item @code{barNumberScriptPadding}
-@cindex barNumberScriptPadding@@@code{barNumberScriptPadding}
- @* 
+  @item @code{barNumberScriptPadding}@indexcode{barNumberScriptPadding} @* 
     Sets extra space between the bar number and the bar it labels.
 
-  @item @code{barSize}
-@cindex barSize@@@code{barSize}
- @* 
+  @item @code{barSize}@indexcode{barSize} @* 
     Specify the height of the bar lines if it should be different
     than the staff height.
 
-  @item @code{barAtLineStart}
-@cindex barAtLineStart@@@code{barAtLineStart}
- @* 
+  @item @code{barAtLineStart}@indexcode{barAtLineStart} @* 
     Set to 1 to produce a bar line after the clef at the start
     of each line (but not at the beginning of the music).
 
-  @item @code{clefStyle}
-@cindex clefStyle@@@code{clefStyle}
- @* 
+  @item @code{clefStyle}@indexcode{clefStyle} @* 
     Determines how clefs are typeset.  If set to @code{transparent},
     the clefs are not printed at all, if set to
     @code{fullSizeChanges}, clef changes in the middle of a line are
     typeset with a full size clef.  By default, clef changes are
     typeset in smaller size.
 
-  @item @code{createKeyOnClefChange}
-@cindex createKeyOnClefChange@@@code{createKeyOnClefChange}
- @* 
+  @item @code{createKeyOnClefChange}@indexcode{createKeyOnClefChange} @* 
     Set to a nonempty string if you want key signatures to be printed
     when the clef changes.  Set to the empty string if you do not
     want key signatures printed.
 
-  @item @code{createInitdefaultClef}
-@cindex createInitdefaultClef@@@code{createInitdefaultClef}
- @* 
+  @item @code{createInitdefaultClef}@indexcode{createInitdefaultClef} @* 
     Specify whether clefs are created on default?  (Doesn't seem to
     do anything.)
 
-  @item @code{defaultClef}
-@cindex defaultClef@@@code{defaultClef}
- @* 
+  @item @code{defaultClef}@indexcode{defaultClef} @* 
     Determines the default clef.  See @code{\clef} keyword.
 
-  @item @code{markHangOnClef}
-@cindex markHangOnClef@@@code{markHangOnClef}
- @* 
+  @item @code{markHangOnClef}@indexcode{markHangOnClef} @* 
     Set to 1 to cause marks to appear by clefs instead of by bar
     lines.  Deprecated, use is not recommended.
 
-  @item @code{marginDirection}
-@cindex marginDirection@@@code{marginDirection}
- @* 
+  @item @code{marginDirection}@indexcode{marginDirection} @* 
     Set to @code{\left} or @code{\right} to specify location of
     marginal scripts.
 
-  @item @code{marginScriptPadding}
-@cindex marginScriptPadding@@@code{marginScriptPadding}
- @* 
+  @item @code{marginScriptPadding}@indexcode{marginScriptPadding} @* 
     Specify extra space for marginal scripts.
 
-  @item @code{forgetAccidentals}
-@cindex forgetAccidentals@@@code{forgetAccidentals}
- @* 
+  @item @code{forgetAccidentals}@indexcode{forgetAccidentals} @* 
     Causes accidentals to be printed at every note instead of
     remembered for the duration of a measure.
 
-  @item @code{noResetKey}
-@cindex noResetKey@@@code{noResetKey}
- @* 
+  @item @code{noResetKey}@indexcode{noResetKey} @* 
     Do not reset the key at the start of a measure.  Accidentals will
     be printed only once and are in effect until overridden, possibly
     many measures later.
 
-  @item @code{staffLineLeading}
-@cindex staffLineLeading@@@code{staffLineLeading}
- @* 
+  @item @code{staffLineLeading}@indexcode{staffLineLeading} @* 
     Specifies the distance (in points) between lines of the staff.
 
-  @item @code{numberOfStaffLines}
-@cindex numberOfStaffLines@@@code{numberOfStaffLines}
- @* 
+  @item @code{numberOfStaffLines}@indexcode{numberOfStaffLines} @* 
     Specifies the number of staff lines.  The default is 5.
 
-  @item @code{postBreakPadding}
-@cindex postBreakPadding@@@code{postBreakPadding}
- @* 
+  @item @code{postBreakPadding}@indexcode{postBreakPadding} @* 
     Extra space in points to be added after the clef, time signature
     and key signature on the staff.  Deprecated, do not use.
 
-  @item @code{noVoltaBraces}
-@cindex noVoltaBraces@@@code{noVoltaBraces}
- @* 
+  @item @code{noVoltaBraces}@indexcode{noVoltaBraces} @* 
     Set to true to suppress the printing of brackets over alternate
     endings specified by the command @code{\alternative}.
 
-  @item @code{numberOfStaffLines}
-@cindex numberOfStaffLines@@@code{numberOfStaffLines}
- @* 
+  @item @code{numberOfStaffLines}@indexcode{numberOfStaffLines} @* 
     Sets the number of lines that the staff has.
  
-  @item @code{barAlways}
-@cindex barAlways@@@code{barAlways}
- @* 
+  @item @code{barAlways}@indexcode{barAlways} @* 
     If set to 1 a bar line is drawn after each note.
 
-  @item @code{defaultBarType}
-@cindex defaultBarType@@@code{defaultBarType}
- @* 
+  @item @code{defaultBarType}@indexcode{defaultBarType} @* 
     Sets the default type of bar line. See Section @xref{barlines} 
     for a list of available bar types.
 
   @item @code{instrument}, @code{instr}
-    
-@cindex instrument@@@code{instrument}
-
-@cindex instr@@@code{instr}
- @* 
+    @indexcode{instrument}@indexcode{instr} @* 
     If @code{Staff_margin_engraver}
 @cindex Staff_margin_engraver
  is
@@ -3199,9 +2785,7 @@ available properties.
     @code{midiInstrument} property is not set, then @code{instrument}
     is used to determine the instrument for MIDI output.
 
-  @item @code{keyOctaviation}
-@cindex keyOctaviation@@@code{keyOctaviation}
- @* 
+  @item @code{keyOctaviation}@indexcode{keyOctaviation} @* 
     If set to 1, then keys are the same in all octaves.  If set
     to 0 then the key signature for different octaves can be
     different and is specified independently:
@@ -3214,41 +2798,27 @@ available properties.
     The default value is 1.  Can be set to zero with
     @code{\specialkey} or reset to 1 with @code{\normalkey}.
 
-  @item @code{timeSignatureStyle}
-@cindex timeSignatureStyle@@@code{timeSignatureStyle}
- @* 
+  @item @code{timeSignatureStyle}@indexcode{timeSignatureStyle} @* 
     Changes the default two-digit layout for time signatures.  The
     following values are recognized:
 
     @table @samp
-      @item @code{C}
-@cindex C@@@code{C}
- @* 
+      @item @code{C}@indexcode{C} @* 
         4/4 and 2/2 are typeset as C and struck C, respectively.  All
         other time signatures are written with two digits.
 
-      @item @code{old}
-@cindex old@@@code{old}
- @* 
+      @item @code{old}@indexcode{old} @* 
         2/2, 3/2, 2/4, 3/4, 4/4, 6/4, 9/4, 4/8, 6/8 and 9/8 are
         typeset with old-style mensuration marks.  All other time
         signatures are written with two digits.
 
-      @item @code{1}
-@cindex 1@@@code{1}
- @* 
+      @item @code{1}@indexcode{1} @* 
         All time signatures are typeset with a single
         digit, e.g. 3/2 is written as 3.
 
-      @item 
-@cindex CM/N@@@code{CM/N}
-@code{C}@code{/}, 
-      
-@cindex oldM/N@@@code{oldM/N}
-@code{old}@code{/} or
-      @code{old6/8alt}
-@cindex old6/8alt@@@code{old6/8alt}
- @* 
+      @item @indexcode{CM/N}@code{C}@var{M}@code{/}@var{N}, 
+      @indexcode{oldM/N}@code{old}@var{M}@code{/}@var{N} or
+      @code{old6/8alt}@indexcode{old6/8alt} @* 
         Tells LilyPond to use a specific symbol as time signature.
     @end table
 
@@ -3292,9 +2862,7 @@ available properties.
     
 @end mudela
 
-  @item @code{voltaSpannerDuration}
-@cindex voltaSpannerDuration@@@code{voltaSpannerDuration}
- @* 
+  @item @code{voltaSpannerDuration}@indexcode{voltaSpannerDuration} @* 
     Set to an integer to control the size of the brackets printed by
     @code{\alternative}.  The integer specifies the number of whole
     notes duration to use for the brackets.  It is rounded to the
@@ -3308,21 +2876,15 @@ available properties.
 @cindex properties!GrandStaff
 
 @table @samp 
-  @item @code{alignmentReference}
-@cindex alignmentReference@@@code{alignmentReference}
- @* 
+  @item @code{alignmentReference}@indexcode{alignmentReference} @* 
     Set to @code{\center} for vertical alignment reference point to be
     in the center of the vertical group.  Set to @code{\up} to put the
     reference point at the top of the group.
 
-  @item @code{maxVerticalAlign}
-@cindex maxVerticalAlign@@@code{maxVerticalAlign}
- @* 
+  @item @code{maxVerticalAlign}@indexcode{maxVerticalAlign} @* 
     Set the maximum vertical distance between staffs.
 
-  @item @code{minVerticalAlign}
-@cindex minVerticalAlign@@@code{minVerticalAlign}
- @* 
+  @item @code{minVerticalAlign}@indexcode{minVerticalAlign} @* 
     Set the minimum vertical distance between staffs.  
 @end table
 
@@ -3330,9 +2892,7 @@ available properties.
 @cindex properties!Score
 
 @table @samp
-  @item @code{skipBars}
-@cindex skipBars@@@code{skipBars}
- @* 
+  @item @code{skipBars}@indexcode{skipBars} @* 
     Set to 1 to skip the empty bars that are produced by
     multimeasure notes and rests.  These bars will not appear on the
     printed output.  Set to zero (the default) to expand multimeasure
@@ -3354,9 +2914,7 @@ r1 r1*3 R1*3\property Score.skipBars=1 r1*3 R1*3
 @cindex properties!ChordNamesVoice
 
 @table @samp
-  @item @code{chordInversion}
-@cindex chordInversion@@@code{chordInversion}
- @* 
+  @item @code{chordInversion}@indexcode{chordInversion} @* 
     Determines whether LilyPond should look for chord inversions when
     translating from notes to chord names.  Set to 1 to find
     inversions.  The default is 0 which does not look for
@@ -3383,7 +2941,7 @@ music notation.  The syntax is
 
 @quotation
 
-  @code{\paper @{} [ @code{@}}
+  @code{\paper @{} [@var{paperidentifier}] @var{items} @code{@}}
 @end quotation
 
 where each of the items is one of
@@ -3400,14 +2958,13 @@ where each of the items is one of
 
        @quotation
 
-         @code{\shape} @code{,} @code{,}
-                      @code{,}  ... @code{;}
+         @code{\shape} @var{indent1}@code{,} @var{width1}@code{,}
+                      @var{indent2}@code{,} @var{width2} ... @code{;}
        @end quotation
 
-       
-@cindex shape@@@code{\shape}
+       @keyindex{shape}
 
-       Each pair of  and  values is a dimension
+       Each pair of @var{indent} and @var{width} values is a dimension
        specifying how far to indent and how wide to make the line. 
        The indentation and width of successive lines are specified by
        the successive pairs of dimensions.  The last pair of
@@ -3418,13 +2975,11 @@ where each of the items is one of
 
        @quotation
 
-          @code{=} @code{\font}
-@cindex font@@@code{\font}
+         @var{fontsize} @code{=} @code{\font}@keyindex{font} @var{fontname}
        @end quotation
 
-        is an integer describing the font to be used. 
-       0 is the default font.   is the basename of
+       @var{fontsize} is an integer describing the font to be used. 
+       0 is the default font.  @var{fontname} is the basename of
        a font (usually a member of the Feta family).
 @end itemize
 
@@ -3445,9 +3000,7 @@ any of these files, the identifiers @code{paper_eleven},
 respectively.  The default @code{\paper} block is also set.
 
 To change the paper size, you must first set the
-@code{papersize}
-@cindex papersize@@@code{papersize}
- variable at top level.  Set it to the strings
+@code{papersize}@indexcode{papersize} variable at top level.  Set it to the strings
 @code{a4}, @code{letter}, or @code{legal}.  After this specification,
 you must set the font as described above.  If you want the default
 font, then use the 20 point font.  The new paper size will not
@@ -3474,46 +3027,30 @@ height in points.
 Nevertheless, here are some variables you may want to use or change:
 
 @table @samp
-  @item @code{indent}
-@cindex indent@@@code{indent}
- @* 
+  @item @code{indent}@indexcode{indent} @* 
     The indentation of the first line of music.
 
-  @item @code{interline}
-@cindex interline@@@code{interline}
- @* 
+  @item @code{interline}@indexcode{interline} @* 
     The distance between two staff lines, calculated from the center
     of the lines.  You should use either this or @code{rulethickness}
     as a unit for distances you modify.
   
-  @item @code{linewidth}
-@cindex linewidth@@@code{linewidth}
- @* 
+  @item @code{linewidth}@indexcode{linewidth} @* 
     Sets the width of the lines.  If set to -1.0, a single
     unjustified line is produced.
 
-  @item @code{output}
-@cindex output@@@code{output}
- @* 
+  @item @code{output}@indexcode{output} @* 
     Specifies an alternate name for the the output @file{s}.
     A @file{.tex}, @file{.midi} or @file{.ps} extension will be 
     added to the string you specify.
 
-  @item @code{rulethickness}
-@cindex rulethickness@@@code{rulethickness}
- @* 
+  @item @code{rulethickness}@indexcode{rulethickness} @* 
     Determines the thickness of staff and bar lines. 
 
-  @item @code{castingalgorithm}
-@cindex castingalgorithm@@@code{castingalgorithm}
- @* 
+  @item @code{castingalgorithm}@indexcode{castingalgorithm} @* 
     The algorithm to use for breaking lines.  Choices are
-    @code{\Gourlay}
-@cindex Gourlay@@@code{\Gourlay}
- for a TeX-like dynamic
-    programming algorithm, and @code{\Wordwrap}
-@cindex Wordwrap@@@code{\Wordwrap}
- for
+    @code{\Gourlay}@keyindex{Gourlay} for a TeX-like dynamic
+    programming algorithm, and @code{\Wordwrap}@keyindex{Wordwrap} for
     a simple algorithm.  Gourlay breaking looks much better, but
     takes a lot more resources.  Wordwrap leaves loosely spaced lines
     at the end.
@@ -3549,51 +3086,45 @@ A context definition has this syntax:
 @quotation
 
   @code{\translator} @code{@{}
-                       
+                      @var{translatorinit} @var{translatormodifierlist}
                     @code{@}}
 @end quotation
 
- can be an identifier or of the form
+@var{translatorinit} can be an identifier or of the form
 
 @quotation
 
-  @code{\type}  @code{;}
+  @code{\type} @var{typename} @code{;}
 @end quotation
 
- is one of
+@var{typename} is one of
 
 @table @samp
-  @item @code{Engraver_group_engraver}
-@cindex Engraver_group_engraver@@@code{Engraver_group_engraver}
- @* 
+  @item @code{Engraver_group_engraver}@indexcode{Engraver_group_engraver} @* 
     The standard cooperation engraver.
 
-  @item @code{Score_engraver}
-@cindex Score_engraver@@@code{Score_engraver}
- @* 
+  @item @code{Score_engraver}@indexcode{Score_engraver} @* 
     This is cooperation module that should be in the top level context.
 
-  @item @code{Grace_engraver_group}
-@cindex Grace_engraver_group@@@code{Grace_engraver_group}
- @* 
+  @item @code{Grace_engraver_group}@indexcode{Grace_engraver_group} @* 
     This is a special cooperation module (resembling
     @code{Score_engraver}) that is used to created an embedded
     `miniscore'.
 @end table 
 
- is a list of items where each item is
+@var{translatormodifierlist} is a list of items where each item is
 one of
 
 @itemize @bullet
-  @item  @code{\consists}  @code{;} @* 
-    Add  to the list of modules in this context. 
+  @item  @code{\consists} @var{engravername} @code{;} @* 
+    Add @var{engravername} to the list of modules in this context. 
     Section @xref{engravers} contains an overview of the engravers
     available.  The order of engravers added with @code{\consists} is
     significant.
   
-  @item  @code{\consistsend}  @code{;} @* 
+  @item  @code{\consistsend} @var{engravername} @code{;} @* 
     Analogous to @code{\consists}, but makes sure that
-     is always added to the end of the list of
+    @var{engravername} is always added to the end of the list of
     engravers.
 
     Some engraver types need to be at the end of the list; this
@@ -3601,21 +3132,21 @@ one of
     removes engravers.  This command is usually not needed for
     end-users.
     
-  @item  @code{\accepts}  @code{;} @* 
-    Add  to the list of  context this context can
+  @item  @code{\accepts} @var{contextname} @code{;} @* 
+    Add @var{contextname} to the list of  context this context can
     contain.  The first listed context the context to create by
     default.
   
-  @item  @code{\remove}  @code{;} @* 
+  @item  @code{\remove} @var{engravername} @code{;} @* 
     Remove a previously added (with @code{\consists}) engraver.
   
-  @item  @code{\name}  @code{;} @* 
+  @item  @code{\name} @var{contextname} @code{;} @* 
     This sets name of the context, e.g. @code{Staff}, @code{Voice}.  If
     the name is not specified, the translator won't do anything.
 
-  @item   @code{=}  @code{;} @* 
+  @item  @var{propname} @code{=} @var{value} @code{;} @* 
     A property assignment.  It is allowed to use reals for
-    .
+    @var{value}.
 @end itemize
 
 In the @code{\paper} block, it is also possible to define translator
@@ -3648,49 +3179,32 @@ Some pre-defined identifiers can simplify modification of
 translators.  The pre-defined identifiers are:
 
 @table @samp
-  @item @code{StaffContext}
-@cindex StaffContext@@@code{StaffContext}
- @* 
+  @item @code{StaffContext}@indexcode{StaffContext} @* 
     Default Staff context. 
 
-  @item @code{RhythmicStaffContext}
-@cindex RhythmicStaffContext@@@code{RhythmicStaffContext}
- @* 
+  @item @code{RhythmicStaffContext}@indexcode{RhythmicStaffContext} @* 
     Default RhythmicStaff context. 
 
-  @item @code{VoiceContext}
-@cindex VoiceContext@@@code{VoiceContext}
- @* 
+  @item @code{VoiceContext}@indexcode{VoiceContext} @* 
     Default Voice context.  
 
-  @item @code{ScoreContext}
-@cindex ScoreContext@@@code{ScoreContext}
- @* 
+  @item @code{ScoreContext}@indexcode{ScoreContext} @* 
     Default Score context. 
 
-  @item @code{ScoreWithNumbers}
-@cindex ScoreWithNumbers@@@code{ScoreWithNumbers}
- @* 
+  @item @code{ScoreWithNumbers}@indexcode{ScoreWithNumbers} @* 
     Score context with numbering at the Score level.
 
-  @item @code{BarNumberingStaffContext}
-@cindex BarNumberingStaffContext@@@code{BarNumberingStaffContext}
- @* 
+  @item @code{BarNumberingStaffContext}@indexcode{BarNumberingStaffContext} @* 
     Staff context with numbering at the Staff level.
 
-  @item @code{HaraKiriStaffContext}
-@cindex HaraKiriStaffContext@@@code{HaraKiriStaffContext}
- @* 
+  @item @code{HaraKiriStaffContext}@indexcode{HaraKiriStaffContext} @* 
     Staff context that does not print if it only contains rests. 
     Useful for orchestral scores.@footnote{Harakiri, also called
     Seppuku, is the ritual suicide of the Samourai.}
 
-  @item @code{OrchestralPartStaffContext}
-@cindex OrchestralPartStaffContext@@@code{OrchestralPartStaffContext}
-
-  @item @code{OrchestralScoreContext}
-@cindex OrchestralScoreContext@@@code{OrchestralScoreContext}
+  @item @code{OrchestralPartStaffContext}@indexcode{OrchestralPartStaffContext}
 
+  @item @code{OrchestralScoreContext}@indexcode{OrchestralScoreContext}
 @end table
 
 Using these pre-defined values, you can remove or add items to the
@@ -3719,193 +3233,130 @@ The engravers for paper output are:
 [incomplete, FIXME]
 
 @table @samp
-  @item @code{Bar_engraver}
-@cindex Bar_engraver@@@code{Bar_engraver}
- @* 
+  @item @code{Bar_engraver}@indexcode{Bar_engraver} @* 
     Engraves bar lines.  Normally in @code{Staff} and
     @code{RhythmicStaff}.
 
-  @item @code{Bar_number_engraver}
-@cindex Bar_number_engraver@@@code{Bar_number_engraver}
- @* 
+  @item @code{Bar_number_engraver}@indexcode{Bar_number_engraver} @* 
     Engrave bar numbers.  These numbers appear at the start of each
     line.  Not normally in any translator.  Can be added to
     @code{Score} for score-wide numbering or to @code{Staff} for
     numbering on each staff.
 
-  @item @code{Beam_engraver}
-@cindex Beam_engraver@@@code{Beam_engraver}
- @* 
+  @item @code{Beam_engraver}@indexcode{Beam_engraver} @* 
     Handles beam requests by engraving beams.  Normally appears in
     the @code{Voice} translator.  If omitted, then notes will be
     printed with flags instead of beams.
 
   @item @code{Beam_req_swallow_translator}
-    
-@cindex Beam_req_swallow_translator@@@code{Beam_req_swallow_translator}
- @* 
+    @indexcode{Beam_req_swallow_translator} @* 
     Swallows beam requests.  In @code{LyricVoice}.  
 
-  @item @code{Chord_name_engraver}
-@cindex Chord_name_engraver@@@code{Chord_name_engraver}
- @* 
+  @item @code{Chord_name_engraver}@indexcode{Chord_name_engraver} @* 
     Engraves chord names.  Normally in @code{ChordNameVoice} .
 
-  @item @code{Chord_tremolo_engraver}
-@cindex Chord_tremolo_engraver@@@code{Chord_tremolo_engraver}
+  @item @code{Chord_tremolo_engraver}@indexcode{Chord_tremolo_engraver}
 
-  @item @code{Clef_engraver}
-@cindex Clef_engraver@@@code{Clef_engraver}
- @* 
+  @item @code{Clef_engraver}@indexcode{Clef_engraver} @* 
     Engraves the clef symbol.  Normally in @code{Staff}.
 
-  @item @code{Collision_engraver}
-@cindex Collision_engraver@@@code{Collision_engraver}
+  @item @code{Collision_engraver}@indexcode{Collision_engraver}
 
-  @item @code{Dot_column_engraver}
-@cindex Dot_column_engraver@@@code{Dot_column_engraver}
- @* 
+  @item @code{Dot_column_engraver}@indexcode{Dot_column_engraver} @* 
     Engraves dots on dotted notes shifted to the right of the note. 
     Normally in @code{Voice}.  If omitted, then dots appear on top of
     the notes.
 
-  @item @code{Dynamic_engraver}
-@cindex Dynamic_engraver@@@code{Dynamic_engraver}
- @* 
+  @item @code{Dynamic_engraver}@indexcode{Dynamic_engraver} @* 
     Engraves dynamics symbols.  Normally in @code{Voice}.
 
-  @item @code{Font_size_engraver}
-@cindex Font_size_engraver@@@code{Font_size_engraver}
+  @item @code{Font_size_engraver}@indexcode{Font_size_engraver}
 
-  @item @code{Key_engraver}
-@cindex Key_engraver@@@code{Key_engraver}
- @* 
+  @item @code{Key_engraver}@indexcode{Key_engraver} @* 
     Engraves the key signature.  Normally in @code{Staff}.
 
-  @item @code{Local_key_engraver}
-@cindex Local_key_engraver@@@code{Local_key_engraver}
+  @item @code{Local_key_engraver}@indexcode{Local_key_engraver}
 
-  @item @code{Lyric_engraver}
-@cindex Lyric_engraver@@@code{Lyric_engraver}
- @* 
+  @item @code{Lyric_engraver}@indexcode{Lyric_engraver} @* 
     Engraves lyrics.  Normally in @code{LyricVoice}.
 
   @item @code{Multi_measure_rest_engraver}
-    
-@cindex Multi_measure_rest_engraver@@@code{Multi_measure_rest_engraver}
- @* 
+    @indexcode{Multi_measure_rest_engraver} @* 
     Engraves multi-measure rests that are produced with @code{R}. 
     Normally in @code{Voice}.
 
-  @item @code{Piano_bar_engraver}
-@cindex Piano_bar_engraver@@@code{Piano_bar_engraver}
+  @item @code{Piano_bar_engraver}@indexcode{Piano_bar_engraver}
 
-  @item @code{Pitch_squash_engraver}
-@cindex Pitch_squash_engraver@@@code{Pitch_squash_engraver}
- @* 
+  @item @code{Pitch_squash_engraver}@indexcode{Pitch_squash_engraver} @* 
     Treat all pitches as middle C.  Used in @code{RhythmicStaff}. 
     Note that the notes move, but the locations of accidentals stay
     the same.
 
   @item @code{Priority_horizontal_align_engraver}
-    
-@cindex Priority_horizontal_align_engraver@@@code{Priority_horizontal_align_engraver}
+    @indexcode{Priority_horizontal_align_engraver}
 
-  @item @code{Repeat_engraver}
-@cindex Repeat_engraver@@@code{Repeat_engraver}
- @* 
+  @item @code{Repeat_engraver}@indexcode{Repeat_engraver} @* 
     Handles repeats?  In @code{Staff} and @code{RhythmicStaff}.
 
-  @item @code{Rest_collision_engraver}
-@cindex Rest_collision_engraver@@@code{Rest_collision_engraver}
- @* 
+  @item @code{Rest_collision_engraver}@indexcode{Rest_collision_engraver} @* 
     Handles collisions of rests.  In @code{Staff}.
 
-  @item @code{Rest_engraver}
-@cindex Rest_engraver@@@code{Rest_engraver}
- @* 
+  @item @code{Rest_engraver}@indexcode{Rest_engraver} @* 
     Engraves rests.  Normally in @code{Voice}.
 
-  @item @code{Rhythmic_column_engraver}
-@cindex Rhythmic_column_engraver@@@code{Rhythmic_column_engraver}
+  @item @code{Rhythmic_column_engraver}@indexcode{Rhythmic_column_engraver}
 
-  @item @code{Score_priority_engraver}
-@cindex Score_priority_engraver@@@code{Score_priority_engraver}
+  @item @code{Score_priority_engraver}@indexcode{Score_priority_engraver}
 
-  @item @code{Script_engraver}
-@cindex Script_engraver@@@code{Script_engraver}
- @* 
+  @item @code{Script_engraver}@indexcode{Script_engraver} @* 
     Handles note ornaments generated by @code{\script}.  Normally in
     @code{Voice}.
 
   @item @code{Separating_line_group_engraver}
-    
-@cindex Separating_line_group_engraver@@@code{Separating_line_group_engraver}
+    @indexcode{Separating_line_group_engraver}
 
   @item @code{Skip_req_swallow_translator}
-    
-@cindex Skip_req_swallow_translator@@@code{Skip_req_swallow_translator}
+    @indexcode{Skip_req_swallow_translator}
 
-  @item @code{Slur_engraver}
-@cindex Slur_engraver@@@code{Slur_engraver}
- @* 
+  @item @code{Slur_engraver}@indexcode{Slur_engraver} @* 
     Engraves slurs.  Normally in @code{Voice}.
 
-  @item @code{Span_bar_engraver}
-@cindex Span_bar_engraver@@@code{Span_bar_engraver}
- @* 
+  @item @code{Span_bar_engraver}@indexcode{Span_bar_engraver} @* 
     Engraves lines across multiple staffs.  Normally in
     @code{Staffgroup} and @code{GrandStaff}.  Removing this from
     @code{StaffGroup} gives the definition of @code{ChoirStaff}.
 
-  @item @code{Span_score_bar_engraver}
-@cindex Span_score_bar_engraver@@@code{Span_score_bar_engraver}
+  @item @code{Span_score_bar_engraver}@indexcode{Span_score_bar_engraver}
 
-  @item @code{Staff_group_bar_engraver}
-@cindex Staff_group_bar_engraver@@@code{Staff_group_bar_engraver}
+  @item @code{Staff_group_bar_engraver}@indexcode{Staff_group_bar_engraver}
 
-  @item @code{Staff_margin_engraver}
-@cindex Staff_margin_engraver@@@code{Staff_margin_engraver}
- @* 
+  @item @code{Staff_margin_engraver}@indexcode{Staff_margin_engraver} @* 
     Prints the name of the instrument (specified by
     @code{Staff.instrument} and @code{Staff.instr}) at the left of the
     staff.
 
-  @item @code{Staff_sym_engraver}
-@cindex Staff_sym_engraver@@@code{Staff_sym_engraver}
+  @item @code{Staff_sym_engraver}@indexcode{Staff_sym_engraver}
 
-  @item @code{Stem_engraver}
-@cindex Stem_engraver@@@code{Stem_engraver}
- @* 
+  @item @code{Stem_engraver}@indexcode{Stem_engraver} @* 
     Engraves stems.  Normally in @code{Voice}.
 
-  @item @code{Ties_engraver}
-@cindex Ties_engraver@@@code{Ties_engraver}
- @* 
+  @item @code{Ties_engraver}@indexcode{Ties_engraver} @* 
     Engraves ties.  Normally in @code{Voice}.
 
-  @item @code{Time_signature_engraver}
-@cindex Time_signature_engraver@@@code{Time_signature_engraver}
- @* 
+  @item @code{Time_signature_engraver}@indexcode{Time_signature_engraver} @* 
     Engraves the time signature.  Normally in @code{Staff} and
     @code{RhythmicStaff}.
 
-  @item @code{Timing_engraver}
-@cindex Timing_engraver@@@code{Timing_engraver}
- @* 
+  @item @code{Timing_engraver}@indexcode{Timing_engraver} @* 
     Responsible for synchronizing timing information from staffs. 
     Normally in @code{Score}.  In order to create polyrhythmic music,
     this engraver should be removed from @code{Score} and placed in
     @code{Staff}.
 
-  @item @code{Tuplet_engraver}
-@cindex Tuplet_engraver@@@code{Tuplet_engraver}
- @* 
+  @item @code{Tuplet_engraver}@indexcode{Tuplet_engraver} @* 
     Engraves tuplet brackets?  In @code{Staff}.
 
-  @item @code{Vertical_align_engraver}
-@cindex Vertical_align_engraver@@@code{Vertical_align_engraver}
+  @item @code{Vertical_align_engraver}@indexcode{Vertical_align_engraver} 
 @end table
 
 
@@ -3941,12 +3392,8 @@ The contexts for MIDI output are defined in @file{ly/performer.ly}.
 @node midilist, Pre-defined Identifiers, Sound output, LilyPond 1-2-0 Reference Manual
 
 The MIDI instrument name is set by the
-@code{Staff.midiInstrument}
-@cindex Staff.midiInstrument@@@code{Staff.midiInstrument}
- property or, if that property is
-not set, the @code{Staff.instrument}
-@cindex Staff.instrument@@@code{Staff.instrument}
- property.  The instrument
+@code{Staff.midiInstrument}@indexcode{Staff.midiInstrument} property or, if that property is
+not set, the @code{Staff.instrument}@indexcode{Staff.instrument} property.  The instrument
 name should be chosen from the following list.  If the selected
 string does not exactly match, then LilyPond uses the default piano.
 
@@ -4007,35 +3454,19 @@ string does not exactly match, then LilyPond uses the default piano.
 The types available for  MIDI translators are:
 
 @table @samp
-  @item @code{Performer_group_performer}
-@cindex Performer_group_performer@@@code{Performer_group_performer}
-
-  @item @code{Score_performer}
-@cindex Score_performer@@@code{Score_performer}
-
-  @item @code{Staff_performer}
-@cindex Staff_performer@@@code{Staff_performer}
-
+  @item @code{Performer_group_performer}@indexcode{Performer_group_performer}
+  @item @code{Score_performer}@indexcode{Score_performer}
+  @item @code{Staff_performer}@indexcode{Staff_performer}
 @end table
 
 The performers for MIDI translators are:
 
 @table @samp
-  @item @code{Key_performer}
-@cindex Key_performer@@@code{Key_performer}
-
-  @item @code{Time_signature_performer}
-@cindex Time_signature_performer@@@code{Time_signature_performer}
-
-  @item @code{Note_performer}
-@cindex Note_performer@@@code{Note_performer}
-
-  @item @code{Lyric_performer}
-@cindex Lyric_performer@@@code{Lyric_performer}
-
-  @item @code{Swallow_performer}
-@cindex Swallow_performer@@@code{Swallow_performer}
-
+  @item @code{Key_performer}@indexcode{Key_performer}
+  @item @code{Time_signature_performer}@indexcode{Time_signature_performer}
+  @item @code{Note_performer}@indexcode{Note_performer}
+  @item @code{Lyric_performer}@indexcode{Lyric_performer}
+  @item @code{Swallow_performer}@indexcode{Swallow_performer}
 @end table
 
 
@@ -4052,128 +3483,86 @@ provide shorthands for some settings.  Most of them are in
 @file{ly/declarations.ly}.
 
 @table @samp
-  @item @code{\break}
-@cindex break@@@code{\break}
- @* 
+  @item @code{\break}@keyindex{break} @* 
     Force a line break in music by using a large argument for the
     keyword @code{\penalty}.
 
-  @item @code{\center}
-@cindex center@@@code{\center}
- @* 
+  @item @code{\center}@keyindex{center} @* 
     Used for setting direction  properties.  Equals 0.
 
-  @item @code{\down}
-@cindex down@@@code{\down}
- @* 
+  @item @code{\down}@keyindex{down} @* 
     Used for setting direction setting properties.  Is equal
     to -1.
 
-  @item @code{\free}
-@cindex free@@@code{\free}
- @* 
+  @item @code{\free}@keyindex{free} @* 
     Used for setting direction setting properties.  Is equal
     to 0.
 
-  @item @code{\left}
-@cindex left@@@code{\left}
- @* 
+  @item @code{\left}@keyindex{left} @* 
     Used for setting text alignment property.  Is equal to -1.
 
-  @item @code{\nobreak}
-@cindex nobreak@@@code{\nobreak}
- @* 
+  @item @code{\nobreak}@keyindex{nobreak} @* 
     Prevent a line break in music by using a large negative argument
     for the keyword @code{\penalty}.
 
-  @item @code{\none}
-@cindex none@@@code{\none}
- @* 
+  @item @code{\none}@keyindex{none} @* 
     Used for setting @code{Score.beamslopedamping} and
     @code{Score.beamquantisation} properties.  Is equal to 0.
 
-  @item @code{\normal}
-@cindex normal@@@code{\normal}
- @* 
+  @item @code{\normal}@keyindex{normal} @* 
     Used for setting @code{Score.beamslopedamping} and
     @code{Score.beamquantisation} properties.  Is equal to 1.
 
-  @item @code{\normalkey}
-@cindex normalkey@@@code{\normalkey}
- @* 
+  @item @code{\normalkey}@keyindex{normalkey} @* 
     Select normal key signatures where each octave has the same key
     signature.  This sets the @code{Staff.keyoctaviation} property.
 
-  @item @code{\right}
-@cindex right@@@code{\right}
- @* 
+  @item @code{\right}@keyindex{right} @* 
     Used for setting text alignment property.  Is set to 1.
 
-  @item @code{\shiftoff}
-@cindex shiftoff@@@code{\shiftoff}
- @* 
+  @item @code{\shiftoff}@keyindex{shiftoff} @* 
     Disable horizontal shifting of note heads that collide.  Sets the
     @code{Voice.horizontalNoteShift} property.
 
-  @item @code{\shifton}
-@cindex shifton@@@code{\shifton}
- @* 
+  @item @code{\shifton}@keyindex{shifton} @* 
     Enable note heads that collide with other note heads to be
     shifted horiztonally.  Sets the @code{Voice.horizontalNoteShift}
     property.
 
-  @item @code{\slurboth}
-@cindex slurboth@@@code{\slurboth}
- @* 
+  @item @code{\slurboth}@keyindex{slurboth} @* 
     Allow slurs to be above or below notes.  This sets the
     @code{Voice.slurVerticalDirection} property.
 
-  @item @code{\slurdown}
-@cindex slurdown@@@code{\slurdown}
- @* 
+  @item @code{\slurdown}@keyindex{slurdown} @* 
     Force slurs to be below notes.  This sets the
     @code{Voice.slurVerticalDirection} property.
 
-  @item @code{\slurup}
-@cindex slurup@@@code{\slurup}
- @* 
+  @item @code{\slurup}@keyindex{slurup} @* 
     Force slurs to be above notes.  This sets the
     @code{Voice.slurVerticalDirection} property.
 
-  @item @code{\specialkey}
-@cindex specialkey@@@code{\specialkey}
- @* 
+  @item @code{\specialkey}@keyindex{specialkey} @* 
     Allow key signatures do differ in different octaves.  This sets
     the @code{Staff.keyoctaviation} property.
 
-  @item @code{\stemboth}
-@cindex stemboth@@@code{\stemboth}
- @* 
+  @item @code{\stemboth}@keyindex{stemboth} @* 
     Allow stems, beams, and slurs to point either upwards or
     downwards, decided automatically by LilyPond.  This sets the
     @code{Voice.verticalDirection} property.
 
-  @item @code{\stemdown}
-@cindex stemdown@@@code{\stemdown}
- @* 
+  @item @code{\stemdown}@keyindex{stemdown} @* 
     Force stems, beams, and slurs to point down.  This sets the
     @code{Voice.verticalDirection} property.
 
-  @item @code{\stemup}
-@cindex stemup@@@code{\stemup}
- @* 
+  @item @code{\stemup}@keyindex{stemup} @* 
     Force stems, beams and slurs to point up.  This sets the
     @code{Voice.verticalDirection} property.
 
-  @item @code{\traditional}
-@cindex traditional@@@code{\traditional}
- @* 
+  @item @code{\traditional}@keyindex{traditional} @* 
     Used for setting the @code{Score.beamquantisation} property.  Is
     equal to 2.
 
-  @item @code{\up}
-@cindex up@@@code{\up}
- @* 
+  @item @code{\up}@keyindex{up} @* 
     Used for setting various direction properties.  Is equal
     to 1.
 @end table
@@ -4209,10 +3598,10 @@ finally `@file{.sly}' extension.  If the filename ends with
 The result of `@file{.sly}' is similar except that a single unjustified
 line is produced.
 
-If you invoke LilyPond with a file `@file{foo.}' that doesn't
+If you invoke LilyPond with a file `@file{foo.}@var{ext}' that doesn't
 have the `@file{.ly}' extension, then LilyPond will look for a file
-called `@file{init.}' and process this file.  The file
-`@file{init.}' must contain the @code{\maininput} keyword or
+called `@file{init.}@var{ext}' and process this file.  The file
+`@file{init.}@var{ext}' must contain the @code{\maininput} keyword or
 LilyPond will not read the user specified file.
 
 When LilyPond processes @file{filename.ly} it will produce
diff --git a/TODO b/TODO
index 00661c54a5f9ab7034a71f4f20b798f24fe4369d..48a1b492359920a06dade2bb4f24abbcc44fb7fa 100644 (file)
--- a/TODO
+++ b/TODO
@@ -10,7 +10,7 @@ Grep -i for TODO, FIXME and ugh/ugr/urg.
 
 .* TODO
 . * use Rhythmic_head::position_i () for all Staff_referenced 
-. * rerun profile
+. * sleur.ly. * rerun profile
 . * mmrests
 . * Break_req handling is silly (break_forbid () + \break fucks up.)
 . * script engraver
@@ -328,6 +328,24 @@ touching it.
             do_one_file(String,String) [scores.cc:124]
       Reading 4 bytes from 0xefffeca8 on the stack.
       Address 0xefffeca8 is 728 bytes below frame pointer in function 
+. *  Array<Axis [2] > axeses;
+
+  for (int i=0; i < loose_elems.size (); i++)
+    {
+      Score_element* elt = loose_elems[i];
+      /*
+           with which axes do we have to meddle?
+      */
+      int j =0;
+      Axis as [2];
+      for (int a = X_AXIS; a < NO_AXES; ++a)
+       if (elt->parent_l (Axis (a)) == this)
+         as[j++] = Axis (a);
+      if (j == 1)
+       as[j++] = as[0];
+
+      axeses.push (as);
+    }
 . * GNU diff 2.7: diff -rN does not see a new directory with empty file
 . * patch: don't touch timestamp if all patches fail.
 . * MetaPost: should not generate setgray for unfill
diff --git a/VERSION b/VERSION
index 0f091669437e906687662e56135ad99f388185a7..8dc760251ca40669c92ce14c64342bf07cb66b5e 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,8 +1,8 @@
 PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=2
-PATCH_LEVEL=8
-MY_PATCH_LEVEL=jcn2
+PATCH_LEVEL=9
+MY_PATCH_LEVEL=
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 3aabb2b06cb3a8c02982f86d2e49254bcdf788a7..8a2efcb6fdef6faf4eb0c4166b949d2575955462 100644 (file)
@@ -207,5 +207,76 @@ junk_pointer_array (Link_array<T> &a)
   a.clear ();
 }
 
+
+
+/*
+  lookup with binsearch, return tokencode.
+*/
+template<class T>
+int
+binsearch_array (Array<T> const &arr, T t, int (*compare)(T const&,T const&))
+{
+  int lo;
+  int hi;
+  int cmp;
+  int result;
+  lo = 0;
+  hi = maxkey;
+
+  /* binary search */
+  do
+  {
+      cmp = (lo + hi) / 2;
+
+      result = compare (t, arr[cmp]);
+
+      if (result < 0)
+          hi = cmp;
+      else
+          lo = cmp;
+    }
+  while (hi - lo > 1);
+  if (!compare (t, arr[lo]))
+    return lo;
+  else
+    return -1;              /* not found */
+}
+
+
+template<class T>
+int
+binsearch_link_array (Link_array<T> const &arr, T *t,
+                     int (*compare)(T *const&,T *const&))
+{
+  int lo;
+  int hi;
+  int cmp;
+  int result;
+  lo = 0;
+  hi = arr.size();
+
+  if (hi == 0)
+    return -1;
+  
+  /* binary search */
+  do
+  {
+      cmp = (lo + hi) / 2;
+
+      result = compare (t, arr[cmp]);
+
+      if (result < 0)
+          hi = cmp;
+      else
+          lo = cmp;
+    }
+  while (hi - lo > 1);
+  if (!compare (t, arr[lo]))
+    return lo;
+  else
+    return -1;              /* not found */
+}
+
+
 #endif // PARRAY_HH
 
index ff14437a0535ec56a461a12d75358572ce0d75d9..c9c96999065e521b40bf3c36cdef8d61e5987d31 100644 (file)
@@ -6,31 +6,23 @@
 melody = \notes \relative c' {
        \partial 8;
        g8 |
-       c4 c8 d [es () d] c4 | f4 f8 g [es() d] c g |
-       c4 c8 d [es () d] c4 | d4 es8 d c4.
+       
+       
        \bar "|.";\clef bass;
 }
 
-text = \lyrics {
-       The ri -- ver is flo -- wing, flo -- wing and gro -- wing, the
-       ri -- ver is flo -- wing down to the sea.
-}
+
 
 accompaniment =\chords  \sequential {
        r8
-       c2-min f-min 7 d-min es4 c8-min r8
-       c2-min f-min 7 g c-min
+       c2-min f-min 7 
 }
 
 \score {
        \simultaneous {
          \context ChordNames \accompaniment
-         \addlyrics
             \context Staff {
-               \property Voice.beamAuto = "0"
-               \property Staff.automaticMelismas = "1"
                \melody }
-            \context LyricVoice \text
        }
        \paper { }
        \midi  { }
diff --git a/input/bugs/ch.ly b/input/bugs/ch.ly
deleted file mode 100644 (file)
index 3f48697..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
- \score {\notes \context Voice = VA \relative c' {
-       <g4. e'> <g'4. e'> <a4. e' a> <a,4. a'>} }
diff --git a/input/bugs/hara.ly b/input/bugs/hara.ly
new file mode 100644 (file)
index 0000000..85ff14a
--- /dev/null
@@ -0,0 +1,88 @@
+
+
+The following example shows 2 bugs with HaraKiriStaffContext.
+
+The first bug is that when the second staff disappears, the instr
+string in the margin "2" is still printed, and surprisingly appears
+above staff 1.
+
+The second and more serious bug is that when staff 2 reappears,
+the bar separators are no longer being printed for that staff.
+
+Regards,
+Roy Rankin
+
+\header {
+       composer = "Music: Trad.";
+       crossRefNumber = "4";
+       title = "HaraKiri Bugs";
+}
+voice1 = \notes {
+\property Staff.instrument = "Part1"
+\property Staff.instr = "1"
+\property Staff.timeSignatureStyle="C"
+ \time 4/4; \key c;   
+ e''4.    e''8    e''4    r4   |   e''4    d''4   
+ c''2      |
+ e''4    d''4    c''2 (     |
+ e''2    c''2   ~      |
+ ) c''1    \bar "|."; \break       
+ e''4.    e''8    e''4    r4   |   e''4    d''4   
+ c''2      |
+ e''4    d''4    c''2 (     |
+ e''2    c''2   ~      |
+ ) c''1    \bar "|.";       \break
+ e''4.    e''8    e''4    r4   |   e''4    d''4   
+ c''2      |
+ e''4    d''4    c''2 (     |
+ e''2    c''2   ~      |
+ ) c''1    \bar "|."; \break       
+ e''4.    e''8    e''4    r4   |   e''4    d''4   
+ c''2      |
+ e''4    d''4    c''2 (     |
+ e''2    c''2   ~      |
+ ) c''1    \bar "|.";       
+}
+voice2 = \notes {
+\property Staff.instrument = "Part2"
+\property Staff.instr = "2"
+\property Staff.timeSignatureStyle="C"
+ \time 4/4; \key c;   
+ e''4.    e''8    e''4    r4   |   e''4    d''4   
+ c''2     |
+ e''4    d''4    c''2 (     |
+ e''2    c''2   ~      |
+ ) c''1    \bar "|.";       
+s1 * 10
+ e''4.    e''8    e''4    r4   |   e''4    d''4   
+ c''2      |
+ e''4    d''4    c''2 (     |
+ e''2    c''2   ~      |
+ ) c''1    \bar "|.";       
+}
+\score{
+        \notes <
+
+       \context Staff="1"
+       {
+           \$voice1
+       }
+       \context Staff="2"
+       {
+           \$voice2
+       }
+
+    >
+       \paper 
+       {
+               \translator 
+               {
+                       \HaraKiriStaffContext
+                       \consists  Staff_margin_engraver;
+               }
+       }
+       \midi {}
+}
+
+
+
index 45028507056410740238e872090e01e9383e1469..83bbdcd9ef2fc19b77da96884c4d4250652a63f7 100644 (file)
@@ -1,7 +1,7 @@
 # input/test/Makefile
 
 depth = ../..
-examples=font20 slur-interstaff sleur hara-kiri grace
+examples=font20 
 LOCALSTEPMAKE_TEMPLATES=mutopia
 
 include $(depth)/make/stepmake.make 
diff --git a/input/test/script-horizontal.ly b/input/test/script-horizontal.ly
new file mode 100644 (file)
index 0000000..d541d25
--- /dev/null
@@ -0,0 +1,23 @@
+
+\score {
+
+       \notes \context Voice <
+               \context Thread = TA { c'4_1 }
+               \context Thread = TB { \property Thread.scriptHorizontal = "1"
+               e'4-2-\trill }
+               \context Thread = TC { g'4^4 }
+       >
+       
+       \paper { \translator {
+               \VoiceContext
+               \remove Script_engraver;
+               \remove Text_engraver;
+               
+               }
+               \translator {
+               \ThreadContext
+               \consists Script_engraver;
+               \consists Text_engraver;                
+               }
+       }
+}
diff --git a/input/test/xaxisscript.ly b/input/test/xaxisscript.ly
deleted file mode 100644 (file)
index 59fb42e..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-\score {
-\notes {\property Thread.scriptHorizontal = "1"
-       c4-4
-       }
-       \paper { \translator {
-               \VoiceContext
-               \remove Script_engraver;
-               \remove Text_engraver;
-               
-               }
-               \translator {
-               \ThreadContext
-               \consists Script_engraver;
-               \consists Text_engraver;                
-               }
-       }
-}
index 9b174b29d1bdc21a12c842e84eb68fe5842eefd4..0ecfbf4420de88d419e88b1e20a4ddc31f462970 100644 (file)
@@ -73,6 +73,6 @@ All_font_metrics::find_font (String name)
   if (f)
     return f;
   error (_f ("Can't find default font: `%s'", default_font_sz_));
-  error (_f ("(search path: `%s)'", search_path_.str ()));
+  error (_f ("(search path: `%s'", search_path_.str ()));
   error (_ ("Giving up"));
 }
index b43f07e270476716a6267c1e73bac1366128cfed..5068ecd0994f82243cf75c3f07b832aeb7f0e179 100644 (file)
@@ -39,8 +39,8 @@ Axis_group_item::do_breakable_col_processing()
       do 
        {
          Axis_group_item * my_brok
-           = dynamic_cast<Axis_group_item*> (find_prebroken_piece(j));
-         Item *new_l = it_l->find_prebroken_piece (j);
+           = dynamic_cast<Axis_group_item*> (find_broken_piece(j));
+         Item *new_l = it_l->find_broken_piece (j);
          my_brok->add_element (new_l);
        }
       while (flip(&j)!=LEFT);
index 71064ac8b4b235eff42c0a7d40a1ca523c9978e3..246fcee710fdcd82af7086145ab610fa884059ec 100644 (file)
@@ -30,15 +30,15 @@ Axis_group_spanner::do_break_processing_if_unbroken()
               && item_l->break_status_dir() == 0) 
            {
              // last two checks are paranoia
-             Item * broken_item_l = 
-               item_l->find_prebroken_piece (my_line);
+             Score_element * broken_item_l = 
+               item_l->find_broken_piece (my_line);
              add_element (broken_item_l);
            }
 
          Spanner *spanner_l = dynamic_cast<Spanner*> (elems[i]);
          if (spanner_l)
            {
-             Spanner *broken_spanner_l =
+             Score_element *broken_spanner_l =
                spanner_l->find_broken_piece (my_line);
              add_element (broken_spanner_l);
            }
@@ -62,19 +62,43 @@ Axis_group_spanner::do_break_processing()
 
   break_into_pieces ();
   Link_array<Score_element> loose_elems = elem_l_arr ();
+
+  Array<int> axeses;
+
+  for (int i=0; i < loose_elems.size (); i++)
+    {
+      Score_element* elt = loose_elems[i];
+      /*
+           with which axes do we have to meddle?
+      */
+      int j =0;
+      int as [2];
+      for (int a = X_AXIS; a < NO_AXES; ++a)
+       if (elt->parent_l (Axis (a)) == this)
+         as[j++] = a;
+      if (j == 1)
+       as[j++] = as[0];
+
+      axeses.push (as[0]);
+      axeses.push (as[1]);
+    }
+
   remove_all();
   
   for (int i=0; i < loose_elems.size(); i++) 
     {
       Score_element * elt = loose_elems[i];
       Line_of_score *elt_line = elt->line_l();
-       
+
+      Axis a1= (Axis)axeses[2*i];      // ugh.
+      Axis a2= (Axis)axeses[2*i+1];    // ugh.      
       if (! elt_line)
        {
          /* this piece doesn't know where it belongs.
             Find out if it was broken, and use the broken remains
             */
 
+
          Item *it = dynamic_cast <Item *> (elt) ;        
          if (Spanner * sp =dynamic_cast <Spanner *> (elt))
            {
@@ -85,11 +109,11 @@ Axis_group_spanner::do_break_processing()
                  Axis_group_spanner * my_broken_l
                    = dynamic_cast<Axis_group_spanner*>(find_broken_piece (l));
                  
-                 Spanner * broken_span_l 
+                 Score_element * broken_span_l 
                    = sp->find_broken_piece (l);
-                   
+
                  if (broken_span_l) 
-                   my_broken_l->add_element (broken_span_l);
+                   my_broken_l->add_element (broken_span_l, a1, a2);
                }
            }
          else if (it && it->broken_original_b ())
@@ -98,7 +122,7 @@ Axis_group_spanner::do_break_processing()
              Direction  j=LEFT;
              do 
                {
-                 Item * broken_item = it->find_prebroken_piece (j);
+                 Item * broken_item = it->find_broken_piece (j);
                  Line_of_score * item_line_l = broken_item->line_l() ;
                  if (! item_line_l) 
                    continue;
@@ -106,7 +130,7 @@ Axis_group_spanner::do_break_processing()
                  Axis_group_spanner * v
                    = dynamic_cast<Axis_group_spanner*>(find_broken_piece (item_line_l));
                  if (v)
-                   v->add_element (broken_item);
+                   v->add_element (broken_item, a1, a2);
                  else
                    {
                      broken_item->set_elt_property (transparent_scm_sym, SCM_BOOL_T);
@@ -124,7 +148,7 @@ Axis_group_spanner::do_break_processing()
             */
          Axis_group_spanner * my_broken_l
            = dynamic_cast<Axis_group_spanner*> (find_broken_piece (elt->line_l()));
-         my_broken_l->add_element (elt);
+         my_broken_l->add_element (elt, a1, a2);
        }
     }
   
index 1208f4021a42824ffe90e47049d9fbeea4547072..32450301f83389ccbca4afc2d7fd28ef9148a5a5 100644 (file)
 #include "simple-spacer.hh"
 
 
-String
-Col_stats::str () const
-{
-  String s;
-  if (!count_i_)
-    s = _ ("0 lines");
-  else if (count_i_ == 1)
-    s = _f ("1 line (of %.0f columns)", (Real)cols_i_/count_i_);
-  else
-    s = _f ("%d lines (with an average of %.1f columns)", 
-      count_i_, (Real)cols_i_/count_i_);
-  return s;
-}
 
-void
-Col_stats::add (Line_of_cols const& line)
-{
-  count_i_++;
-  cols_i_ += line.size ();
-}
-
-
-Col_stats::Col_stats ()
-{
-  count_i_ =0;
-  cols_i_ =0;
-}
-
-/* **************************************************************** */
 
 
 Array<int>
@@ -164,16 +136,8 @@ Break_algorithm::OK () const
 Array<Column_x_positions>
 Break_algorithm::solve () const
 {
-  Cpu_timer timer;
-
   Array<Column_x_positions> h= do_solve ();
-
-  if (approx_stats_.count_i_)
-    *mlog << '\n' << _f ("approximated %s", approx_stats_.str ()) << endl;
-  if (exact_stats_.count_i_)
-    *mlog << _f ("calculated %s exactly", exact_stats_.str ()) << endl;
-  *mlog << _f ("elapsed time %.2f seconds",  timer.read ()) << endl;
-
+  
   return h;
 }
 
diff --git a/lily/gdb.cc b/lily/gdb.cc
new file mode 100644 (file)
index 0000000..0df1e50
--- /dev/null
@@ -0,0 +1,14 @@
+#include "item.hh"
+#include "spanner.hh"
+
+// thanks to GDBs wonderful casting abilities, we need these:
+Item*
+to_item (Graphical_element* g)
+{
+  return dynamic_cast<Item*>(g);
+}
+Spanner*
+to_spanner (Graphical_element*g)
+{
+  return dynamic_cast<Spanner*>(g);
+}
index e9d0ecb801aa80167c4b4c8762dfb890e31ffcc2..de9da6836d6a0e02cd5067e7a1b057a3adef0e56 100644 (file)
@@ -86,8 +86,8 @@ Gourlay_breaking::do_solve () const
          
          Line_of_cols line = all.slice (breaks[start_idx], breaks[break_idx]+1);
   
-         line[0] = dynamic_cast<Paper_column*>(line[0]->find_prebroken_piece (RIGHT));
-         line.top () =  dynamic_cast<Paper_column*>(line.top ()->find_prebroken_piece (LEFT));
+         line[0] = dynamic_cast<Paper_column*>(line[0]->find_broken_piece (RIGHT));
+         line.top () =  dynamic_cast<Paper_column*>(line.top ()->find_broken_piece (LEFT));
            
          if (!feasible (line))
            break;
@@ -99,14 +99,12 @@ Gourlay_breaking::do_solve () const
            pscore_l_->paper_l_->line_dimensions_int (optimal_paths[start_idx].line_i_));
          spacer_p_list.append (new Killing_cons<Line_spacer> (approx.spacer_l_,0));
 
-         ( (Break_algorithm*)this)->approx_stats_.add (approx.cols_);
          approx.approximate_solve_line ();
            
          if  (approx.energy_f_  > energy_bound_f_)
            {
              continue;
            }
-
            
          // this is a likely candidate. Store it.
          candidate_lines.push (approx);
@@ -127,7 +125,6 @@ Gourlay_breaking::do_solve () const
          if (!candidate_lines[j].satisfies_constraints_b_) 
            {
              candidate_lines[j].solve_line ();
-             ( (Break_algorithm*)this)->exact_stats_.add (candidate_lines[j].cols_);
            }
            
          Real this_energy 
@@ -161,7 +158,9 @@ Gourlay_breaking::do_solve () const
     }
 
   if  (break_idx % HAPPY_DOTS_I) 
-    *mlog << "[" << break_idx << "]" << flush;
+    *mlog << "[" << break_idx << "]";
+
+  *mlog << endl;
 
   Array<int> final_breaks;
 
index 02f32e1eb04a12464f41b73c9fd514968044e37b..1fe7c2b3026ed03fba0cb98880f04878a3568277 100644 (file)
@@ -42,25 +42,35 @@ Graphical_axis_group::extent (Axis axis) const
 }
 
 void
-Graphical_axis_group::add_element (Graphical_element*e)
+Graphical_axis_group::add_element (Graphical_element*e, Axis a1 , Axis a2)
 {
   used_b_ =true;
   e->used_b_ = true;
+
+  Axis as[2] = {
+    (a1 == NO_AXES) ? axes_[0] : a1,
+    (a2 == NO_AXES) ? axes_[1] : a2,    
+  };
+
+    
+  
   for (int i = 0; i < 2; i++)
     {
-      Axis a = axes_[i];
-      assert (a>=0);
-      assert (!e->parent_l (a)  || this  == e->parent_l (a));
-      e->set_parent (this, a);
+      if (e->parent_l (as[i]))
+       continue;
+      
+      e->set_parent (this, as[i]);
 
-      e->dim_cache_[a]->dependencies_l_arr_.push (dim_cache_[a]);
+      e->dim_cache_[as[i]]->dependencies_l_arr_.push (dim_cache_[as[i]]);
     }
-
+  assert (e->parent_l(Y_AXIS) == this || e->parent_l (X_AXIS) == this);
   elem_l_arr_.push (e);
 }
 
 
-
+/**
+   ugr. duplication of functionality with remove_all ()
+ */
 void
 Graphical_axis_group::remove_element (Graphical_element*e)
 {
@@ -69,13 +79,20 @@ Graphical_axis_group::remove_element (Graphical_element*e)
     elem_l_arr_.substitute (e,0);
   else
     elem_l_arr_.unordered_substitute (e,0);
-  
+
+  do_remove (e);
+}
+
+void
+Graphical_axis_group::do_remove (Graphical_element *e)
+{
   for (int i=0; i<  2; i++)
     {
       Axis a=axes_[i];
-      Dimension_cache * d = e->dim_cache_[a];
-      d->parent_l_ = 0;
-      d->dependencies_l_arr_.unordered_substitute (dim_cache_[a], 0);
+      if (e->parent_l (a) != this)
+       continue;
+      e->set_parent (0, a);
+      e->dim_cache_[a]->dependencies_l_arr_.clear ();
     }
 }
 
@@ -83,17 +100,8 @@ void
 Graphical_axis_group::remove_all ()
 {
   for (int i=0; i < elem_l_arr_.size(); i++) 
-    {
-      Graphical_element*e=elem_l_arr_[i];
-      for (int i=0; i<  2; i++)
-       {
-         Axis a=axes_[i];
-         Dimension_cache * d = e->dim_cache_[a];
-         d->parent_l_ = 0;
-         d->dependencies_l_arr_.clear ();
-       }
-      
-    }
+    do_remove (elem_l_arr_[i]);
+
   elem_l_arr_.clear ();
 }
 
index c6654fa8f04d2887aa719ad739d7d6d345466141..c3d2f915e36c02159a563255e8409ed738662e70 100644 (file)
 #include "lily-proto.hh"
 #include "column-x-positions.hh"
 
-/**
-  Statistics for the number of columns calced.
- */
-struct Col_stats
-{
-  int count_i_;
-  int cols_i_;
-
-  Col_stats(); 
-  void add (Line_of_cols const&l);
-  String str() const;
-};
 
 /** Class representation of an algorithm which decides where to put
   the column, and where to break lines.
@@ -61,8 +49,6 @@ protected:
   virtual void do_set_pscore();
 
 public:
-  Col_stats approx_stats_;
-  Col_stats exact_stats_;
   
   Line_spacer* (*get_line_spacer)();
     
index eacf5ff1adcf16227313a8a780d0715155855472..539f8d95e48337ded838c0482f44782ba9bfb591 100644 (file)
   Treat a group of graphical elements as an aggegrate.
  */
 class Graphical_axis_group : public virtual Graphical_element {
+private:
+
+  /// modify fields of E for removal.
+  void do_remove (Graphical_element*e);
 public:
   // keep array in order.
   bool ordered_b_;             
@@ -35,7 +39,7 @@ public:
   void remove_all ();
 
   bool contains_b (Graphical_element const *) const;
-  void add_element (Graphical_element*);
+  void add_element (Graphical_element*, Axis = NO_AXES, Axis = NO_AXES);
   void remove_element (Graphical_element*);
 };
 
index ce08eb0b3f1ea1f9e0b80749aabd4bde4284ddf4..be7d981d66c325ef4bf8561152dfddf77b1db7de 100644 (file)
@@ -50,8 +50,8 @@ public:
   
   Direction break_status_dir () const;
   
-  Item * find_prebroken_piece (Direction) const;
-  Item * find_prebroken_piece (Line_of_score*) const;    
+  Item * find_broken_piece (Direction) const;
+  Score_element * find_broken_piece (Line_of_score*) const;    
 
   Item();
   Real hpos_f() const;
index d80ae6b1e28816c14b24a24c34a4e7e98a93b406..6d0bfa66342c6f705fe6ea92118c7f116092a774 100644 (file)
@@ -16,14 +16,15 @@ class Line_of_score : public Axis_group_spanner, public Super_element
 {
 public:
   Link_array<Paper_column> cols_;
-
+  int rank_i_;
+  
   Line_of_score();
     
   /// is #c# contained in #*this#?
   bool contains_b (Paper_column const *c) const;
     
   Line_of_score * set_breaking (Array<Column_x_positions> const&, int j);
-
+  static int compare (Line_of_score* const &,Line_of_score* const &);
 
   void output_all (bool last_line);
   void add_column (Paper_column*);
index 3494e6b11dc575ff563ec6c629149dbb5cfa4af8..af9b484faa5f19e137d0223565779be05721d9ef 100644 (file)
@@ -105,6 +105,8 @@ public:
    */
   void calculate_dependencies (int final, int busy, Score_element_method_pointer funcptr);
 
+
+  virtual Score_element *find_broken_piece (Line_of_score*) const;
 protected:
   Score_element* dependency (int) const;
   int dependency_size () const;
@@ -112,7 +114,8 @@ protected:
   virtual void output_processing ();
   virtual Interval do_height () const;
   virtual Interval do_width () const;
-    
+
+
   /// do printing of derived info.
   virtual void do_print () const;
   /// generate the molecule    
@@ -125,6 +128,9 @@ protected:
   /// generate rods & springs
   virtual void do_space_processing ();
 
+  /// do postbreak substs on array of pointers.
+  virtual void do_substitute_arrays ();
+
   virtual void do_breakable_col_processing ();
   /// do calculations after determining horizontal spacing
   virtual void do_post_processing ();
@@ -141,5 +147,26 @@ protected:
 };
 
 
+template<class T>
+void
+substitute_element_array (Link_array<T> &arr, Line_of_score * to)
+{
+  Link_array<T> newarr;
+  for (int i =0; i < arr.size (); i++)
+    {
+      T * t = arr[i];
+      if (t->line_l () != to)
+       {
+         t = dynamic_cast<T*> (t->find_broken_piece (to));
+       }
+      
+      if (t)
+       newarr.push (t);
+    }
+  arr = newarr;
+}
+
+
+
 #endif // STAFFELEM_HH
 
index 9cca78c8c48061bf5e2e11e7818e998b6061335b..339280466640b8b7953bac84660047402faedd68 100644 (file)
 #include "drul-array.hh"
 #include "rod.hh"
 
-struct Breaking_information
-{
-  Line_of_score *line_l_;
-  Spanner * broken_spanner_l_;
-  Drul_array<Item*> bounds_;
-  Breaking_information ()
-    {
-      line_l_ =0;
-      broken_spanner_l_ =0;
-      bounds_[LEFT] = bounds_[RIGHT] =0;
-    }
-};
 
 class Axis_group_spanner;
 /** A symbol which is attached between two columns. A spanner is a
@@ -57,9 +45,10 @@ public:
   Spanner (Spanner const &);
   bool broken_b () const;
 
+  static int compare (Spanner * const &,Spanner * const &);
   virtual Array<Rod> get_rods () const;
   virtual Array<Spring> get_springs () const;  
-  virtual Spanner* find_broken_piece (Line_of_score*) const;
+  virtual Score_element* find_broken_piece (Line_of_score*) const;
 protected:
   void set_my_columns ();
   VIRTUAL_COPY_CONS(Score_element);
index e6798b5be1f70818077b7d2370ca7eb37ba137fe..e8ea0357df279be236b1f967808e36d71b5100c3 100644 (file)
@@ -118,8 +118,9 @@ Item::do_breakable_col_processing()
   else
     try_visibility_lambda ();
 }
-Item*
-Item::find_prebroken_piece (Line_of_score*l) const
+
+Score_element*
+Item::find_broken_piece (Line_of_score*l) const
 {
   if (line_l() == l) 
     return (Item*)(this);
@@ -132,7 +133,7 @@ Item::find_prebroken_piece (Line_of_score*l) const
 }
 
 Item*
-Item::find_prebroken_piece (Direction d) const
+Item::find_broken_piece (Direction d) const
 {
   if (!d)
     return (Item *) (this);    // ugh
@@ -186,8 +187,8 @@ Item::handle_prebroken_dependents ()
       Direction d = LEFT;
       do
        {
-         Item * broken_self = find_prebroken_piece (d);
-         Item * broken_parent = parent->find_prebroken_piece (d);
+         Item * broken_self = find_broken_piece (d);
+         Item * broken_parent = parent->find_broken_piece (d);
 
          broken_self->set_parent (broken_parent, X_AXIS);
 
@@ -199,7 +200,7 @@ Item::handle_prebroken_dependents ()
              Score_element * yparent =dynamic_cast<Score_element*>(parent_l (Y_AXIS));
              Item *yparenti = dynamic_cast<Item*> (yparent);
              Item *broken_yparent = yparenti ?
-               yparenti->find_prebroken_piece (d) : 0;
+               yparenti->find_broken_piece (d) : 0;
              
              if (!yparent)
                programming_error ("Vertical refpoint lost!");
@@ -225,3 +226,4 @@ Item::break_status_dir () const
   else
     return CENTER;
 }
+
index db3549fad49927de559389a2bba907274954ae4e..b2017c27af3de9817b19fb7d86c22db0a54fa0fc 100644 (file)
@@ -91,7 +91,7 @@ read_lily_scm_file (String fn)
   Simple_file_storage f(s);
   
   ly_ch_C_eval_scm ((char *) f.ch_C());
-  *mlog << ']' << flush;  
+  *mlog << "]" << flush;  
 }
 
 
index 8b91f8e9e0bb78f6746a4a98aa020c4fe2c036f7..b648ea10c5822d970c494206671ddf54b9ff2e00 100644 (file)
@@ -15,7 +15,7 @@
 
 Line_of_score::Line_of_score()
 {
-  set_axes (Y_AXIS,Y_AXIS);
+  set_axes (Y_AXIS,X_AXIS);
 }
 
 bool
@@ -33,7 +33,8 @@ Line_of_score::set_breaking (Array<Column_x_positions> const &breaking, int j)
   Line_of_score *line_l=0;
 
   line_l = dynamic_cast <Line_of_score*> (clone());
-
+  line_l->rank_i_ = j;
+  
   line_l->cols_ = curline;
   line_l->set_bounds(LEFT,curline[0]);
   line_l->set_bounds(RIGHT,curline.top());
@@ -41,16 +42,10 @@ Line_of_score::set_breaking (Array<Column_x_positions> const &breaking, int j)
   for (int i=0; i < curline.size(); i++)
     {
       curline[i]->translate_axis (config[i],X_AXIS);
-      curline[i]->line_l_ = dynamic_cast<Line_of_score*>(line_l);
+      curline[i]->line_l_ = dynamic_cast<Line_of_score*> (line_l);
     }
 
-  Breaking_information b;
-  b.bounds_ = line_l->spanned_drul_;
-  b.broken_spanner_l_ = line_l;
-  b.line_l_ = line_l;
-  
   broken_into_l_arr_.push (line_l);
-
   return line_l;
 }
 
@@ -58,6 +53,7 @@ void
 Line_of_score::add_column (Paper_column*p)
 {
   cols_.push (p);
+  add_element (p);
 }
 
 void
@@ -99,3 +95,9 @@ Line_of_score::output_all (bool last_line)
   else
     pscore_l_->outputter_l_->stop_line ();
 }
+
+int
+Line_of_score::compare (Line_of_score* const &p1,Line_of_score* const &p2)
+{
+  return p1->rank_i_ - p2->rank_i_;
+}
index c24f2475f98f3ae78364b584865e8e5139dd7427..f4ad427ab9df9f05a5fbef42bf4d113912091ef9 100644 (file)
@@ -228,8 +228,6 @@ main_prog (int, char**)
   /*
     need to do this first. Engravers use lily.scm contents.
    */
-  extern void ly_init_protection();
-  ly_init_protection();  
   init_lily_guile ();
   read_lily_scm_file ( "lily.scm");
   cout << endl;
index dc6d8d547acdb50d09fbf80299bccfe80eecaadf..456c213917f8e777d447d7e74ea57bc99d6242ee 100644 (file)
@@ -153,8 +153,8 @@ Multi_measure_rest::get_rods () const
 
   Item * l = spanned_drul_[LEFT]->column_l ();
   Item * r = spanned_drul_[RIGHT]->column_l ();
-  Item * lb = l->find_prebroken_piece (RIGHT);
-  Item * rb = r->find_prebroken_piece (LEFT);      
+  Item * lb = l->find_broken_piece (RIGHT);
+  Item * rb = r->find_broken_piece (LEFT);      
   
   Item* combinations[4][2]={{l,r}, {lb,r}, {l,rb},{lb,rb}};
   for (int i=0; i < 4; i++)
diff --git a/lily/scm-bintree.cc b/lily/scm-bintree.cc
deleted file mode 100644 (file)
index 7477c1b..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-/*   
-  scm-bintree.cc --  implement binary trees, an experiment in GC.
-  
-  source file of the GNU LilyPond music typesetter
-  
-  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
-
-#include <stdio.h>
-#include "libc-extension.hh"
-#include "lily-guile.hh"
-#include "main.hh"
-#include "debug.hh"
-
-
-
-
-/*
-  Layout of nodes:
-
-  (key . (left_child . right_child))
-
-  SCM_EOL is the nil-pointer (should use SCM_NIMP() ?)
- */
-
-#define left_child(s) SCM_CADR((s))
-#define right_child(s) SCM_CDDR((s))
-#define key(s) SCM_CAR((s))
-
-/*
-  Garble pointers, to prevent unbalanced tree due to ordered inserts.
- */
-
-unsigned int
-munge (SCM s) 
-{
-  const int SHIFT = 18;
-  return (unsigned int)(s << (32-SHIFT) | s >> SHIFT );
-}
-
-SCM
-ly_new_bintree_node (SCM val)
-{
-  return gh_cons (val, gh_cons (SCM_EOL, SCM_EOL));
-}
-
-
-/*
-  add VAL to TREE. TREE must be non-nil
- */
-void
-ly_addto_bintree (SCM *tree, SCM val)
-{
-  while(*tree != SCM_EOL)
-    {
-      if (munge (val) <= munge (key (*tree)))
-       tree = &left_child (*tree);
-      else
-       tree = &right_child (*tree);
-    }
-
-  *tree = ly_new_bintree_node (val);
-}
-
-
-/*
-  find the address of a node in the tree represented by *NODE with key VAL
- */
-SCM  *
-ly_find_in_bintree (SCM *node, SCM val)
-{
-  while (*node != SCM_EOL)
-    {
-      if (munge (val) < munge (key(*node) ))
-       node = &left_child(*node);
-      else if (munge (val) > munge (key (*node)))
-       node = &right_child (*node);
-      else
-       return node;
-    }
-  return node;
-}
-
-void
-ly_remove_from_bintree (SCM *node)
-{
-  SCM r = right_child  (*node);
-  SCM l = left_child (*node);
-  
-  if (r == SCM_EOL)
-    {
-      *node = l;
-    }
-  else if (l == SCM_EOL)
-    {
-      *node = r;
-    }
-  else
-    {
-      /*deleting from binary trees.  See Knuth's TAOCP.
-       */
-      SCM *t = node;
-      SCM *left_t = &left_child (*t);
-
-      /*
-       INV:  LEFT_T  is the left child of T
-       */
-      while (*left_t != SCM_EOL)
-       {
-         t = left_t;
-         left_t = &left_child (*t);
-       }
-
-      /*
-       POST: T is the leftmost right child of NODE which has no left child,
-
-       leftchild (LASTT) == T
-       */
-      key(*node) = key(*t);
-      *left_t = right_child (*t);
-    }
-}
-
-
-static SCM protect_tree_root;
-
-SCM
-ly_protect_scm (SCM s)
-{
-  ly_addto_bintree (&protect_tree_root, s);
-  return s;
-}
-
-SCM
-ly_unprotect_scm (SCM s)
-{
-  SCM *to_remove = ly_find_in_bintree (&protect_tree_root, s);
-
-  /*
-    this shouldn't happen, according to me. But it does.
-   */
-  if (*to_remove != SCM_EOL)
-    ly_remove_from_bintree (to_remove);
-  return s;
-}
-
-void
-ly_init_protection ()
-{
-  protect_tree_root = scm_protect_object (ly_new_bintree_node(SCM_EOL));
-  key (protect_tree_root) = protect_tree_root;
-}
-
-
-int
-ly_count_elements (SCM tree)
-{
-  if (tree == SCM_EOL)
-    return 0;
-  else
-    return 1 + ly_count_elements (left_child (tree)) + ly_count_elements (right_child( tree));
-}
-
-int
-ly_tree_depth (SCM tree)
-{
-  if (tree == SCM_EOL)
-    return 0;
-  else
-    return 1 + (ly_tree_depth (left_child (tree)) >? ly_tree_depth (right_child(tree)));
-}
-
-void
-ly_print_bintree (SCM node)
-{
-#ifndef NPRINT
-  if (node == SCM_EOL)
-    return;
-  DOUT << "{val = " << key(node) << " \nleft = ";
-  ly_print_bintree (left_child (node));
-  DOUT << "\n right =";
-  ly_print_bintree (right_child (node));
-  DOUT << "}";
-#endif
-}
-
-
-struct Imbalance { int imbalance; int total; };
-
-Imbalance
-ly_calc_imbalance (SCM node)
-{
-  Imbalance t;
-  if (node == SCM_EOL)
-    {
-      t.imbalance = 0;
-      t.total = 0;
-      return t;
-    }
-
-  Imbalance l = ly_calc_imbalance (left_child (node));
-  Imbalance r = ly_calc_imbalance (right_child (node));
-
-  t.total = l.total + r.total + 1;
-  int dif = l.total - r.total;
-  if (dif < 0)
-     dif = -dif;
-  t.imbalance = l.imbalance + r.imbalance + dif;
-  return t;
-}
-
index d8f254175c2559553adeacb10cc93577e26f59eb..9368f95f866620aedbd07afa7c717b20ecae4f46 100644 (file)
@@ -282,22 +282,6 @@ Score_element::line_l() const
   return 0;
 }
 
-/*
-  
-  DEPENDENCIES
-
-  */
-
-void
-Score_element::remove_dependency (Score_element*e)
-{
-  int i;
-  while ((i = dependency_arr_.find_i (e)) >=0 )
-    dependency_arr_.unordered_del (i);
-
-  substitute_dependency (e, 0);
-}
-
 void
 Score_element::add_dependency (Score_element*e)
 {
@@ -324,38 +308,27 @@ Score_element::handle_broken_dependencies()
   if (!line)
     return;
 
-  Link_array<Score_element> remove_us_arr;
+  do_substitute_arrays ();
+
+  Link_array<Score_element> new_deps;
+
   for (int i=0; i < dependency_size(); i++) 
     {
       Score_element * elt = dependency (i);
       if (elt->line_l() != line)
        {
-         if (Spanner *sp = dynamic_cast<Spanner *> (elt)) 
-           {
-             Spanner * broken = sp->find_broken_piece (line);
-             substitute_dependency (sp, broken);
-
-             if (broken)
-               add_dependency (broken);
-           }
-         else if (Item *original = dynamic_cast <Item *> (elt))
-           {
-             Item * my_item = original->find_prebroken_piece (line);
-               
-             substitute_dependency (elt, my_item);
-             if (my_item)
-               add_dependency (my_item);
-           }
-         remove_us_arr.push (elt);
+         Score_element * broken = elt->find_broken_piece (line);
+         substitute_dependency (elt, broken);
+         elt  = broken ;
        }
+      if (elt)
+       new_deps.push (elt);
     }
+  dependency_arr_ = new_deps;
 
-  remove_us_arr.default_sort();
-  remove_us_arr.uniq();
-  for (int i=0;  i <remove_us_arr.size(); i++)
-    remove_dependency (remove_us_arr[i]);
 }
 
+
 /*
   This sux.
 
@@ -368,6 +341,9 @@ Score_element::handle_broken_dependencies()
   span: item1 item2 item3
 
   How to let span (a derived class) know that this happened?
+
+
+  TODO: cleanify.
  */
 void
 Score_element::handle_prebroken_dependencies()
@@ -385,7 +361,7 @@ Score_element::handle_prebroken_dependencies()
       if (it_l && it_l->broken_original_b ())
        if (Item *me = dynamic_cast<Item*> (this) )
          {
-           Score_element *new_l = it_l->find_prebroken_piece (me->break_status_dir ());
+           Score_element *new_l = it_l->find_broken_piece (me->break_status_dir ());
            if (new_l != elt) 
              {
                new_arr.push (new_l);
@@ -397,7 +373,7 @@ Score_element::handle_prebroken_dependencies()
            Direction d = LEFT;
            do {
              old_arr.push (0);
-             new_arr.push (it_l->find_prebroken_piece (d));
+             new_arr.push (it_l->find_broken_piece (d));
            } while (flip(&d)!= LEFT);
          }
     }
@@ -436,3 +412,15 @@ void
 Score_element::do_print () const
 {
 }
+
+void
+Score_element::do_substitute_arrays ()
+{
+}
+
+
+Score_element*
+Score_element::find_broken_piece (Line_of_score*) const
+{
+  return 0;
+}
index 06281c24f13911aa3219223e79257bfe8e8e75a6..1c1d39205c9acb7f8def95fe82d33afd0c7892a3 100644 (file)
@@ -55,7 +55,9 @@ void
 Score_engraver::do_creation_processing ()
 {
   scoreline_l_ = pscore_p_->line_l_;
-  scoreline_l_->set_bounds(LEFT,command_column_l_);
+
+  scoreline_l_->set_bounds(LEFT, command_column_l_);
+  
   command_column_l_->set_elt_property (breakable_scm_sym, SCM_BOOL_T);
 
   Engraver_group_engraver::do_creation_processing();
index e49675f93549047cd9d1395f97352e456f7efe46..9c5749b8921ad8599432d825b27d22fdecaaf3c5 100644 (file)
@@ -41,7 +41,6 @@ Script_engraver::do_process_requests()
     {
       Articulation_req* l=script_req_l_arr_[i];
 
-
       SCM list = ly_ch_C_eval_scm (("(articulation-to-scriptdef \"" + l->articulation_str_ + "\")").ch_C());
       
       if (list == SCM_BOOL_F)
@@ -85,14 +84,13 @@ Script_engraver::do_process_requests()
          padding = (Real)paddingprop;
        }
 
-
       Scalar axisprop = get_property ("scriptHorizontal",0);
       if (axisprop.to_bool ())
        ss->axis_ = X_AXIS;
 
       if (follow_staff && !axisprop.to_bool ())
        ss->set_elt_property (no_staff_support_scm_sym, SCM_BOOL_T);
-      
+
       p->set_staff_side (ss);
       ss->set_elt_property (script_priority_scm_sym, priority);
       if (padding)
@@ -127,6 +125,10 @@ Script_engraver::acknowledge_element (Score_element_info inf)
            {
              ss->set_parent (inf.elem_l_, X_AXIS);
            }
+         if (ss->axis_ == X_AXIS
+             && !ss->parent_l (Y_AXIS))
+           ss->set_parent (rh, Y_AXIS);
+         
          ss->add_support (rh);
        }
     }  
index 8890ddbdd7aec24f890796fc0398616a12d23cd2..590a10c78b978236da19b7551b5035c17b93a42c 100644 (file)
@@ -41,10 +41,10 @@ Separating_group_spanner::get_rods () const
     {
       Single_malt_grouping_item *l =spacing_unit_l_arr_[i];
       Single_malt_grouping_item *lb
-       = dynamic_cast<Single_malt_grouping_item*>(l->find_prebroken_piece (RIGHT));
+       = dynamic_cast<Single_malt_grouping_item*>(l->find_broken_piece (RIGHT));
       Single_malt_grouping_item *r = spacing_unit_l_arr_[i+1];
       Single_malt_grouping_item *rb
-       = dynamic_cast<Single_malt_grouping_item*>(r->find_prebroken_piece (LEFT));
+       = dynamic_cast<Single_malt_grouping_item*>(r->find_broken_piece (LEFT));
       
       a.push (make_rod(spacing_unit_l_arr_[i], spacing_unit_l_arr_[i+1]));
       if (lb)
index 3bcce2a28e8500b7892a2493e6bd1b4b63632360..479855cdcd38307e46a9b399eb13ce114732123c 100644 (file)
@@ -74,8 +74,8 @@ Spacing_spanner::do_measure (int col1, int col2) const
     {
       Item * l = scol(i);
       Item * r = scol(i+1);
-      Item * lb = l->find_prebroken_piece (RIGHT);
-      Item * rb = r->find_prebroken_piece (LEFT);      
+      Item * lb = l->find_broken_piece (RIGHT);
+      Item * rb = r->find_broken_piece (LEFT);      
 
       Item* combinations[4][2]={{l,r}, {lb,r}, {l,rb},{lb,rb}};
 
index 195dffbf3d856e3718b589c45c8e50a9a0fe9f7d..bc168836be631be71ffaa050d6c3ba003f50d650 100644 (file)
@@ -49,35 +49,31 @@ Spanner::break_into_pieces ()
 
   for (int i=1; i < break_points.size(); i++) 
     {
-      Breaking_information info;
-      info.bounds_[LEFT] = break_points[i-1];
-      info.bounds_[RIGHT] = break_points[i];
+      Drul_array<Item*> bounds;
+      bounds[LEFT] = break_points[i-1];
+      bounds[RIGHT] = break_points[i];
       Direction d = LEFT;
       do
        {
-         Item *&pc_l = info.bounds_[d] ;
+         Item *&pc_l = bounds[d] ;
          if (!pc_l->line_l())
-           pc_l =  pc_l->find_prebroken_piece(- d);
+           pc_l =  pc_l->find_broken_piece(- d);
          
          assert (pc_l);
-         if (!info.line_l_)
-           info.line_l_ = pc_l-> line_l ();
-         else
-           assert( info.line_l_ = pc_l->line_l ());
-         
        }
       while ((flip(&d))!= LEFT);
 
       Spanner *span_p = dynamic_cast<Spanner*>(clone ());
-      span_p->set_bounds(LEFT,info.bounds_[LEFT]);
-      span_p->set_bounds(RIGHT,info.bounds_[RIGHT]);
+      span_p->set_bounds(LEFT,bounds[LEFT]);
+      span_p->set_bounds(RIGHT,bounds[RIGHT]);
+      
       pscore_l_->typeset_element (span_p);
-
-      info.broken_spanner_l_ = span_p;
       span_p->handle_broken_dependencies();
 
       broken_into_l_arr_.push (span_p);
     }
+
+  broken_into_l_arr_.sort (Spanner::compare);
 }
 
 void
@@ -87,7 +83,7 @@ Spanner::set_my_columns()
   do 
     {
       if (!spanned_drul_[i]->line_l())
-       set_bounds(i,spanned_drul_[i]->find_prebroken_piece((Direction)-i));
+       set_bounds(i,spanned_drul_[i]->find_broken_piece((Direction)-i));
     } 
   while (flip(&i) != 1);
 }       
@@ -101,9 +97,12 @@ Spanner::set_bounds(Direction d, Item*i)
       i->used_b_ = true;
     }
 
-  if (d== LEFT)
+  /**
+     Prevent the column -> line_of_score -> column -> line_of_score -> etc situation
+  */
+  if (d== LEFT && !dynamic_cast<Line_of_score*> (this))
     {
-      set_parent ( i, X_AXIS);
+      set_parent (i, X_AXIS);
     }
   
   if  (spanned_drul_[Direction(-d)] == spanned_drul_[d]
@@ -150,22 +149,36 @@ Spanner::line_l() const
 {
   if (!spanned_drul_[LEFT] || !spanned_drul_[RIGHT])
     return 0;
-  if (spanned_drul_[LEFT]->line_l() != spanned_drul_[RIGHT]->line_l())
+  if (spanned_drul_[LEFT]->line_l () != spanned_drul_[RIGHT]->line_l ())
     return 0;
   return spanned_drul_[LEFT]->line_l();
 }
 
 
-Spanner*
+Score_element*
 Spanner::find_broken_piece (Line_of_score*l) const
 {
+  int idx = binsearch_link_array (broken_into_l_arr_,  (Spanner*)l, Spanner::compare);
+  if (idx < 0)
+    return 0;
+  else
+    return broken_into_l_arr_ [idx];
+}
+
+/*
   for (int i=0; i < broken_into_l_arr_.size (); i++)
     {
       if (broken_into_l_arr_[i]->line_l () == l)
        return broken_into_l_arr_[i];
     }
+  return 0;
+*/
+
 
-  return 0;                               
+int
+Spanner::compare (Spanner * const &p1, Spanner * const &p2)
+{
+  return p1->line_l ()->rank_i_ - p2->line_l ()->rank_i_;
 }
 
 bool
@@ -218,23 +231,25 @@ Spanner::handle_broken_dependents ()
   
   if (refpoint)
     {
-      Spanner * broken_refpoint = refpoint->find_broken_piece (line_l ());
+      Score_element * broken_refpoint = refpoint->find_broken_piece (line_l ());
       if (broken_refpoint)
-       set_parent ( broken_refpoint,Y_AXIS);
+       set_parent (broken_refpoint,Y_AXIS);
       else
        programming_error ("Spanner y -refpoint lost.");
     }
 }
 
-// If this is a broken spanner, return the amount the left end is to
-// be shifted horizontally so that the spanner starts after the
-// initial clef and key on the staves. This is necessary for ties,
-// slurs, crescendo and decrescendo signs, for example.
+/*
+  If this is a broken spanner, return the amount the left end is to be
+  shifted horizontally so that the spanner starts after the initial
+  clef and key on the staves. This is necessary for ties, slurs,
+  crescendo and decrescendo signs, for example.
+*/
 Real
 Spanner::get_broken_left_end_align () const
 {
   int i;
-  Line_of_score *l;
+
   Score_column *sc = dynamic_cast<Score_column*> (spanned_drul_[LEFT]->column_l());
 
   // Relevant only if left span point is first column in line
index 2065ef5d42a9e08b71d1761af5b8b2324221b449..2940d13a9a5047dd2831de2012a79e1b95591bae 100644 (file)
@@ -40,10 +40,24 @@ Staff_symbol::do_height() const
 Molecule*
 Staff_symbol::do_brew_molecule_p() const
 {
-  Real w = extent (X_AXIS).length ();
-  Paper_def * p = paper_l ();
-  Real t = p->get_var ("rulethickness");
-  Molecule rule  = lookup_l ()->filledbox (Box (Interval (0,w),
+  Graphical_element * common
+    = spanned_drul_[LEFT]->common_refpoint (spanned_drul_[RIGHT], X_AXIS);
+
+#if 0
+  Interval r =  spanned_drul_[RIGHT]->extent (X_AXIS);
+  Interval l =  spanned_drul_[LEFT]->extent (X_AXIS);
+  
+  Real left_shift =l.empty_b () ? 0.0: l[LEFT];
+  Real right_shift =r.empty_b () ? 0.0: r[RIGHT];  
+#endif
+  Real width =
+    // right_shift     - left_shift
+    + spanned_drul_[RIGHT]->relative_coordinate (common , X_AXIS)
+    - spanned_drul_[LEFT]->relative_coordinate (common, X_AXIS)
+    ;
+
+  Real t = paper_l ()->get_var ("rulethickness");
+  Molecule rule  = lookup_l ()->filledbox (Box (Interval (0,width),
                                                Interval (-t/2, t/2)));
 
   Real height = (no_lines_i_-1) * staff_line_leading_f_ /2;
@@ -55,6 +69,7 @@ Staff_symbol::do_brew_molecule_p() const
       m->add_molecule (a);
     }
 
+  //  m->translate_axis (left_shift, X_AXIS);
   return m;
 }
 
index c516eb0f693c541cf4a6cc9de28f2e972a369e33..7091b65980df17f07199783685dbbf59b61d5232 100644 (file)
@@ -43,7 +43,7 @@ Word_wrap::do_solve () const
 
       // do  another line
 
-      Item *post = breakpoints[break_idx]->find_prebroken_piece (RIGHT);
+      Item *post = breakpoints[break_idx]->find_broken_piece (RIGHT);
       Paper_column *postcol =dynamic_cast<Paper_column*>(post);
       
       int start_break_idx = break_idx;
@@ -60,7 +60,7 @@ Word_wrap::do_solve () const
              curcol_idx++;
            }
 
-         Item * pre = breakpoints[break_idx]->find_prebroken_piece (LEFT);
+         Item * pre = breakpoints[break_idx]->find_broken_piece (LEFT);
          Paper_column* precol = dynamic_cast<Paper_column*>(pre);
          current.add_paper_column (precol);
 
@@ -122,6 +122,7 @@ Word_wrap::do_solve () const
       *mlog << "[" << break_idx << "]" << flush;
       breaking.push (minimum);
     }
+  *mlog << endl;
   return breaking;
 }
 
index 5affaef77f020148b0acaba53235499aaafe6ea6..c60cc02d01dd675101875f172746fd2fcde5c027 100644 (file)
@@ -1,7 +1,7 @@
 Begin3
 Title: LilyPond
-Version: 1.2.8
-Entered-date: 16SEP99
+Version: 1.2.9
+Entered-date: 20SEP99
 Description: 
 LilyPond is a music typesetter.  It produces beautiful sheet music
 using a high level description file as input.  LilyPond is part of 
@@ -11,8 +11,8 @@ Author: hanwen@cs.uu.nl (Han-Wen Nienhuys)
        janneke@gnu.org (Jan Nieuwenhuizen)
 Maintained-by: hanwen@stack.nl (Han-Wen Nienhuys)
 Primary-site: sunsite.unc.edu /pub/Linux/apps/sound/convert
-       1000k lilypond-1.2.8.tar.gz 
+       1000k lilypond-1.2.9.tar.gz 
 Original-site: ftp.cs.uu.nl /pub/GNU/LilyPond/development/
-       1000k lilypond-1.2.8.tar.gz 
+       1000k lilypond-1.2.9.tar.gz 
 Copying-policy: GPL
 End
index 36ec873828734f83911951bf029e78d5ec9b4d3d..2f2d909550d2a0cc14690f4fd5169b0d9cadea89 100644 (file)
@@ -1,9 +1,9 @@
 Name: lilypond
-Version: 1.2.8
+Version: 1.2.9
 Release: 1
 Copyright: GPL
 Group: Applications/Publishing
-Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.2.8.tar.gz
+Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.2.9.tar.gz
 Summary: A program for printing sheet music.
 URL: http://www.cs.uu.nl/~hanwen/lilypond
 Packager: Han-Wen Nienhuys <hanwen@cs.uu.nl>
diff --git a/po/de.po b/po/de.po
new file mode 100644 (file)
index 0000000..4f037b2
--- /dev/null
+++ b/po/de.po
@@ -0,0 +1,1208 @@
+# German translations for LilyPond.
+# Copyright (C) 1999 Free Software Foundation, Inc.
+# Erwin Dieterich <bamse@gmx.de>, 1999.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Lilypond 1.2.8\n"
+"POT-Creation-Date: 1999-09-15 23:21+0200\n"
+"PO-Revision-Date: 1999-09-18 01:30+0200\n"
+"Last-Translator: Erwin Dieterich <bamse@gmx.de>\n"
+"Language-Team: LANGUAGE <de@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: ENCODING\n"
+
+#: data-file.cc:52
+msgid "EOF in a string"
+msgstr "Dateiende in Zeichenkette"
+
+#: data-file.cc:116 input.cc:86 midi-parser.cc:100 warn.cc:21
+msgid "warning: "
+msgstr "Warnung: "
+
+#: dstream.cc:158
+msgid "Not enough fields in Dstream init."
+msgstr "Nicht genug Felder in der Dstream Inititalisierung"
+
+#: flower-debug.cc:17
+msgid "Debug output disabled.  Compiled with NPRINT."
+msgstr "Debug-Ausgabe außer Betrieb. Übersetzt mit NPRINT."
+
+#: getopt-long.cc:141
+#, c-format
+msgid "option `%s' requires an argument"
+msgstr "Option `%s' erwartet ein Argument"
+
+#: getopt-long.cc:145
+#, c-format
+msgid "option `%s' doesn't allow an argument"
+msgstr "Option `%s' erlaubt kein Argument"
+
+#: getopt-long.cc:149
+#, c-format
+msgid "unrecognized option: `%s'"
+msgstr "Unbekannte Option: `%s'"
+
+#: getopt-long.cc:156
+#, c-format
+msgid "invalid argument `%s' to option `%s'"
+msgstr "Argument `%s' für Optione '%s' ist nicht erlaubt"
+
+#: text-stream.cc:8
+msgid "<stdin>"
+msgstr "<stdin>"
+
+#: mapped-file-storage.cc:87 midi-stream.cc:77 mudela-stream.cc:103
+#: paper-stream.cc:25 scores.cc:38 simple-file-storage.cc:44 text-stream.cc:21
+#, c-format
+msgid "can't open file: `%s'"
+msgstr "Kann die Datei %s nicht öffnen"
+
+#: input.cc:91 warn.cc:7 warn.cc:15
+msgid "error: "
+msgstr "Fehler: "
+
+#: input.cc:97
+msgid "Non fatal error: "
+msgstr "Undramatische Fehler: "
+
+#: input.cc:105 source-file.cc:63 source-file.cc:156
+msgid "position unknown"
+msgstr "Position unbekannt"
+
+#: mapped-file-storage.cc:74
+msgid "can't map file"
+msgstr "Kann die Datei nicht mappen"
+
+#: simple-file-storage.cc:56
+#, c-format
+msgid "Huh? got %d, expected %d characters"
+msgstr "Was? Ich habe %d erhalten, erwartete aber %d Zeichen"
+
+#: warn.cc:33
+msgid "Programming error: "
+msgstr "Programmierfehler: "
+
+#: warn.cc:33
+msgid " (continuing; cross thumbs)"
+msgstr " (Ich mache weiter: Drück´ mir die Daumen!)"
+
+#: afm.cc:129
+#, c-format
+msgid "can't find character called `%s'"
+msgstr "Ich kann das Zeichen `%s' nicht finden"
+
+#: afm.cc:154
+#, c-format
+msgid "can't find character number %d"
+msgstr "ich kann das Zeichen nummer %d nicht finden"
+
+#: all-font-metrics.cc:69
+#, c-format
+msgid "Can't find font `%s', loading default font."
+msgstr "Kann die Schrift %s nicht finden, lade die Standardschrift."
+
+#: all-font-metrics.cc:74
+#, c-format
+msgid "Can't find default font `%s', giving up."
+msgstr "Kann die Standardschrift %s nicht finden. Ich gebe auf."
+
+#: all-font-metrics.cc:75
+#, c-format
+msgid "(search path: `%s)'"
+msgstr "(Suchpfad: `%s)'"
+
+#: beam-engraver.cc:42
+msgid "No Beam to end"
+msgstr "Kein Balken vorhanden, der beendet werden könnte"
+
+#: beam-engraver.cc:58
+msgid "No beam to end"
+msgstr "Kein Balken vorhanden, der beendet werden könnte "
+
+#: beam-engraver.cc:87
+msgid "Already have a Beam"
+msgstr "Habe schon einen Balken"
+
+#: beam-engraver.cc:149
+msgid "Unfinished beam"
+msgstr "Unfertiger Balken"
+
+#: beam-engraver.cc:174
+msgid "Stem must have Rhythmic structure."
+msgstr "Ein Notenhals muss rhythmische Struktur haben."
+
+#: beam-engraver.cc:185
+msgid "stem doesn't fit in beam"
+msgstr "Notenhals passt nicht in den Balken"
+
+#: beam-engraver.cc:186
+msgid "beam was started here"
+msgstr "Der Balken bagann hier"
+
+#: beam.cc:147
+msgid "beam with less than two stems"
+msgstr "Balken mit weniger als zwei Hälsen"
+
+#: beam.cc:312
+msgid "weird beam shift, check your knees"
+msgstr "Dubiose vertikale Position eines Balkens: Sieh´ Dich vor"
+
+#: break-algorithm.cc:25
+msgid "0 lines"
+msgstr "0 Zeilen"
+
+#: break-algorithm.cc:27
+#, c-format
+msgid "1 line (of %.0f columns)"
+msgstr "Eine Zeile (von %.0f Spalten)"
+
+#: break-algorithm.cc:29
+#, c-format
+msgid "%d lines (with an average of %.1f columns)"
+msgstr "%d Zeilen (mit einem Mittel von %.1f Spalten)"
+
+#: break-algorithm.cc:148
+msgid "score does not have any columns"
+msgstr "Partitur hat keine Spalten"
+
+#: break-algorithm.cc:165
+#, c-format
+msgid "approximated %s"
+msgstr "ungefähr %s"
+
+#: break-algorithm.cc:167
+#, c-format
+msgid "calculated %s exactly"
+msgstr "%s exakt berechnet"
+
+#: break-algorithm.cc:168
+#, c-format
+msgid "elapsed time %.2f seconds"
+msgstr "verstrichene Zeit %.2f Sekunden"
+
+#: change-iterator.cc:22
+#, c-format
+msgid "can't change `%s' to `%s'"
+msgstr "Kann `%s' nicht zu `%s' ändern"
+
+#: chord-tremolo-engraver.cc:41 chord-tremolo-engraver.cc:58
+msgid "No abbreviation beam to end"
+msgstr "Kein Tremolo-Balken da, der beendet werden könnte"
+
+#: chord-tremolo-engraver.cc:83
+msgid "Already have an abbreviation beam"
+msgstr "Habe schon einen Tremolobalken"
+
+#: chord-tremolo-engraver.cc:124
+msgid "Unfinished abbreviation beam"
+msgstr "Unfertiger Tremolobalken"
+
+#: chord.cc:231
+#, c-format
+msgid "invalid subtraction: not part of chord: %s"
+msgstr "Unerlaubte Subtraktion: nicht Teil eines Akkords: %s"
+
+#: chord.cc:245
+#, c-format
+msgid "invalid inversion pitch: not part of chord: %s"
+msgstr "Unerlaubter Baßton: gehört nicht zum Akkord: %s"
+
+#: clef-engraver.cc:178
+msgid "unknown clef type "
+msgstr "Unbekannter Notenschlüssel"
+
+#: collision.cc:95
+msgid "Too many clashing notecolumns.  Ignoring them."
+msgstr "Zu viele aneinanderstoßende Notenspalten. Ich ignoriere sie."
+
+#: crescendo.cc:42
+msgid "crescendo"
+msgstr "Crescendo"
+
+#: crescendo.cc:42
+msgid "too small"
+msgstr "zu klein"
+
+#: debug.cc:56
+msgid "Floating point exception"
+msgstr "Ausnahmefehler in einer Fließpunktberechnung"
+
+#: debug.cc:139
+msgid "can't set mem-checking"
+msgstr "Kann die Speicherüberprüfung nicht setzen"
+
+#: dimensions.cc:13
+msgid "NaN"
+msgstr "NaN"
+
+#: dynamic-engraver.cc:109
+msgid "Got a dynamic already.  Continuing dazed and confused"
+msgstr "Habe bereits eine Dynamik. Ich mache benommen und verwirrt weiter"
+
+#: dynamic-engraver.cc:162
+msgid "can't find (de)crescendo to end"
+msgstr "Ich kann kein (De)crescendo bis zum Ende finden"
+
+#: dynamic-engraver.cc:216
+msgid "Too many crescendi here"
+msgstr "Zu viele Crescendi"
+
+#: dynamic-engraver.cc:254
+msgid "unended crescendo"
+msgstr "Nichtbeendetes Crescendo"
+
+#: encompass-info.cc:32
+msgid "Slur over rest?"
+msgstr "Bindebogen übe den Rest?"
+
+#: encompass-info.cc:67 stem-info.cc:140
+msgid ""
+"minVerticalAlign != maxVerticalAlign: interstaff beams/slurs may be broken"
+msgstr ""
+"minVerticalAlign != maxVerticalAlign: Balken/Bindebögen zwischen den "
+"Systemen sind möglichischerweise unvollständig"
+
+#: extender-engraver.cc:62
+msgid "unterminated extender"
+msgstr "Unbeendete Linienfortführung"
+
+#: folded-repeat-iterator.cc:64
+msgid "No one to print a repeat brace"
+msgstr "Keiner darf eine Wiederholungsklammer drucken"
+
+#: grace-iterator.cc:43
+msgid "No Grace context available!"
+msgstr "Kein Verzierungskontext vorhanden!"
+
+#: grace-position-engraver.cc:89
+msgid "Unattached grace notes.  Attaching to last musical column."
+msgstr "Unverknüpfte Verzierungsnoten. Ich verknüpfe sie mit der letzten musikalischen Spalte."
+
+#: hyphen-engraver.cc:60
+msgid "unterminated hyphen"
+msgstr "Unbeendeter Bindestrich"
+
+#: identifier.cc:46
+msgid "Wrong identifier type: "
+msgstr "Falscher Typ von Identifier: "
+
+#: identifier.cc:47
+#, c-format
+msgid "%s expected"
+msgstr "Erwarte %s"
+
+#: includable-lexer.cc:47 lily-guile.cc:82 lily-guile.cc:105
+#: midi-score-parser.cc:24 scores.cc:108 scores.cc:114
+#, c-format
+msgid "can't find file: `%s'"
+msgstr "Kann Datei `%s' nicht finden"
+
+#: includable-lexer.cc:49 lookup.cc:104 scores.cc:109
+#, c-format
+msgid "(search path: `%s')"
+msgstr "(Suchpfad: `%s')"
+
+#: ineq-constrained-qp.cc:169
+#, c-format
+msgid "Ineq_constrained_qp::solve (): Constraint off by %f"
+msgstr "Ineq_constrained_qp::solve (): Constraint um %f verfehlt"
+
+#: ineq-constrained-qp.cc:233
+msgid "didn't converge!"
+msgstr "Keine Konvergenz!"
+
+#: ineq-constrained-qp.cc:235
+msgid "Too much degeneracy. "
+msgstr "Zu viel Verkommenheit."
+
+#: key-def.cc:31
+msgid "No key name: assuming `C'"
+msgstr "Keine Tonart: ich nehme `C' an"
+
+#: key-def.cc:92
+msgid "don't know how handle empty keys"
+msgstr "Weiß nicht, wie ich eine fehlende Tonart behandeln soll"
+
+#: lily-guile.cc:84 lily-guile.cc:107
+#, c-format
+msgid "(load path: `%s')"
+msgstr "(Ladepfad ist `%s')"
+
+#: local-key-engraver.cc:42
+msgid "out of tune"
+msgstr "Verstimmt"
+
+#: local-key-engraver.cc:42 time-signature-engraver.cc:28
+msgid "can't find"
+msgstr "Kann nicht finden"
+
+#: lookup.cc:103
+#, c-format
+msgid "can't find font: `%s'"
+msgstr "Kann Schrift `%s' nicht finden"
+
+#: lookup.cc:105
+msgid "Aborting"
+msgstr "Ich breche nieder"
+
+#: lookup.cc:436
+#, c-format
+msgid "Non-matching braces in text `%s', adding braces."
+msgstr "Nicht zusammenpassende Klammern im Text `%s', füge Klammern hinzu."
+
+#: main.cc:68
+msgid "BASENAME"
+msgstr "BASENAME"
+
+#: main.cc:68
+msgid "write output to BASENAME[-x].extension"
+msgstr "Schreibe die Ausgabe in BASENAME[-x].Erweiterung"
+
+#: main.cc:69 main.cc:101
+msgid "show warranty and copyright"
+msgstr "Zeige Garantie und Urheberrechte"
+
+#: main.cc:70 main.cc:92
+msgid "this help"
+msgstr "Diese Hilfe"
+
+#: main.cc:71
+msgid "switch on experimental features"
+msgstr "Schalte experimentelle Möglichkeiten an"
+
+#: main.cc:72 main.cc:91
+msgid "enable debugging output"
+msgstr "Debugger Ausgabe an"
+
+#: main.cc:73 main.cc:95
+msgid "FILE"
+msgstr "DATEI"
+
+#: main.cc:73
+msgid "use FILE as init file"
+msgstr "Verwende FILE als Initialisierungsdatei"
+
+#: main.cc:74
+msgid "DIR"
+msgstr "DIR"
+
+#: main.cc:74
+msgid "add DIR to search path"
+msgstr "Hänge DIR an den Suchpfad an"
+
+#: main.cc:75
+msgid "produce midi output only"
+msgstr "Nur Midiausgabe"
+
+#: main.cc:76
+msgid "write Makefile dependencies for every input file"
+msgstr "Schreibe Makefile-Abhängigkeiten für jede Eingabedatei"
+
+#: main.cc:77 main.cc:99
+msgid "don't timestamp the output"
+msgstr "Keine Datumsangabe auf der Ausgabe"
+
+#: main.cc:78
+msgid "show all changes in relative syntax"
+msgstr "Zeige alle Veränderungen in relativer Syntax"
+
+#: main.cc:79
+msgid "ignore mudela version"
+msgstr "Ignoriere Version von Mudela"
+
+#: main.cc:80 main.cc:103
+msgid "print version number"
+msgstr "Zeige die Versionsnummer"
+
+#: main.cc:81
+msgid "EXT"
+msgstr "EXT"
+
+#: main.cc:81
+msgid "use output format EXT"
+msgstr "Benutze das Ausgabeformat EXT"
+
+#: main.cc:82
+msgid "inhibit file output naming and exporting"
+msgstr "Unterdrücke die automatische Benennung von Ausgabedateien und Export"
+
+#: main.cc:89
+#, c-format
+msgid "Usage: %s [OPTION]... [FILE]..."
+msgstr "Benutzung: %s [OPTIONEN] ... [DATEI] ..."
+
+#: main.cc:91
+msgid "Typeset music and or play MIDI from FILE."
+msgstr "Setze Musik oder spiele MIDI von DATEI"
+
+#: main.cc:97 main.cc:115
+msgid "Options:"
+msgstr "Optionen:"
+
+#: main.cc:101
+msgid "This binary was compiled with the following options:"
+msgstr "Diese Programm wurde mit den folgenden Optionen übersetzt:"
+
+#: main.cc:119
+msgid "Report bugs to"
+msgstr "Melde Fehler an"
+
+#: main.cc:52 main.cc:135
+#, c-format
+msgid ""
+"This is free software.  It is covered by the GNU General Public License,\n"
+"and you are welcome to change it and/or distribute copies of it under\n"
+"certain conditions.  Invoke as `%s --warranty' for more information.\n"
+msgstr ""
+"Diese ist freie Software (Open Software).  Sie wird von der GNU General\n"
+"Public License geschützt. Sie sind herzlich eingeladen, die Software zu\n"
+"verändern und/oder Kopien zu vertreiben, solange Sie bestimmt Bedingungen\n"
+"einhalten. Wenn Sie das Programm mit `%s --warranty starten, bekommen\n"
+"Sie mehr Informationen.\n"
+
+#: main.cc:59 main.cc:142 main.cc:154
+#, c-format
+msgid "Copyright (c) %s by"
+msgstr "Urheberrechte (Copyright) (c) %s bei"
+
+#. GNU GNU?
+#: main.cc:152
+msgid "GNU LilyPond -- The GNU Project music typesetter"
+msgstr "GNU LilyPond -- Der Notensatz des GNU-Projekts"
+
+#: main.cc:68 main.cc:160
+msgid ""
+"    This program is free software; you can redistribute it and/or\n"
+"modify it under the terms of the GNU General Public License version 2\n"
+"as published by the Free Software Foundation.\n"
+"\n"
+"    This program is distributed in the hope that it will be useful,\n"
+"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
+"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n"
+"General Public License for more details.\n"
+"\n"
+"    You should have received a copy (refer to the file COPYING) of the\n"
+"GNU General Public License along with this program; if not, write to\n"
+"the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,\n"
+"USA.\n"
+msgstr ""
+"    This program is free software; you can redistribute it and/or\n"
+"modify it under the terms of the GNU General Public License version 2\n"
+"as published by the Free Software Foundation.\n"
+"\n"
+"    This program is distributed in the hope that it will be useful,\n"
+"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
+"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n"
+"General Public License for more details.\n"
+"\n"
+"    You should have received a copy (refer to the file COPYING) of the\n"
+"GNU General Public License along with this program; if not, write to\n"
+"the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,\n"
+"USA.\n"
+
+#: midi-item.cc:303
+#, c-format
+msgid "No such instrument: `%s'"
+msgstr "Kein solches instrument: `%s'"
+
+#: midi-item.cc:357
+#, c-format
+msgid "unconventional key: flats: %d, sharps: %d"
+msgstr "Ungewöhnliche Tonart: Bes: %d, Kreuze: %d"
+
+#: midi-item.cc:402
+msgid "silly duration"
+msgstr "Unsinnige Dauer"
+
+#: midi-item.cc:415
+msgid "silly pitch"
+msgstr "unsinnige Tonhöhe"
+
+#: midi-stream.cc:29 paper-stream.cc:36
+msgid "error syncing file (disk full?)"
+msgstr "Fehler beim Abspeichern der Datei (Platte voll?)"
+
+#: music-output-def.cc:56
+msgid "Interpretation context with empty type"
+msgstr "Interpretationskontext mit leerer Typangabe"
+
+#: music-output-def.cc:83
+msgid "can't find Score context"
+msgstr "Kann Partiturkontext nicht finden"
+
+#: musical-request.cc:42
+#, c-format
+msgid "transposition by %s makes accidental larger than two"
+msgstr "Transponieren um %s macht Vorzecihen größer als zwei"
+
+#: my-lily-lexer.cc:137
+#, c-format
+msgid "redeclaration of `\\%s'"
+msgstr "Neudefinition von `\\%s'"
+
+#: my-lily-lexer.cc:143
+#, c-format
+msgid "Identifier name is a keyword (`%s')"
+msgstr "name ist ein Schlüsselbegriff (keyword) (`%s')"
+
+#: my-lily-lexer.cc:172
+#, c-format
+msgid "error at EOF: %s"
+msgstr "Fehler am Dateiende(EOF): %s"
+
+#: my-lily-parser.cc:60
+msgid "Parsing..."
+msgstr "Verarbeite..."
+
+#: my-lily-parser.cc:69
+msgid "braces don't match"
+msgstr "Klammern passen nicht zusammen"
+
+#: paper-def.cc:95
+#, c-format
+msgid "unknown paper variable: `%s'"
+msgstr "Unbekannte papier-Variable: `%s'"
+
+#: paper-def.cc:99
+msgid "not a real variable"
+msgstr "Keine echte Variable"
+
+#. for now; breaks -fscm output
+#: paper-def.cc:251
+msgid "outputting Score, defined at: "
+msgstr "Gebe Partitur aus, definiert bei: "
+
+#: paper-def.cc:280
+#, c-format
+msgid "Paper output to %s..."
+msgstr "Ausgabe auf Papier auf %s..."
+
+#: mudela-stream.cc:85 paper-outputter.cc:76 performance.cc:97
+msgid ", at "
+msgstr ", bei "
+
+#: paper-outputter.cc:130
+#, c-format
+msgid "Improbable offset for object type `%s'"
+msgstr "Diese Verschiebung ist nicht möglich für Objekte vom Typ `%s'"
+
+#: paper-score.cc:131
+msgid "Can't solve this casting problem exactly; revert to Word_wrap"
+msgstr ""
+"Ich kann dieses Berechungsproblem nicht exakt lösen; greife auf Word_Wrap "
+"zurück"
+
+#: paper-score.cc:156
+msgid "Preprocessing elements..."
+msgstr "Verarbeite Element vor..."
+
+#: paper-score.cc:160
+msgid "Calculating column positions..."
+msgstr "Berechne Position der Spalten..."
+
+#: paper-score.cc:179
+msgid " elements. "
+msgstr " Elemente. "
+
+#: paper-score.cc:182
+msgid "Line ... "
+msgstr "Linie ... "
+
+#: performance.cc:50
+msgid "Track ... "
+msgstr "Stück ... "
+
+#. perhaps multiple text events?
+#: performance.cc:77
+msgid "Creator: "
+msgstr "Erstellt von: "
+
+#: performance.cc:92
+msgid "Automatically generated"
+msgstr "Automatisch generiert"
+
+#: performance.cc:106
+#, c-format
+msgid "from musical definition: %s"
+msgstr "von der musiaklischen Definition: %s"
+
+#: performance.cc:174
+#, c-format
+msgid "MIDI output to %s..."
+msgstr "MIDI-Ausgabe nach %s..."
+
+#: qlpsolve.cc:88 qlpsolve.cc:139
+msgid "degenerate constraints"
+msgstr "Degenerierte Zwangsbedingungen"
+
+#: request-chord-iterator.cc:73
+#, c-format
+msgid "junking request: `%s'"
+msgstr "Uralt-Bitte: `%s'"
+
+#: request-chord-iterator.cc:76
+#, c-format
+msgid "Huh?  Not a Request: `%s'"
+msgstr "Wie? Keine Anforderung: `%s'"
+
+#: rest-collision.cc:64
+msgid "Too many colliding rests."
+msgstr "Zu viele kollidierende Pausen."
+
+#: rest-collision.cc:68
+msgid "Too many notes for rest collision."
+msgstr "Zu viele Noten für kollidierende Pausen."
+
+#: score-engraver.cc:149
+#, c-format
+msgid "Unbound spanner `%s'"
+msgstr "Unbeschränkter Abstand `%s'"
+
+#: score.cc:56
+msgid "no toplevel translator"
+msgstr "Kein Übersetzer für den obersten Level"
+
+#: score.cc:59
+msgid "Interpreting music..."
+msgstr "Interpretiere die Noten..."
+
+#: score.cc:70
+msgid "need music in a score"
+msgstr "Ich brauche Noten in einer Partitur"
+
+#. should we? hampers debugging.
+#: score.cc:83
+msgid "errors found, /*not processing score*/"
+msgstr "Habe Fehler gefunden, /* die Partitur wird nicht verarbeitet */"
+
+#: score.cc:88
+#, c-format
+msgid "time: %.2f seconds"
+msgstr "Zeit: %.2f Sekunden"
+
+#: scores.cc:35
+#, c-format
+msgid "writing dependency file: `%s'..."
+msgstr "Schreibe Datei mit Abhängigkeiten: `%s'..."
+
+#: scores.cc:79
+msgid "score contains errors; will not process it"
+msgstr "Partitur enthält Fehler; ich werde sie nicht weiterverarbeiten"
+
+#: script-engraver.cc:49
+#, c-format
+msgid "don't know how to interpret articulation `%s'\n"
+msgstr "Ich weiß nicht, wie ich die Artikulation `%s' interpretieren soll\n"
+
+#. this shouldn't happen, but let's continue anyway.
+#: single-malt-grouping-item.cc:43
+msgid "Single_malt_grouping_item: I've been drinking too much"
+msgstr "Single_malt_grouping_item: Ich saufe zu viel"
+
+#: slur-engraver.cc:64
+msgid "unterminated slur"
+msgstr "Unbeendeter Bindebogen"
+
+#: slur-engraver.cc:80
+#, c-format
+msgid "can't find both ends of %s"
+msgstr "Kann nicht beide Enden von %s finden"
+
+#: slur-engraver.cc:80
+msgid "slur"
+msgstr "Bindebogen"
+
+#: slur.cc:38
+msgid "Putting slur over rest. Ignoring"
+msgstr "Setze Bindebogen über Pause. Wird ignoriert"
+
+#: spacing-spanner.cc:218
+#, c-format
+msgid "can't find a ruling note at %s"
+msgstr "Kann keine kürzeste Note bei %s finden"
+
+#: spacing-spanner.cc:224
+#, c-format
+msgid "no minimum in measure at %s"
+msgstr "Kein Minimum im Takt bei %s"
+
+#: spanner.cc:41
+msgid "left spanpoint is right spanpoint\n"
+msgstr "Linker Bogenpunkt ist identisch zum rechten Bogenpunkt\n"
+
+#: spanner.cc:111
+#, c-format
+msgid "Spanner `%s' with equal left and right spanpoints"
+msgstr "Bogen `%s' mit gleichen linken und rechten Bogenpunkten"
+
+#: spring-spacer.cc:134
+msgid "I'm too fat; call Oprah"
+msgstr "Ich bin zu dick; rufe Oprah an"
+
+#: spring-spacer.cc:295
+msgid "solution doesn't satisfy constraints"
+msgstr "Die Lösung erfüllt die Zwangsbedingungen nicht"
+
+#: spring-spacer.cc:378
+#, c-format
+msgid "Improbable distance: %f point, setting to 10 mm"
+msgstr "Unwahrscheinlicher Abstand: %f Punkte, ich setze es auf 10 mm"
+
+#: spring-spacer.cc:383
+msgid "Negative distance. Setting to 10 mm"
+msgstr "Negativer Abstend. ich setze ihn auf 10 mm"
+
+#: stem-engraver.cc:80
+#, c-format
+msgid "Adding note head to incompatible stem (type = %d)"
+msgstr "Setze Note auf unpassenden Hals (Typ = %d)"
+
+#: stem.cc:106
+msgid "weird stem size; check for narrow beams"
+msgstr ""
+"Dubiose Größe des Notenhalses: Überprüfe die Eingabe auf schmale Balken"
+
+#: tfm-reader.cc:108
+#, c-format
+msgid "TFM header of `%s' has only %u word(s)"
+msgstr "TFM header von `%s' hat nur %u Wort(e)"
+
+#: tfm-reader.cc:146
+#, c-format
+msgid "%s: TFM file has %u parameters, which is more than the"
+msgstr "%s: TFM-Datei hat %u Parameter. Das ist mehr als die"
+
+#: tfm.cc:64
+#, c-format
+msgid "can't find ascii character `%d'"
+msgstr "Kann ASCII-Zeichen `%d' nicht finden"
+
+#: tie-engraver.cc:155 tie-performer.cc:106
+msgid "No ties were created!"
+msgstr "Es wurden keine Haltebögen erzeugt!"
+
+#: tie.cc:55
+msgid "lonely tie"
+msgstr "Einsamer Haltebogen"
+
+#: time-description.cc:17
+msgid "cadenza"
+msgstr "Kadenz"
+
+#: time-description.cc:106
+msgid "partial measure must be non-negative"
+msgstr "Takt-Teil darf nicht kleiner Null sein"
+
+#: time-description.cc:108
+msgid "partial measure too large"
+msgstr "Takt-Teil zu lang"
+
+#: time-scaled-music-iterator.cc:25
+msgid "No one to print a tuplet start bracket"
+msgstr "Niemand schreibt eine mehrfahce Anfangsklammer"
+
+#: time-signature-engraver.cc:28
+msgid "lost in time"
+msgstr "Verloren in der Zeit"
+
+#: timing-translator.cc:26
+msgid "conflicting timing request"
+msgstr "Widersprechende Zeitangaben"
+
+#: timing-translator.cc:62
+msgid "time signature change not allowed here"
+msgstr "Taktänderung hier nicht erlaubt"
+
+#: timing-translator.cc:83
+#, c-format
+msgid "barcheck failed by: %s"
+msgstr "Überprüfung der Takte is fehlgeschlagen bei: %s"
+
+#: translator-ctors.cc:39
+#, c-format
+msgid "unknown translator `%s'"
+msgstr "unbekannter Übersetzer `%s'"
+
+#: translator-group.cc:82 translator-group.cc:97
+#, c-format
+msgid "Already contains a `%s'"
+msgstr "Enthält schon ein `%s'"
+
+#: translator-group.cc:207
+#, c-format
+msgid "can't find or create `%s' called `%s'"
+msgstr "Kann ein `%s', genannt `%s' weder finden noch erzeugen"
+
+#: translator-group.cc:341
+#, c-format
+msgid "can't find or create `%s'"
+msgstr "Kann ein `%s' weder finden noch erzeugen"
+
+#: translator-group.cc:437 translator-group.cc:446
+#, c-format
+msgid "can't find `%s'"
+msgstr "Kann `%s' nicht finden"
+
+#: transposed-music.cc:31
+msgid "Will ignore \\relative for transposed music"
+msgstr "Ich werde \\\\relative für transponierte Musik ignorieren"
+
+#: unfolded-repeat-iterator.cc:145
+msgid "No one to print a volta bracket"
+msgstr "Niemand schreibt eine Volta-Klammer"
+
+#: word-wrap.cc:75
+msgid "ugh, this measure is too long"
+msgstr "Hmm, dieser Takt ist zu lang"
+
+#: word-wrap.cc:76
+#, c-format
+msgid "breakpoint: %d"
+msgstr "Haltepunkt: %d"
+
+#: word-wrap.cc:77
+msgid "generating stupido solution"
+msgstr "Generiere eine stupido-Lösung"
+
+#: word-wrap.cc:95
+msgid "I don't fit; put me on Montignac"
+msgstr "Ich passe nicht; setze mich auf Montignac"
+
+#: parser.yy:55
+#, c-format
+msgid "Oldest supported input version: %s"
+msgstr "Älteste noch unterstütze Version der Eingabe: %s"
+
+#: parser.yy:313
+msgid "Cannot evaluate Scheme in safe mode"
+msgstr "Kann Scheme nicht interpretieren, wenn ich im sicheren Modus bin"
+
+#: parser.yy:433 parser.yy:441 parser.yy:465
+msgid "Need a translator group for a context"
+msgstr "Ich brauche eine Übersetzer-Gruppe für den Kontext"
+
+#: parser.yy:459
+msgid "Wrong type for property value"
+msgstr "Falsche Type für Besitz-Wert"
+
+#: parser.yy:515
+msgid "More than one music block"
+msgstr "Mehr als ein Musik-Block"
+
+#: parser.yy:946 parser.yy:1360 parser.yy:1380
+#, c-format
+msgid "not a duration: %d"
+msgstr "Keine Dauer: %d"
+
+#: parser.yy:948 parser.yy:1382
+msgid "can't abbreviate"
+msgstr "Kann ich nicht abkürzen"
+
+#: parser.yy:1211 parser.yy:1219 parser.yy:1444
+msgid "have to be in Lyric mode for lyrics"
+msgstr "Um Text zu verarbeiten, muß ich im Text-(Lyrics)-Modus sein"
+
+#: parser.yy:1391
+msgid "have to be in Note mode for notes"
+msgstr "Für Noten muß ich im Noten-(Note)-Modus sein"
+
+#: parser.yy:1403
+msgid "can't abbreviate tuplet"
+msgstr "Kann Tupel nicht abkürzen"
+
+#: parser.yy:1450
+msgid "have to be in Chord mode for chords"
+msgstr "Für Akkorde muß ich im Akkord-(Chord)-Modus sein"
+
+#: lexer.ll:155
+msgid "EOF found inside a comment"
+msgstr "Während eines Kommentar war die Datei zu Ende (EOF gefunden)"
+
+#: lexer.ll:199
+#, c-format
+msgid "undefined identifier: `%s'"
+msgstr "Unbekannter Identifier: `%s'"
+
+#. backup rule
+#: lexer.ll:204
+msgid "missing end quote"
+msgstr "Endnote fehlt"
+
+#. backup rule
+#: lexer.ll:227 lexer.ll:231
+msgid "white expected"
+msgstr "Erwarte Weiß"
+
+#: lexer.ll:401
+#, c-format
+msgid "invalid character: `%c'"
+msgstr "Ungültiger Buchstabe `%c'"
+
+#: lexer.ll:457
+#, c-format
+msgid "unknown escaped string: `\\%s'"
+msgstr "Unbekannte Sonder-Zeichenkette"
+
+#: lexer.ll:543
+#, c-format
+msgid "incorrect mudela version: %s (%s, %s)"
+msgstr "Falsche Version von Mudela: (s /%s, %s)"
+
+#: out/BLURB.hh:2
+msgid ""
+"LilyPond is a music typesetter.  It produces beautiful sheet music\n"
+"using a high level description file as input.  LilyPond is part of \n"
+"the GNU Project.\n"
+msgstr ""
+"LilyPond ist ein Notensatzprogramm. Mit ihm lassen sich wunderschöne\n"
+"Notenblätter erzeugen. Dazu verwendet es eine eigene Beschreibungssprache.\n"
+"lilyPond ist Teil des GNU-Projekts\n"
+
+#: main.cc:90
+msgid "write exact durations, e.g.: a4*385/384"
+msgstr "Schreibe genaue Dauer, z.B.: a4*385/384"
+
+#: main.cc:93
+msgid "ACC[:MINOR]"
+msgstr "ACC[:MOLL]"
+
+#: main.cc:93
+msgid "set key: ACC +sharps/-flats; :1 minor"
+msgstr "Setze Tonart: ACC +Kreuze/-Bes; :1 Moll"
+
+#: main.cc:94
+msgid "assume no tuplets or double dots, smallest is 32"
+msgstr ""
+"Nimm an, dass keine -olen (Triolen, Quintolen etc.) oder Doppelpunkte \n"
+"vorliegen. Kleinste Teilung sind 32igstel"
+
+#: main.cc:95
+msgid "set FILE as default output"
+msgstr "Ausgabe standardmäßig in Datei FILE"
+
+#: main.cc:96
+msgid "assume no tuplets"
+msgstr "Nimm an, daß keine -olen (Triolen, Quintolen etc.) vorliegen"
+
+#: main.cc:97
+msgid "be quiet"
+msgstr "Sei ruhig"
+
+#: main.cc:98
+msgid "DUR"
+msgstr "DUR"
+
+#: main.cc:98
+msgid "Set smallest duration (?)"
+msgstr "Setze kürzeste Dauer (?)"
+
+#: main.cc:100
+msgid "be verbose"
+msgstr "Sei geschwätzig"
+
+#: main.cc:102
+msgid "assume no double dotted notes"
+msgstr "Keine Noten mit Doppelpunkt"
+
+#: main.cc:110
+#, c-format
+msgid "Usage: %s [OPTION]... [FILE]"
+msgstr "Verwendung: %s [OPTIONEN] ... [DATEI]"
+
+#: main.cc:112
+msgid "Translate midi-file to mudela"
+msgstr "Übersetze MIDI in mudela"
+
+#: midi-parser.cc:64
+msgid "zero length string encountered"
+msgstr "Zeichenkette der Länge 0 gefunden"
+
+#: midi-score-parser.cc:44
+msgid "MIDI header expected"
+msgstr "Erwarte MIDI-Kopf"
+
+#: midi-score-parser.cc:49
+msgid "Invalid header length"
+msgstr "Ungültige Kopfteil-Länge"
+
+#: midi-score-parser.cc:52
+msgid "Invalid midi format"
+msgstr "Ungültiges MIDI-Format"
+
+#: midi-score-parser.cc:55
+msgid "Invalid number of tracks"
+msgstr "Ungültige Anzahl an Spuren"
+
+#: midi-score-parser.cc:58
+#, c-format
+msgid "can't handle %s"
+msgstr "Kann %s nicht verarbeiten"
+
+#: midi-score-parser.cc:58
+msgid "non-metrical time"
+msgstr "Nicht-Metrischer Takt"
+
+#: midi-score-parser.cc:94
+msgid "Parsing...\n"
+msgstr "Verarbeite...\n"
+
+#: midi-track-parser.cc:68
+#, c-format
+msgid "junking note-end event: channel = %d, pitch = %d"
+msgstr "Ich vernachlässige einen Event \"note-end\": Kanal = %d, Tonhöhe = %d"
+
+#: midi-track-parser.cc:124
+msgid "invalid running status"
+msgstr "Ungültiger Laufzeit-Status"
+
+#: midi-track-parser.cc:328
+msgid "unimplemented MIDI meta-event"
+msgstr "MIDI Meta-event nicht implementiert"
+
+#: midi-track-parser.cc:333
+msgid "invalid MIDI event"
+msgstr "Ungültiges MIDI evant"
+
+#: midi-track-parser.cc:348
+msgid "MIDI track expected"
+msgstr "Erwarte MIDI-Stück"
+
+#: midi-track-parser.cc:353
+msgid "invalid track length"
+msgstr "Unzulässige Länge für ein Stück"
+
+#: mudela-item.cc:160
+#, c-format
+msgid "#32 in quarter: %d"
+msgstr "#32 in Vierteln: %d"
+
+#: mudela-score.cc:108
+#, c-format
+msgid "Lily output to %s..."
+msgstr "Lily-Ausgabe nach %s..."
+
+#: mudela-score.cc:119 mudela-score.cc:168
+msgid "track "
+msgstr "Spur "
+
+#: mudela-score.cc:155
+msgid "Processing..."
+msgstr "Verarbeite..."
+
+#: mudela-score.cc:164
+msgid "Creating voices..."
+msgstr "Erzeuge Stimmen..."
+
+#: mudela-score.cc:177
+msgid "NOT Filtering tempo..."
+msgstr "Ich filtere das Tempo NICHT..."
+
+#: mudela-score.cc:186
+msgid "NOT Quantifying columns..."
+msgstr "ich quantifiziere die Spalten NICHT..."
+
+#: mudela-score.cc:190
+msgid "Quantifying columns..."
+msgstr "Quantifiziere Spalten..."
+
+#: mudela-score.cc:223
+msgid "Settling columns..."
+msgstr "Erledige Spalten..."
+
+#: mudela-staff.cc:111
+#, c-format
+msgid "% midi copyright:"
+msgstr "% Midi Urheberrecht:"
+
+#: mudela-staff.cc:112
+#, c-format
+msgid "% instrument:"
+msgstr "% Instrument:"
+
+#: mudela-stream.cc:37
+#, c-format
+msgid "lily indent level: %d"
+msgstr "lily Einrücklevel: %d"
+
+#: mudela-stream.cc:75
+msgid "% Creator: "
+msgstr "% erstellt von: "
+
+#: mudela-stream.cc:80
+msgid "% Automatically generated"
+msgstr "% Automatisch generiert"
+
+#: mudela-stream.cc:89
+#, c-format
+msgid "% from input file: "
+msgstr "% aus Eingabedatei: "
+
+#~ msgid "%c"
+#~ msgstr "%c"
+
+#~ msgid "map_fd: "
+#~ msgstr "map_fd: "
+
+#~ msgid "vm_deallocate: "
+#~ msgstr "vm_deallocate: "
+
+#~ msgid "search path = %s"
+#~ msgstr "Suchpfad = %s"
+
+#~ msgid ""
+#~ "\n"
+#~ "Search path is `%s'\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Suchpfad ist `%s'\n"
+
+#~ msgid "Can not find file `%s'"
+#~ msgstr "Kann die Datei `%s' nicht finden"
+
+#~ msgid "Can't open `%s'\n"
+#~ msgstr "Kann `%s' nicht öffnen"
+
+#~ msgid "Search path %s\n"
+#~ msgstr "Suchpfad %s\n"
+
+#~ msgid "  -a, --about            about LilyPond\n"
+#~ msgstr "  -a, --about            über LilyPond\n"
+
+#~ msgid "  -h, --help             this help\n"
+#~ msgstr "  -h, --help             Diese Hilfe\n"
+
+#~ msgid "  -f, --output-format=X  use output format X\n"
+#~ msgstr "  -f, --output-format=X  Benutze Ausgabeformat X\n"
+
+#~ msgid "  -o, --output=FILE      set FILE as default output base\n"
+#~ msgstr "  -o, --output=FILE      Setze FILE als Standard-Ausgabe\n"
+
+#~ msgid "  -V, --ignore-version   ignore mudela version\n"
+#~ msgstr "  -V, --ignore-version   Scher´ Dich nicht um die Mudela-Version"
+
+#~ msgid "GNU LilyPond is Free software, see --warranty"
+#~ msgstr "GNU LilyPond ist Freie Software, siehe --warranty"
+
+#~ msgid "Han-Wen Nienhuys <hanwen@cs.uu.nl>"
+#~ msgstr "Han-Wen Nienhuys <hanwen@cs.uu.nl>"
+
+#~ msgid "Jan Nieuwenhuizen <janneke@gnu.org>"
+#~ msgstr "Jan Nieuwenhuizen <janneke@gnu.org>"
+
+#~ msgid "  -D, --debug            enable debugging output\n"
+#~ msgstr "  -D, --debug            Debugger an"
+
+#~ msgid "  -q, --quiet            be quiet\n"
+#~ msgstr "  -q, --quiet            sei ruhig\n"
+
+#~ msgid "  -v, --verbose          be verbose\n"
+#~ msgstr "  -v, --verbose          sei geschwätzig\n"
+
+#~ msgid "Midi2ly, translate midi to mudela"
+#~ msgstr "Midi2ly, übersetze midi nach mudela"
+
+#~ msgid "of"
+#~ msgstr "von"
+
index e0682e5b23ac34f5564cfca6ad623d0e622307e7..d2ab97ae06c1849b362a10ca3458613340b09354 100644 (file)
@@ -29,6 +29,9 @@ import time
 import glob
 import tempfile
 
+os.environ['LANG'] = ''                # Can't grep localized msgs
+
+
 
 class Input:
     """
@@ -922,7 +925,7 @@ def writeLilylog(file,contents):
 def getTeXFile(contents):
     texfiles=[]
     for line in string.split(contents,'\n'):
-        m = re.search('^Paper output to (.+)\.\.\.', line)
+        m = re.search('^paper output to (.+)\.\.\.', line)
         if m:
             texfiles.append(m.group(1))
 
index bed9d1c12e7b99a3ba7aaa7f01666c981903d334..d33127e39fdcfc30a045466d917f265ea71fefee 100644 (file)
@@ -499,7 +499,7 @@ def advance_counters (counter, opts, str):
                        opts.append ('twocolumn')
                elif g  == 'onecolumn':
                        try:
-                               current_opts.remove ('twocolumn')
+                               opts.remove ('twocolumn')
                        except IndexError:
                                pass
                elif g == 'chapter':
@@ -534,7 +534,7 @@ def schedule_mudela_block (base, chunk, extra_opts):
        file_body = compose_full_body (body, opts)
        basename = base
        if __main__.use_hash:
-               basename = `hash (file_body)`
+               basename = `abs(hash (file_body))`
        updated = update_file (file_body, basename + '.ly')
        todo = [basename]                       # UGH.
 
index 534db01acbd8903c218ecab9a03f0cf0c5c04c3e..8cb7ce851de497fd441b6149c8de122942b8e759 100644 (file)
@@ -15,6 +15,5 @@ $(outdir)/%.png: %.xpm
 $(outdir)/%.txt: $(outdir)/%.1
        troff -man -Tascii $< | grotty -b -u -o > $@
 
-include $(stepdir)/yodl-rules.make
 include $(stepdir)/texinfo-rules.make
 
index db4a7e0b99994fc96079641b7cd7c60871e464ef..85d77ef212e0019d39bcedcd551dcd0c04ff968a 100644 (file)
@@ -7,7 +7,7 @@ default: $(EXECUTABLE)
 
 $(EXECUTABLE): $(depth)/config.h $(O_FILES) $(outdir)/version.hh
        $(foreach a, $(MODULE_LIBS), $(MAKE) -C $(a) && ) true
-       $(LD_COMMAND) $(O_FILES) $(LOADLIBES)
+       $(LD_COMMAND) $(O_FILES) $(LOADLIBES) $(USER_LDFLAGS)
 
 exe: $(EXECUTABLE)
 
index 203c64be65e085cce15b3fc7273f023564ce0edd..117bfc5a5cc8441bf8a9fefed4d9947e320cd58f 100644 (file)
@@ -1,5 +1,5 @@
 # empty
-LDFLAGS = $(ILDFLAGS) $(USER_LDFLAGS) $(EXTRA_LDFLAGS) $(MODULE_LDFLAGS) $($(PACKAGE)_LDFLAGS)
+LDFLAGS = $(ILDFLAGS) $(EXTRA_LDFLAGS) $(MODULE_LDFLAGS) $($(PACKAGE)_LDFLAGS)
 
 MODULE_LIBES =$(addsuffix /$(outdir)/library.a, $(MODULE_LIBS))
 LOADLIBES = $(MODULE_LIBES) $($(PACKAGE)_LIBES) $(EXTRA_LIBES)