]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/notation.itely
* lily/main.cc (main_with_guile): switch debugging.
[lilypond.git] / Documentation / user / notation.itely
index 18e3ff57c24adabe3869936b7ada5acbf414a771..a01a7c3d1fb7cc6153962199b44c53f15bbac2ff 100644 (file)
@@ -10,7 +10,7 @@
 
 This chapter describes all the different types of notation supported
 by LilyPond. It is intended as a reference for users that are already
-somewhat familiar with using LilyPond.
+somewhat familiar with LilyPond.
 
 @menu
 * Note entry::                  
@@ -39,9 +39,8 @@ somewhat familiar with using LilyPond.
 @section Note entry
 @cindex Note entry
 
-The basic elements of any piece of music are the notes. This section
-is about basic notation elements notes, rests and related constructs,
-such as stems, tuplets and ties.
+This section is about basic notation elements notes, rests and
+related constructs, such as stems, tuplets and ties.
 
 @menu
 * Notes::                       
@@ -82,8 +81,8 @@ this manual.}
 @cindex entering notes
 
 The most common syntax for pitch entry is used in @code{\chords} and
-@code{\notes} mode.  In Note and Chord mode, pitches may be designated
-by names.  The notes are specified by the letters @code{a} through
+@code{\notes} mode.  In these modes, pitches may be designated by
+names.  The notes are specified by the letters @code{a} through
 @code{g}, while the octave is formed with notes ranging from @code{c}
 to @code{b}.  The pitch @code{c} is an octave below middle C and the
 letters span the octave above that C:
@@ -168,7 +167,7 @@ Notes can be hidden and unhidden with the following commands:
 
 @seealso
 
-Internals: @internalsref{NoteEvent}, and @internalsref{NoteHead}.
+Program reference: @internalsref{NoteEvent}, and @internalsref{NoteHead}.
 
 @node Chromatic alterations
 @subsection Chromatic alterations
@@ -189,9 +188,17 @@ question mark `@code{?}' after the pitch:
 @end lilypond
 
 
+@seealso
+
 The automatic production of accidentals can be tuned in many
 ways. For more information, refer to @ref{Accidentals}.
 
+
+@refbugs
+
+There are no generally accepted standards for denoting three quarter
+flats, so LilyPond's symbol does not conform to any standard.
+
 @node Chords
 @subsection Chords
 
@@ -199,6 +206,9 @@ A chord is formed by a enclosing a set of pitches in @code{<} and
 @code{>}. A chord may be followed by  a duration, and a set of
 articulations, just like simple notes.
 
+@lilypond[relative]
+ <c e g>4 <c>8 <>8 
+@end lilypond
 
 @node Rests
 @subsection Rests
@@ -214,7 +224,7 @@ r1 r2 r4 r8
 @end lilypond
 
 Whole bar rests, centered in middle of the bar,
-must be done  with multi measure rests. They are discussed in
+must be done  with multi-measure rests. They are discussed in
 @ref{Multi measure rests}.
 
 
@@ -229,7 +239,7 @@ a'4\rest d'4\rest
 
 @seealso
 
-Internals: @internalsref{RestEvent}, and @internalsref{Rest}.
+Program reference: @internalsref{RestEvent}, and @internalsref{Rest}.
 
 
 @c FIXME: naming.
@@ -273,7 +283,7 @@ The same fragment using @code{\skip} results in an empty page.
 
 @seealso
 
-Internals: @internalsref{SkipEvent}, @internalsref{SkipMusic}.
+Program reference: @internalsref{SkipEvent}, @internalsref{SkipMusic}.
 
 
 
@@ -300,17 +310,19 @@ r1 r2 r4 r8 r16 r32 r64 r64
 @lilypond[noindent]
 \score {
   \notes \relative c'' {
-    a\breve  \autoBeamOff
+    a\breve*1/2  \autoBeamOff
     a1 a2 a4 a8 a16 a32 a64 a64 
-    r\longa r\breve  
+    r\longa*1/4 r\breve  *1/2
     r1 r2 r4 r8 r16 r32 r64 r64 
   }
   \paper {
-    \translator {
+    raggedright = ##t
+    \context {
       \StaffContext
         \remove "Clef_engraver"
         \override StaffSymbol #'transparent = ##t 
-        \override TimeSignature #'transparent = ##t 
+        \override TimeSignature #'transparent = ##t
+        \override BarLine #'transparent = ##t
         \consists "Pitch_squash_engraver"
     }
   }
@@ -357,7 +369,7 @@ direction manually:
 
 @seealso
 
-Internals: @internalsref{Dots}, and @internalsref{DotColumn}. 
+Program reference: @internalsref{Dots}, and @internalsref{DotColumn}. 
 
 @node Stems
 @subsection Stems
@@ -423,7 +435,7 @@ note splitting (see @ref{Automatic note splitting}).
 
 In this manual: @ref{Automatic note splitting}.
 
-Internals: @internalsref{TieEvent}, @internalsref{Tie}.
+Program reference: @internalsref{TieEvent}, @internalsref{Tie}.
 
 For tying only a subset of the note heads of a pair of chords, see
 @inputfileref{input/regression,tie-chord-partial.ly}.
@@ -497,7 +509,7 @@ instead.
 
 @seealso
 
-Internals: @internalsref{TupletBracket}, and @internalsref{TimeScaledMusic}.
+Program reference: @internalsref{TupletBracket}, and @internalsref{TimeScaledMusic}.
 
 Examples: @inputfileref{input/regression,tuplet-nest.ly}.
 
@@ -513,15 +525,14 @@ tuplet brackets should be moved manually, which is demonstrated in
 @section Easier music entry
 @cindex Music entry
 
-When entering music it is easy to introduce errors. This section deals
-with tricks and features of the input language that were added solely
-to help entering music, and find and correct mistakes.
+This section deals with tricks and features of the input language that
+were added solely to help entering music, finding and correcting
+mistakes.  There are also external tools that make debugging easier.
+See @ref{Point and click} for more information.
 
-It is also possible to use external programs, for example GUI
-interfaces, or MIDI transcription programs, to enter or edit
-music. Refer to the website for more information. Finally, there are
-tools make debugging easier, by linking the input file and the output
-shown on screen. See @ref{Point and click} for more information.
+It is also possible to enter and edit music using other programs.  For
+example, GUI interfaces, or MIDI sequencers. Refer to the LilyPond
+website for more information.
 
 
 @menu
@@ -553,10 +564,10 @@ piece off by one octave:
 
 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
-(; this distance is determined without regarding alterations: a
+between this and the last note is always taken to be a fourth or
+less. This distance is determined without regarding alterations; a
 @code{fisis} following a @code{ceses} will be put above the
-@code{ceses}).
+@code{ceses}.
 
 The octave changing marks @code{'} and @code{,} can be added to raise
 or lower the pitch by an extra octave.  Upon entering relative mode,
@@ -589,9 +600,7 @@ to determine the first note of the next chord:
 @cindex @code{\notes}
 
 The pitch after the @code{\relative} contains a note name.  To parse
-the pitch as a note name, you have to be in note mode, so there must
-be a surrounding @code{\notes} keyword (which is not
-shown here).
+the note name as a pitch, it must surrounded by @code{\notes}
 
 The relative conversion will not affect @code{\transpose},
 @code{\chords} or @code{\relative} sections in its argument.  If you
@@ -612,8 +621,8 @@ octave should be.  In the following example,
 @noindent
 @c take care with @code, adds confusing quotes.
 the d will generate a warning, because a d'' is expected, but a d' is
-found.  In the output, the octave is corrected this and the following
-notes.
+found.  In the output, the octave is corrected for this and the
+following notes.
 
 
 
@@ -661,11 +670,8 @@ be deleted without changing the meaning of the piece.
 Bar checks help detect errors in the durations.  A bar check is
 entered using the bar symbol, `@code{|}'.  Whenever it is encountered
 during interpretation, it should fall on a measure boundary.  If it
-does not, a warning is printed.  Depending on the value of
-@code{barCheckSynchronize}, the beginning of the measure will be
-relocated.
-
-In the next example, the second bar check will signal an error:
+does not, a warning is printed.  In the next example, the second bar
+check will signal an error:
 @example
   \time 3/4 c2 e4 | g2 | 
 @end example
@@ -738,7 +744,7 @@ represented exactly; the engraver will not insert tuplets.
 
 Examples: @inputfileref{input/regression,completion-heads.ly}.
 
-Internals: @internalsref{Completion_heads_engraver}.
+Program reference: @internalsref{Completion_heads_engraver}.
 
 
 @node Staff notation
@@ -778,7 +784,7 @@ staff symbol.
 
 @seealso
 
-Internals: @internalsref{StaffSymbol}.
+Program reference: @internalsref{StaffSymbol}.
 
 Examples: @inputfileref{input/test,staff-lines.ly},
 @inputfileref{input/test,staff-size.ly}.
@@ -799,7 +805,6 @@ The key signature indicates the scale in which a piece is played. It
 is denoted by a set of alterations (flats or sharps) at the start of
 the staff.
 
-@syntax
 
 Setting or changing the key signature is done with the @code{\key}
 command:
@@ -829,8 +834,8 @@ This command sets the context property
 can be specified by setting this property directly.
 
 Accidentals and key signatures often confuse new users, because
-unaltered notes get natural signs depending on the key signature.  The
-tutorial explains why this is so in @ref{More about pitches}.
+unaltered notes get natural signs depending on the key signature. For
+more information,   see  @ref{More about pitches}.
 
 @refbugs
 
@@ -839,7 +844,7 @@ repeat bar lines. The cancellation is also printed after a line break.
 
 @seealso
 
-Internals: @internalsref{KeyChangeEvent}, and @internalsref{KeySignature}.
+Program reference: @internalsref{KeyChangeEvent}, and @internalsref{KeySignature}.
 
 @cindex @code{keySignature}
 
@@ -851,7 +856,6 @@ Internals: @internalsref{KeyChangeEvent}, and @internalsref{KeySignature}.
 The clef indicates which lines of the staff correspond to which
 pitches.
 
-@syntax
 
 The clef can be set or changed with the @code{\clef} command:
 @lilypond[fragment,verbatim]
@@ -894,6 +898,8 @@ G clef on 2nd line
  F clef on 5th line
 @item percussion
  percussion clef
+@item tab
+ tablature clef
 @end table
 
 By adding @code{_8} or @code{^8} to the clef name, the clef is
@@ -915,7 +921,7 @@ when any of these properties are changed.
 
 @seealso
 
-Internals: the object for this symbol is @internalsref{Clef}.
+Program reference: the object for this symbol is @internalsref{Clef}.
 
 
 
@@ -952,7 +958,7 @@ The @code{set-octavation} function also takes -1 (for 8va bassa) and 2
 
 @seealso
 
-Internals: @internalsref{OttavaBracket}.
+Program reference: @internalsref{OttavaBracket}.
 
 Examples: @inputfileref{input/regression,ottava.ly},
 @inputfileref{input/regression,ottava-broken.ly}.
@@ -972,7 +978,6 @@ Time signature indicates the metrum of a piece: a regular pattern of
 strong and weak beats. It is denoted by a fraction at the start of the
 staff.
 
-@syntax
 
 The time signature is set or changed by the @code{\time}
 command:
@@ -1011,19 +1016,19 @@ measure is subdivided in 2, 2, 2 and 3. This is passed to
    }
    \paper {
        raggedright = ##t
-       \translator { \StaffContext
+       \context { \StaffContext
          \consists "Measure_grouping_engraver"
    }}}
 @end lilypond 
 
 @seealso
 
-Internals: @internalsref{TimeSignature}, and @internalsref{Timing_engraver}.
+Program reference: @internalsref{TimeSignature}, and @internalsref{Timing_engraver}.
 
 
 @refbugs
 
-Automatic beaming does not use measure grouping specified with
+Automatic beaming does not use the measure grouping specified with
 @code{set-time-signature}.
 
 @node Partial measures
@@ -1059,7 +1064,15 @@ indicating how much of the measure has passed at this point.
 Bar lines and bar numbers are calculated automatically. For unmetered
 music (e.g. cadenzas), this is not desirable.  By setting
 @code{Score.timing} to false, this automatic timing can be switched
-off.
+off. Empty bar lines,
+
+@example
+  \bar ""
+@end example
+
+@noindent
+indicate where line breaks can occur.
+
 
 
 @refcommands
@@ -1082,7 +1095,6 @@ Bar lines delimit measures, but are also used to indicate repeats.
 Normally, they are inserted automatically.  Line breaks may only
 happen on bar lines.
 
-@syntax
 
  Special types
 of bar lines can be forced with the @code{\bar} command:
@@ -1125,17 +1137,14 @@ connected between different staves of a @internalsref{StaffGroup}:
 \new Staff { \clef bass c2 c2 } >>
 @end lilypond
 
-
-The command @code{\bar @var{bartype}} is a short cut for doing
-@code{\set Score.whichBar = @var{bartype}} Whenever
-@code{whichBar} is set to a string, a bar line of that type is
-created.  At the start of a measure it is set to
+A bar line is created whenever the @code{whichBar} property is set.
+At the start of a measure it is set to the contents of
 @code{defaultBarType}. The contents of @code{repeatCommands} are used
 to override default measure bars.
 
-Property @code{whichBar} can also be set directly, using @code{\set} 
-or @code{\bar}.  These settings take precedence over the automatic
-@code{whichBar} settings. 
+The command @code{\bar }@var{bartype} is a short cut for doing
+@code{\set Timing.whichBar = }@var{bartype}.  Whenever @code{whichBar}
+is set to a string, a bar line of that type is created.
 
 @cindex whichBar
 @cindex repeatCommands
@@ -1151,9 +1160,9 @@ You are encouraged to use @code{\repeat} for repetitions.  See
 In this manual: @ref{Repeats}.
 
 
-Internals: the bar line objects that are created at
+Program reference: the bar line objects that are created at
 @internalsref{Staff} level are called @internalsref{BarLine}, the bar
-lines that span staves are @internalsref{SpanBar}s.
+lines that span staves are @internalsref{SpanBar} objects.
 
 @cindex bar lines at start of system
 @cindex start of system
@@ -1273,7 +1282,7 @@ voices have @code{\shiftOn}, @code{\shiftOnn}, etc.
 
 @seealso
 
-Internals: the objects responsible for resolving collisions are
+Program reference: the objects responsible for resolving collisions are
 @internalsref{NoteCollision} and @internalsref{RestCollision}.
 
 Examples: See also example files
@@ -1291,8 +1300,9 @@ are handled. When LilyPond cannot cope, the @code{force-hshift}
 property of the @internalsref{NoteColumn} object and pitched rests can
 be used to override typesetting decisions.
 
-When using @code{merge-differently-headed} with an upstem 8th or a shorter
-note, and a downstem half note, the 8th note gets the wrong offset.
+When using @code{merge-differently-headed} with an upstem eighth or a
+shorter note, and a downstem half note, the eighth note gets the wrong
+offset.
 
 There is no support for clusters where the same note occurs with
 different accidentals in the same chord. In this case, it is
@@ -1303,14 +1313,14 @@ notation (see @ref{Clusters}).
 @section Beaming
 
 Beams are used to group short notes into chunks that are aligned with
-the metrum. They are inserted automatically in most cases:
+the metrum. They are inserted automatically
 
 @lilypond[fragment,verbatim,relative=2]
 \time 2/4 c8 c c c \time 6/8 c c c c8. c16  c8
 @end lilypond
 
 When these automatic decisions are not good enough, beaming can be
-entered explicitly. It is also possible to define  beaming patterns
+entered explicitly. It is also possible to define beaming patterns
 that differ from the defaults.
 
 Individual notes may be marked with @code{\noBeam}, to prevent them
@@ -1323,7 +1333,7 @@ from being beamed:
 
 @seealso
 
-Internals: @internalsref{Beam}. 
+Program reference: @internalsref{Beam}. 
 
 
 @cindex Automatic beams
@@ -1352,10 +1362,10 @@ point are marked with @code{[} and @code{]}:
 @cindex @code{stemLeftBeamCount}
 
 Normally, beaming patterns within a beam are determined automatically.
-When this mechanism fouls up, the properties
-@code{stemLeftBeamCount} and @code{stemRightBeamCount} can
-be used to control the beam subdivision on a stem.  If either property
-is set, its value will be used only once, and then it is erased:
+If necessary, the properties @code{stemLeftBeamCount} and
+@code{stemRightBeamCount} can be used to override the defaults.  If
+either property is set, its value will be used only once, and then it
+is erased:
 
 @lilypond[fragment,relative,verbatim]
   \context Staff {
@@ -1368,9 +1378,7 @@ is set, its value will be used only once, and then it is erased:
 
 The property @code{subdivideBeams} can be set in order to subdivide
 all 16th or shorter beams at beat positions, as defined by the
-@code{beatLength} property.  This accomplishes the same effect as
-twiddling with @code{stemLeftBeamCount} and @code{stemRightBeamCount},
-but it take less typing:
+@code{beatLength} property.
 
 
 @lilypond[relative=1,verbatim,noindent]
@@ -1402,7 +1410,8 @@ behavior can be changed by setting @code{allowBeamBreak}.
 
 @cindex Frenched staves
 
-Automatically kneed beams cannot be used together with hidden staves.
+Automatically kneed cross-staff beams cannot be used together with
+hidden staves.
 
 
 
@@ -1424,26 +1433,28 @@ or at durations specified by the properties in
 @code{autoBeamSettings}. The defaults for @code{autoBeamSettings}
 are defined in @file{scm/auto-beam.scm}.
 
-The value of @code{autoBeamSettings} is changed with two functions:
+The value of @code{autoBeamSettings} is changed with two functions,
 @example
   #(override-auto-beam-setting
      '(@var{be} @var{p} @var{q} @var{n} @var{m}) @var{a} @var{b}
      [@var{context}])
   #(revert-auto-beam-setting '(@var{be} @var{p} @var{q} @var{n} @var{m}))
 @end example
-Here, @var{be} is the symbol @code{begin} or @code{end}. It determines
-whether the rule applies to begin or end-points.  The quantity
-@var{p}/@var{q} refers to the length of the beamed notes (and `@code{*
-*}' designates notes of any length), @var{n}/@var{M} refers to a time
-signature (wildcards `@code{* *}' may be entered to designate all time
-signatures), @var{a}/@var{b} is a duration.  By default, this command
-changes settings for the current voice. It is also possible to adjust
-settings at higher contexts, by adding a @var{context} argument.
+Here, @var{be} is the symbol @code{begin} or @code{end}, and
+@var{context} is an optional context (default: @code{'Voice}). It
+determines whether the rule applies to begin or end-points.  The
+quantity @var{p}/@var{q} refers to the length of the beamed notes (and
+`@code{* *}' designates notes of any length), @var{n}/@var{M} refers
+to a time signature (wildcards `@code{* *}' may be entered to
+designate all time signatures), @var{a}/@var{b} is a duration.  By
+default, this command changes settings for the current voice. It is
+also possible to adjust settings at higher contexts, by adding a
+@var{context} argument.
 
 For example, if automatic beams should end on every quarter note, use
 the following:
 @example
-   #(override-auto-beam-setting '(end * * * *) 1 4)
+   #(override-auto-beam-setting '(end * * * *) 1 4 'Staff)
 @end example
 Since the duration of a quarter note is 1/4 of a whole note, it is
 entered as @code{(ly:make-moment 1 4)}.
@@ -1479,9 +1490,9 @@ accepting notes, this last beam will not be typeset at all.
 @cindex @code{autoBeaming}
 @cindex lyrics
 
-For melodies that have lyrics, you may want to switch off 
-automatic beaming. This is done by setting @code{autoBeaming} to
-@code{#f}. 
+If beams are used to indicate melismata in songs, then automatic
+beaming should be switched off. This is done by setting
+@code{autoBeaming} to @code{#f}.
 
 @refcommands
 
@@ -1519,17 +1530,7 @@ automatic beaming in irregular meters such as @code{5/8}.
 This section describes how to change the way that accidentals are
 inserted automatically before the running notes.
 
-
-@menu
-* Using the predefined accidental variables::  
-* Customized accidental rules::  
-@end menu
-
-@node Using the predefined accidental variables
-@subsection Using the predefined accidental variables
-
-
-Common rules for typesetting macros have been canned in a
+Common rules for typesetting accidentals have been canned in a
 function. This function is called as follows:
 
 @cindex @code{set-accidental-style}
@@ -1539,7 +1540,7 @@ function. This function is called as follows:
 
 The function takes two arguments: a symbol that denotes the style (in
 the example, @code{modern}), and another symbol that denotes the
-context name (in this example, @code{Staff}). If no context name is
+context name (in this example, @code{Voice}). If no context name is
 supplied, @code{Staff} is the default.
 
 The following styles are supported:
@@ -1601,14 +1602,14 @@ instead.
 
       @cindex @code{modern-voice}
 @item modern-voice
-is used for multivoice accidentals to be read both by musicians
+This rule is used for multivoice accidentals to be read both by musicians
 playing one voice and musicians playing all voices.  Accidentals are
 typeset for each voice, but they @emph{are} canceled across voices in
 the same @internalsref{Staff}.
 
       @cindex @code{modern-voice-cautionary}
 @item modern-voice-cautionary
-is the same as @code{modern-voice}, but with the extra
+This rule is the same as @code{modern-voice}, but with the extra
 accidentals (the ones not typeset by @code{voice}) typeset
 as cautionaries.  Even though all accidentals typeset by
 @code{default} @emph{are} typeset by this variable then
@@ -1616,7 +1617,7 @@ some of them are typeset as cautionaries.
 
 @item piano
       @cindex @code{piano} accidentals
-      20th century practice for piano notation. Very similar to
+This rule reflects      20th century practice for piano notation. Very similar to
       @code{modern} but accidentals also get canceled
       across the staves in the same @internalsref{GrandStaff} or
       @internalsref{PianoStaff}.
@@ -1628,7 +1629,8 @@ some of them are typeset as cautionaries.
 
 @item no-reset
       @cindex @code{no-reset} accidental style
-      Same as @code{default} but with accidentals lasting
+      @c
+      This is the same as @code{default} but with accidentals lasting
       ``forever'' and not only until the next measure:
 @lilypond[raggedright,fragment,verbatim,relative]
       #(set-accidental-style 'no-reset)
@@ -1647,75 +1649,27 @@ some of them are typeset as cautionaries.
 @end lilypond
 @end table
 
-@node Customized accidental rules
-@subsection Customized accidental rules
-
-For determining when to print an accidental, several different rules
-are tried.  The rule that gives the highest number of accidentals is
-used.  Each rule consists of
-@table @var
-@item context:
-      In which context is the rule applied. For example, if
-@var{context} is @internalsref{Score} then all staves share
-accidentals, and if @var{context} is @internalsref{Staff} then all
-voices in the same staff share accidentals, but staves do not.
-
-@item octavation:
-      Whether the accidental changes all octaves or only the current
-      octave. Valid choices are 
-
-     @table @samp
-      @item same-octave:
-      This is the default algorithm. Accidentals are typeset if the note changes
-      the accidental of that note in that octave. Accidentals lasts to the end of the measure 
-      and then as many measures as specified in the value. I.e. 1 means to the end
-      of next measure, -1 means to the end of previous measure (that is: no duration at all), etc. #t means forever.
-      @item any-octave:
-      Accidentals are typeset if the note is different from 
-      the previous note on the same pitch in any octave. The value has same meaning as in
-      same-octave.
-      @end table
-
-@item laziness
-
-                        Over how many bar lines the accidental lasts.
-                              If @var{laziness} is @code{-1} then the accidental is forget
-                        immediately, and if @var{laziness} is @code{#t} then the accidental
-                              lasts forever.
-@end table
-
 
 @seealso
 
-Internals: @internalsref{Accidental_engraver},
+Program reference: @internalsref{Accidental_engraver},
 @internalsref{Accidental}, and @internalsref{AccidentalPlacement}.
 
 
 @refbugs
 
-Currently the simultaneous notes are considered to be entered in
-sequential mode. This means that in a chord the accidentals are
-typeset as if the notes in the chord happened once at a time - in the
-order in which they appear in the input file.
+Simultaneous notes are considered to be entered in sequential
+mode. This means that in a chord the accidentals are typeset as if the
+notes in the chord happened once at a time - in the order in which
+they appear in the input file.
 
-This is only a problem when there are simultaneous notes whose
-accidentals depend on each other.  The problem only occurs when using
-non-default accidentals. In the default scheme, accidentals only
-depend on other accidentals with the same pitch on the same staff, so
-no conflicts possible.
+This is only a problem when accidentals in a chord depend on each
+other.  This problem can be solved by manually inserting @code{!} and
+@code{?}  for the problematic notes.
 
-This example shows two examples of the same music giving different
-accidentals depending on the order in which the notes occur in the
-input file:
-
-@lilypond[raggedright,fragment,verbatim]
-\set Staff.autoAccidentals = #'( Staff (any-octave . 0) )
-cis'4 <c'' c'> r2 | cis'4 <c' c''> r2
-| <cis' c''> r | <c'' cis'> r | 
-@end lilypond
-
-This problem can be solved by manually inserting @code{!} and @code{?}
-for the problematic notes.
+In the default scheme, accidentals only depend on other
+accidentals with the same pitch on the same staff, so no conflicts are
+possible.
 
 @node Expressive marks
 @section Expressive marks
@@ -1746,7 +1700,6 @@ for the problematic notes.
 
 A slur indicates that notes are to be played bound or @emph{legato}.
 
-@syntax
 
 They are entered using parentheses:
 @lilypond[relative=1,fragment,verbatim]
@@ -1761,15 +1714,15 @@ They are entered using parentheses:
 Slurs avoid crossing stems, and are generally attached to note heads.
 However, in some situations with beams, slurs may be attached to stem
 ends.  If you want to override this layout you can do this through the
-object property @code{attachment} of @internalsref{Slur} in
-@internalsref{Voice} context.  Its value is a pair of symbols, specifying
-the attachment type of the left and right end points:
+object property @code{attachment} of @internalsref{Slur}.  Its value
+is a pair of symbols, specifying the attachment type of the left and
+right end points:
 
 @lilypond[fragment,relative,verbatim]
   \slurUp
-  \override Stem   #'length = #5.5
+  \override Stem #'length = #5.5
   g'8(g g4)
-  \override Slur   #'attachment = #'(stem . stem)
+  \override Slur #'attachment = #'(stem . stem)
   g8( g g4)
 @end lilypond
 
@@ -1780,7 +1733,7 @@ stems might look better:
 @lilypond[fragment,relative,verbatim]
   \stemUp \slurUp
   d32( d'4 d8..)
-  \override Slur   #'attachment = #'(stem . stem)
+  \override Slur #'attachment = #'(stem . stem)
   d,32( d'4 d8..)
 @end lilypond
 
@@ -1800,12 +1753,12 @@ stems might look better:
 
 @seealso
 
-Internals: @seeinternals{Slur}, and @internalsref{SlurEvent}.
+Program reference: @seeinternals{Slur}, and @internalsref{SlurEvent}.
 
 
 @refbugs
 
-Producing nice slurs is a difficult problem, and LilyPond currently
+Producing nice slurs is a difficult problem, and LilyPond 
 uses a simple, empiric method to produce slurs. In some cases, its
 results are ugly.
 
@@ -1846,7 +1799,7 @@ will only affect normal slurs and not phrasing slurs.
 
 @seealso
 
-Internals: see also @internalsref{PhrasingSlur}, and
+Program reference: see also @internalsref{PhrasingSlur}, and
 @internalsref{PhrasingSlurEvent}.
 
 @refbugs
@@ -1864,12 +1817,12 @@ Breath marks are entered using @code{\breathe}:
 c'4 \breathe d4
 @end lilypond
 
-The glyph of the breath mark can be tweaked by overriding the
+The glyph of the breath mark can be tuned by overriding the
 @code{text} property of the @code{BreathingSign} layout object with
 any markup text.   For example,
 @lilypond[fragment,verbatim,relative]
 c'4
-\override BreathingSign   #'text
+\override BreathingSign #'text
  = #(make-musicglyph-markup "scripts-rvarcomma")
 \breathe
 d4
@@ -1877,7 +1830,7 @@ d4
 
 @seealso 
 
-Internals: @internalsref{BreathingSign},
+Program reference: @internalsref{BreathingSign},
 @internalsref{BreathingSignEvent}.
 
 Examples: @inputfileref{input/regression,breathing-sign.ly}.
@@ -1904,7 +1857,7 @@ paper output, a metronome marking is printed:
 
 @seealso
 
-Internals: @internalsref{MetronomeChangeEvent}.
+Program reference: @internalsref{MetronomeChangeEvent}.
   
 
 
@@ -1923,8 +1876,8 @@ properties:
 
 @lilypond[fragment,relative,verbatim]
  \relative c' {  c1 
-  \override TextSpanner   #'direction = #-1
-  \override TextSpanner   #'edge-text = #'("rall " . "")
+  \override TextSpanner #'direction = #-1
+  \override TextSpanner #'edge-text = #'("rall " . "")
   c2\startTextSpan b c\stopTextSpan a }
 @end lilypond
 
@@ -1957,14 +1910,14 @@ To use this, add the @internalsref{Horizontal_bracket_engraver} to
        c4\startGroup
         c4\stopGroup\stopGroup
   }
-  \paper { \translator {
+  \paper { \context {
            \StaffContext \consists "Horizontal_bracket_engraver"
        }}}
 @end lilypond
 
 @seealso
 
-Internals: @internalsref{HorizontalBracket},
+Program reference: @internalsref{HorizontalBracket},
 @internalsref{NoteGroupingEvent}.
 
 Examples: @inputfileref{input/regression,note-group-bracket.ly}. 
@@ -1985,7 +1938,7 @@ articulation. They are demonstrated here:
 
 @lilypondfile[]{script-abbreviations.ly}
 
-The meanings of these shorthands can be changed: see
+The meanings of these shorthands can be changed. See
 @file{ly/script-init.ly} for examples.
 
 
@@ -2050,7 +2003,7 @@ e.g.
 
 @seealso
 
-Internals: @internalsref{ScriptEvent}, and @internalsref{Script}.
+Program reference: @internalsref{ScriptEvent}, and @internalsref{Script}.
 
 @refbugs
 
@@ -2071,7 +2024,7 @@ For finger changes, use markup texts:
 @c
 @lilypond[verbatim,raggedright,fragment]
       c'4-1 c'4-2 c'4-3 c'4-4
-      c'^\markup { \fontsize #-3 \number "2-3" }
+      c'^\markup { \finger "2-3" }
 @end lilypond
 
 @cindex finger change
@@ -2083,8 +2036,7 @@ You can use the thumb-script to indicate that a note should be
 played with the thumb (e.g. in cello music):
 
 @lilypond[verbatim,raggedright,fragment]
-      <a' a''-3>8(_\thumb <b' b''-3>)_\thumb
-      <c'' c'''-3>(_\thumb <d'' d'''-3>)_\thumb
+      <a' a''-3>8_\thumb <b' b''-3>_\thumb
 @end lilypond
 
 Fingerings for chords can also be added to individual notes
@@ -2102,14 +2054,16 @@ to note heads:
        <c-1 es-2 g-4 bes-5 > 4
        \set fingeringOrientations = #'(up right down)
        <c-1 es-2 g-4 bes-5 > 4
+       \set fingeringOrientations = #'(right)
+       <es-2>4
 @end lilypond
 
-By using single note chords,  fingering instructions can be put close
-to note heads in monophonic music.
+The last note demonstrates how fingering instructions can be put close
+to note heads in monophonic music, using this feature.
         
 @seealso
 
-Internals: @internalsref{FingerEvent}, and @internalsref{Fingering}.
+Program reference: @internalsref{FingerEvent}, and @internalsref{Fingering}.
 
 Examples: @inputfileref{input/regression,finger-chords.ly}.
 
@@ -2145,7 +2099,7 @@ longer be computed.
 
 In this manual: @ref{Text markup}.
 
-Internals: @internalsref{TextScriptEvent}, @internalsref{TextScript}.
+Program reference: @internalsref{TextScriptEvent}, @internalsref{TextScript}.
 
 
 
@@ -2247,7 +2201,7 @@ for example,
 @lilypond[fragment,verbatim,relative=1]
 \new Voice {
     \acciaccatura {
-      \override Stem   #'direction = #-1
+      \override Stem #'direction = #-1
       f16->
       \revert Stem #'direction
     }
@@ -2260,9 +2214,8 @@ The overrides should also be reverted inside the grace section.
 
 If the layout of grace sections must be changed throughout the music,
 then this can be accomplished through the function
-@code{add-grace-property}. The following example
-undefines the Stem direction  grace section, so stems do not always
-point up.
+@code{add-grace-property}. The following example undefines the Stem
+direction for this grace, so stems do not always point up.
 
 @example
   \new Staff @{
@@ -2281,7 +2234,7 @@ Another option is to change the variables @code{startGraceMusic},
 
 @seealso
 
-Internals: @internalsref{GraceMusic}.
+Program reference: @internalsref{GraceMusic}.
 
 @refbugs
 
@@ -2295,9 +2248,16 @@ care when you mix staves with grace notes and staves without, for example,
 
 @lilypond[relative=2,verbatim,fragment]
 << \new Staff { e4 \bar "|:" \grace c16 d4 }
-  \new Staff { c4 \bar "|:"  d4 } >>
+   \new Staff { c4  \bar "|:"  d4 } >>
 @end lilypond
 
+@noindent
+This can be remedied by inserting grace skips, for the above example
+
+@verbatim
+   \new Staff { c4  \bar "|:"  \grace s16 d4 } >>
+@end verbatim
+
 Grace sections should only be used within sequential music
 expressions.  Nesting or juxtaposing grace sections is not supported,
 and might produce crashes or other errors.
@@ -2312,7 +2272,6 @@ and might produce crashes or other errors.
 A glissando is a smooth change in pitch. It is denoted by a line or a
 wavy line between two notes.
 
-@syntax
 
 A glissando line can be requested by attaching a @code{\glissando} to
 a note:
@@ -2323,12 +2282,15 @@ a note:
 
 @seealso
 
-Internals: @internalsref{Glissando}, and @internalsref{GlissandoEvent}.
+Program reference: @internalsref{Glissando}, and @internalsref{GlissandoEvent}.
+
+Example files: @file{input/regression,glissando.ly}
 
 
 @refbugs
 
-Adding additional texts (such as @emph{gliss.}) is not supported.
+Printing text over the line (such as @emph{gliss.}) is not supported.
 
 
 @node Dynamics
@@ -2366,10 +2328,6 @@ Absolute dynamic marks are specified using a command after a note:
   c2\sf c\rfz
 @end lilypond
 
-@cindex @code{\cr}
-@cindex @code{\rc}
-@cindex @code{\decr}
-@cindex @code{\rced}
 @cindex @code{\<}
 @cindex @code{\>}
 @cindex @code{\"!}
@@ -2382,7 +2340,7 @@ with @code{\!}.  Because these marks are bound to notes, if you must
 use spacer notes if multiple marks during one note are needed:
 
 @lilypond[fragment,verbatim]
-  c''\< c''\!   d''\decr e''\rced 
+  c''\< c''\!   d''\> e''\! 
   << f''1 { s4 s4\< s4\! \>  s4\! } >>
 @end lilypond
 This may give rise to very short hairpins. Use @code{minimum-length}
@@ -2390,14 +2348,17 @@ in @internalsref{Voice}.@internalsref{Hairpin} to lengthen them, for
 example:
 
 @example
- \override Staff.Hairpin   #'minimum-length = #5
+ \override Staff.Hairpin #'minimum-length = #5
 @end example
 
 You can also use a text saying @emph{cresc.} instead of hairpins. Here
 is an example how to do it:
 
 @lilypond[fragment,relative=2,verbatim]
-  c4 \cresc c4 c c c \endcresc c4
+  \setTextCresc
+  c \< d e f\!
+  \setHairpinCresc
+  e\> d c b\!
 @end lilypond
 
 @cindex crescendo
@@ -2428,15 +2389,13 @@ You can also supply your own texts:
 
 @seealso
 
-Internals: @internalsref{CrescendoEvent}, @internalsref{DecrescendoEvent}, and
+Program reference: @internalsref{CrescendoEvent},
+@internalsref{DecrescendoEvent}, and
 @internalsref{AbsoluteDynamicEvent}.
 
-Dynamics are objects of @internalsref{DynamicText} and
-@internalsref{Hairpin}. Vertical positioning of these symbols is
-handled by the @internalsref{DynamicLineSpanner} object.
-
-If you want to adjust padding or vertical direction of the dynamics, you 
-must set properties for the @internalsref{DynamicLineSpanner} object.
+Dynamics @internalsref{DynamicText} and @internalsref{Hairpin}
+objects. Vertical positioning of these symbols is handled by the
+@internalsref{DynamicLineSpanner} object.
 
 
 @node Repeats
@@ -2491,7 +2450,6 @@ Make beat or measure repeats. These look like percent signs.
 @node Repeat syntax
 @subsection Repeat syntax
 
-@syntax
 
 LilyPond has one syntactic construct for specifying different types of
 repeats.  The syntax is
@@ -2536,7 +2494,7 @@ With alternative endings:
 
 @refbugs
 
-If you do a nested repeat like
+A nested repeat like
 
 @example 
 \repeat @dots{}
@@ -2545,10 +2503,10 @@ If you do a nested repeat like
 @end example 
 
 @noindent
-then it is ambiguous to which @code{\repeat} the @code{\alternative}
-belongs. This ambiguity is resolved by always having the
-@code{\alternative} belong to the inner @code{\repeat}.  For clarity,
-it is advisable to use braces in such situations.
+is ambiguous, since it is is not clear to which @code{\repeat} the
+@code{\alternative} belongs. This ambiguity is resolved by always
+having the @code{\alternative} belong to the inner @code{\repeat}.
+For clarity, it is advisable to use braces in such situations.
 @cindex ambiguity
 
 @node Repeats and MIDI
@@ -2556,7 +2514,7 @@ it is advisable to use braces in such situations.
 
 @cindex expanding repeats
 
-For instructions on how to unfold repeats for MIDI output, see the
+For instructions on how to expand repeats for MIDI output, see the
 example file @inputfileref{input/test,unfold-all-repeats.ly}.
 
 
@@ -2602,7 +2560,7 @@ alphabetic characters. Or,
 
 @seealso
 
-Internals: @internalsref{VoltaBracket}, @internalsref{RepeatedMusic},
+Program reference: @internalsref{VoltaBracket}, @internalsref{RepeatedMusic},
 @internalsref{VoltaRepeatedMusic},
 @internalsref{UnfoldedRepeatedMusic}, and
 @internalsref{FoldedRepeatedMusic}.
@@ -2626,7 +2584,7 @@ style:
 Tremolo marks can also be put on a single note.  In this case, the
 note should not be surrounded by braces.
 @lilypond[verbatim,raggedright]
-    \repeat "tremolo" 4 c16
+    \repeat "tremolo" 4 c'16
 @end lilypond
 
 A similar mechanism  is the tremolo subdivision, described in
@@ -2636,7 +2594,7 @@ A similar mechanism  is the tremolo subdivision, described in
 
 In this manual: @ref{Tremolo subdivisions}, @ref{Repeats}.
 
-Internals: tremolo beams are @internalsref{Beam} objects. Single stem
+Program reference: tremolo beams are @internalsref{Beam} objects. Single stem
 tremolos are @internalsref{StemTremolo} objects.  The music expression is
 @internalsref{TremoloEvent}.
 
@@ -2662,7 +2620,7 @@ length is omitted, then then the last value (stored in
 
 @refbugs
 
-Tremolos in this style do not carry over into the MIDI output.
+Tremolos entered in this way do not carry over into the MIDI output.
 
 @seealso
 
@@ -2689,7 +2647,7 @@ patterns that divide the measure length are replaced by slashes:
 
 @seealso
 
-Internals: @internalsref{RepeatSlash}, @internalsref{PercentRepeat},
+Program reference: @internalsref{RepeatSlash}, @internalsref{PercentRepeat},
 @internalsref{PercentRepeatedMusic}, and
 @internalsref{DoublePercentRepeat}.
 
@@ -2722,7 +2680,7 @@ staff are squashed, and the staff itself has a single line:
 
 @seealso
 
-Internals: @internalsref{RhythmicStaff}.
+Program reference: @internalsref{RhythmicStaff}.
 
 Examples: @inputfileref{input/regression,rhythmic-staff.ly}.
 
@@ -2733,14 +2691,17 @@ Examples: @inputfileref{input/regression,rhythmic-staff.ly}.
 @cindex percussion
 @cindex drums
 
-@syntax
 
 Percussion notes may be entered in @code{\drums} mode, which is
 similar to @code{notes}.  Each piece of percussion has a full name and
 an abbreviated name, and both be used in input files:
 
+@example
+  hihat hh bassdrum bd
+@end example
 @lilypond[raggedright]
- \drums { hihat4 hh4 }
+        \new DrumStaff \drums {   hihat hh bassdrum bd
+ }
 @end lilypond
 
 The complete list of drum names is in the init file
@@ -2749,7 +2710,7 @@ The complete list of drum names is in the init file
 
 @seealso
 
-Internals: @internalsref{DrumNoteEvent}.
+Program reference: @internalsref{DrumNoteEvent}.
 
 @node Percussion staves
 @subsection Percussion staves
@@ -2779,7 +2740,7 @@ The above example shows verbose polyphonic notation. The short
 polyphonic notation, described in @ref{Polyphony}, can also be used if
 the @internalsref{DrumVoices} are instantiated by hand first. For example, 
 
-@lilypond[fragment] 
+@lilypond[fragment,verbatim
 \drums \new DrumStaff <<
   \context DrumVoice = "1" {  s1 *2 }
   \context DrumVoice = "2" {  s1 *2 }
@@ -2821,7 +2782,8 @@ mus = \drums  { cymc cyms cymr hh | hhc hho hhho hhp | \break cb hc
     \paper {
     %% need to do this, because of indented @itemize
     linewidth= 9 \cm 
-    \translator { \ScoreContext
+    \context { \ScoreContext
+    \override LyricText #'font-family = #'typewriter
     \override BarNumber #'transparent =##T
 }}}
 @end lilypond
@@ -2849,7 +2811,10 @@ mus = \drums  { timh ssh timl ssl cb s16 }
             minimumVerticalExtent = #'(-3.0 . 4.0)
             drumStyleTable = #timbales-style
         } \mus
-        \context Lyrics \nam 
+        \context Lyrics {
+            \override LyricText #'font-family = #'typewriter
+
+        \nam  }
     >>
 }
 @end lilypond
@@ -2872,7 +2837,9 @@ mus = \drums  { cgh cgho cghm ssh cgl cglo cglm ssl s16 }
             \override Stem #'transparent = ##t
             \override Stem #'Y-extent-callback = ##f
         } \mus
-        \context Lyrics \nam 
+        \context Lyrics {
+                    \override LyricText #'font-family = #'typewriter
+\nam  }
     >>
 }
 @end lilypond
@@ -2895,7 +2862,9 @@ mus = \drums  { boh boho bohm ssh bol bolo bolm ssl s16 }
             \override Stem #'transparent = ##t
             \override Stem #'Y-extent-callback = ##f
         } \mus
-        \context Lyrics \nam 
+        \context Lyrics {
+                    \override LyricText #'font-family = #'typewriter
+\nam  }
     >>
 }
 @end lilypond
@@ -2915,7 +2884,10 @@ mus = \drums  { tri trio trim gui guis guil cb cl tamb cab mar hc s16 }
             \override Stem #'transparent = ##t
             \override Stem #'Y-extent-callback = ##f
         } \mus
-        \context Lyrics \nam 
+        \context Lyrics {
+        \nam
+                    \override LyricText #'font-family = #'typewriter
+}
     >>
 }
 @end lilypond
@@ -2949,13 +2921,10 @@ down = \drums { bd4 sn bd toml8 toml }
 
 Init files: @file{ly/drumpitch-init.ly}.
 
-Internals: @internalsref{DrumStaff}, @internalsref{DrumVoice}.
+Program reference: @internalsref{DrumStaff}, @internalsref{DrumVoice}.
 
 @refbugs
 
-Short polyphonic notation, @code{<< @dots{} \\ @dots{} >>}, does not
-work for @internalsref{DrumVoices}.
-
 Because general MIDI does not contain rim shots, the sidestick is used
 for this purpose instead.
 
@@ -3038,7 +3007,7 @@ terminating too soon.
 
 In this manual: @ref{Manual staff switches}.
 
-Internals: @internalsref{AutoChangeMusic}.
+Program reference: @internalsref{AutoChangeMusic}.
 
 
 
@@ -3075,7 +3044,6 @@ current voice from its current staff to the Staff called
 Pianos have pedals that alter the way sound are produced. Generally, a
 piano has three pedals, sustain, una corda, and sostenuto.
 
-@syntax
 
 Piano pedal instruction can be expressed by attaching
 @code{\sustainDown}, @code{\sustainUp}, @code{\unaCorda},
@@ -3088,36 +3056,37 @@ note or chord:
 
 What is printed can be modified by setting @code{pedal@var{X}Strings},
 where @var{X} is one of the pedal types: @code{Sustain},
-@code{Sostenuto} or @code{UnaCorda}.  Refer to the generated
-documentation of @internalsref{SustainPedal} for more information.
+@code{Sostenuto} or @code{UnaCorda}.  Refer to
+@internalsref{SustainPedal} in the program reference for more
+information.
 
 Pedals can also be indicated by a sequence of brackets, by setting the 
 @code{pedalSustainStyle} property to @code{bracket} objects: 
 
-@lilypond[fragment,verbatim]
+@lilypond[fragment,verbatim,relative=2]
  \set Staff.pedalSustainStyle = #'bracket
- c''4\sustainDown d''4 e''4
a'4\sustainUp\sustainDown
- f'4 g'4 a'4\sustainUp
+ c\sustainDown d e
b\sustainUp\sustainDown
+ b g \sustainUp a \sustainDown \bar "|."
 @end lilypond
 
 A third style of pedal notation is a mixture of text and brackets,
 obtained by setting the @code{pedalSustainStyle} style property to
 @code{mixed}:
 
-@lilypond[fragment,verbatim]
+@lilypond[fragment,verbatim,relative=2]
  \set Staff.pedalSustainStyle = #'mixed
-c''4\sustainDown d''4 e''4
-c'4\sustainUp\sustainDown
- f'4 g'4 a'4\sustainUp
+ c\sustainDown d e
+ b\sustainUp\sustainDown
+ b g \sustainUp a \sustainDown \bar "|."
 @end lilypond
 
 The default `*Ped.' style for sustain and damper pedals corresponds to
 style @code{#'text}. The sostenuto pedal uses @code{mixed} style by
 default.
 
-@lilypond[fragment,verbatim]
-c''4\sostenutoDown d''4 e''4 c'4 f'4 g'4 a'4\sostenutoUp
+@lilypond[fragment,verbatim,relative=2]
+  c\sostenutoDown d e c, f g a\sostenutoUp
 @end lilypond
 
 For fine-tuning of the appearance of a pedal bracket, the properties
@@ -3129,8 +3098,7 @@ bracket may be extended to the end of the note head:
 @lilypond[fragment,verbatim]
 \override Staff.PianoPedalBracket  
    #'shorten-pair = #'(0 . -1.0)
-c''4\sostenutoDown d''4 e''4 c'4
-f'4 g'4 a'4\sostenutoUp
+  c\sostenutoDown d e c, f g a\sostenutoUp
 @end lilypond
 
 @node Arpeggio
@@ -3195,7 +3163,7 @@ arpeggiate the chord:
 
 @seealso
 
-Internals: @internalsref{ArpeggioEvent} music expressions lead to
+Program reference: @internalsref{ArpeggioEvent} music expressions lead to
 @internalsref{Arpeggio} objects.  Cross staff arpeggios are
 @internalsref{PianoStaff}.@internalsref{Arpeggio}.
 
@@ -3230,6 +3198,8 @@ can be printed automatically. This is enabled if the property
   >>  
 @end lilypond
 
+@seealso
+
 The associated object is @internalsref{VoiceFollower}.
 
 @refcommands
@@ -3288,7 +3258,7 @@ Similarly, a period following a alphabetic sequence, is included in
 the resulting string. As a consequence, spaces must be inserted around
 property commands:
 @example
-  \override Score . LyricText   #'font-shape = #'italic
+  \override Score . LyricText #'font-shape = #'italic
 @end example
 
 @cindex @code{_}
@@ -3305,17 +3275,10 @@ specify words that cannot be written with the above rules:
 @end example
 
 @cindex hyphens
-Hyphens can be entered as ordinary hyphens at the end of a syllable, i.e.
-@example
-        soft- ware
-@end example
-
-These will be attached to the end of the first syllable.
 
-Centered hyphens are entered using the special `@code{-}@code{-}' lyric
-as a separate word between syllables.  The hyphen will have variable
-length depending on the space between the syllables and it will be
-centered between the syllables.
+Centered hyphens are entered as `@code{-}@code{-}' between syllables.
+The hyphen will have variable length depending on the space between
+the syllables and it will be centered between the syllables.
 
 @cindex melisma
 @cindex extender
@@ -3327,8 +3290,10 @@ next one. Such a line is called an extender line, and it is entered as
 
 @seealso
 
-Internals: @internalsref{LyricEvent}, @internalsref{HyphenEvent}, and
-@internalsref{ExtenderEvent}.
+Program reference: events @internalsref{LyricEvent},
+@internalsref{HyphenEvent}, and @internalsref{ExtenderEvent}. Objects:
+@internalsref{LyricHyphen}, @internalsref{LyricExtender} and
+@internalsref{LyricText}.
 
 Examples: @inputfileref{input/test,lyric-hyphen-retain.ly}.
 
@@ -3377,7 +3342,8 @@ hierarchy of staves and lyrics first, e.g.
 @end example
 and then combine the appropriate melodies and lyric lines:
 @example
-  \lyricsto "soprano" \new Lyrics @emph{the lyrics}
+  \lyricsto "soprano" \context Lyrics = sopranoLyrics
+     @emph{the lyrics}
 @end example
 
 @noindent
@@ -3412,9 +3378,10 @@ an unslurred group of notes to be a melisma, then insert
 
 In addition, notes are considered a melisma if they are manually
 beamed, and automatic beaming (see @ref{Setting automatic beam
-behavior}) is switched off.  The criteria for deciding melismata
-can be tuned with the property @code{melismaBusyProperties}. See
-@internalsref{Melisma_translator} for more information.
+behavior}) is switched off.  The criteria for deciding melismata can
+be tuned with the property @code{melismaBusyProperties}. See
+@internalsref{Melisma_translator} in the program reference for more
+information.
 
 When multiple stanzas are put on the same melody, it can happen that
 two stanzas have melismata in different locations. This can be
@@ -3438,7 +3405,7 @@ A complete example of a SATB score setup is in the file
 
 @seealso
 
-Internals: Music expressions: @internalsref{LyricCombineMusic},
+Program reference: Music expressions: @internalsref{LyricCombineMusic},
 Contexts: @internalsref{Lyrics}, @internalsref{Melisma_translator}.
 
 Examples: @inputfileref{input/template,satb.ly},
@@ -3480,7 +3447,7 @@ that identity followed by a dash.  In the preceding example, the
 @internalsref{Lyrics}s are marked @code{duet-1} and @code{duet-2}:
 @example
   \context Lyrics = "duet-1" @{
-    Hi, my name is bert. @}
+    Hi, my name is Bert. @}
   \context Lyrics = "duet-2" @{
     Ooooo, ch\'e -- ri, je t'aime. @}
 @end example
@@ -3491,11 +3458,9 @@ The complete example is shown here:
   << \notes \relative c'' \context Voice = duet { \time 3/4
      g2 e4 a2 f4 g2.  }
   \lyrics << \lyricsto "duet" \new Lyrics {
-    \set stanza = "B."
     \set vocNam = "Bert"
-    Hi, my name is bert. }
+    Hi, my name is Bert. }
   \lyricsto "duet" \new Lyrics {
-    \set stanza = "E." 
     \set vocNam = "Ernie"
     Ooooo, ch\'e -- ri, je t'aime.
     }
@@ -3509,15 +3474,15 @@ The complete example is shown here:
 
 Stanza numbers can be added by setting @code{stanza}, e.g.
 
-@example
-    \set stanza = "B."
-    @dots{}
-    \set stanza = "E." 
-@end example
-
-Notice how dots are surrounded with spaces in @code{\lyrics} mode, to
-prevent @code{stanza} being interpreted as a single
-string.
+@lilypond
+<< \context Voice = duet { \time 3/4
+     g2 e4 a2 f4 g2.  }
+   \lyrics \lyricsto "duet" \new Lyrics {
+       \set vocNam = "1. "
+       Hi, my name is Bert.
+   }
+>>
+@end lilypond
 
 This example also demonstrates how names of the singers can be added
 using @code{vocalName} analogous to instrument annotations for staves.
@@ -3528,7 +3493,7 @@ To make empty spaces in lyrics, use @code{\skip}.
 
 @seealso
 
-Internals: Layout objects @internalsref{LyricText} and
+Program reference: Layout objects @internalsref{LyricText} and
 @internalsref{VocalName}.  Music expressions:
 @internalsref{LyricEvent}.
 
@@ -3556,33 +3521,21 @@ making or a music identifier @code{\foo} containing the syllable
 @subsection Ambitus
 @cindex ambitus
 
-The term @emph{ambitus} (plural: ambituses) denotes a range of pitches
-for a given voice in a part of music.  It also may denote the pitch
-range that a musical instrument is capable of playing.  Most musical
-instruments have their ambitus standardized (or at least there is
-agreement upon the minimal ambitus of a particular type of
-instrument), such that a composer or arranger of a piece of music can
-easily meet the ambitus constraints of the targeted instrument.
-However, the ambitus of the human voice depends on individual
-physiological state, including education and training of the voice.
-Therefore, a singer potentially has to check for each piece of music
-if the ambitus of that piece meets his individual capabilities.  This
-is why the ambitus of a piece may be of particular value to vocal
-performers.
-
-The ambitus is typically notated on a per-voice basis at the very
-beginning of a piece, e.g. nearby the initial clef or time signature of
-each staff.  The range is graphically specified by two note heads, that
-represent the minimum and maximum pitch.  Some publishers use a textual
-notation: they put the range in words in front of the corresponding
-staff.  LilyPond only supports the graphical ambitus notation.
-
-To apply, add the @internalsref{Ambitus_engraver} to the
-@internalsref{Voice} context, i.e.
+The term @emph{ambitus} denotes a range of pitches for a given voice
+in a part of music.  It also may denote the pitch range that a musical
+instrument is capable of playing.  Ambituses are printed on vocal
+parts, so singers can easily determine if it meets his or her
+capabilities.
+
+It denoted at the beginning of a piece near the initial clef.  The
+range is graphically specified by two note heads, that represent the
+minimum and maximum pitch.  To print such ambituses, add the
+@internalsref{Ambitus_engraver} to the @internalsref{Voice} context,
+for example,
 
 @example
   \paper @{
-    \translator @{
+    \context @{
       \VoiceContext
       \consists Ambitus_engraver
     @}
@@ -3592,25 +3545,18 @@ To apply, add the @internalsref{Ambitus_engraver} to the
 This results in the following output:
 
 @lilypond[raggedright]
-upper = \notes \relative c {
-  \clef "treble"
-  \key c \minor
-  as'' c e2 bes f cis d4 e f2 g
-}
-lower = \notes \relative c {
-  \clef "treble"
-  \key e \major
-  e'4 b g a c es fis a cis b a g f e d2
-}
 \score {
-  \context ChoirStaff {
-    <<
-      \new Staff { \upper }
-      \new Staff { \lower }
-    >>
-  }
+  \context ChoirStaff 
+  \notes \relative c'' <<
+    \new staff {
+      as'' c e2 cis,2
+    }
+    \new Staff  {
+      es4 b c f as g
+    }
+  >>
   \paper {
-    \translator {
+    \context {
       \StaffContext
       \consists Ambitus_engraver
     }
@@ -3629,7 +3575,7 @@ example is in @inputfileref{input/test,ambitus-mixed.ly}.
 
 @seealso
 
-Internals: @internalsref{Ambitus}.
+Program reference: @internalsref{Ambitus}.
 
 Examples:  @inputfileref{input/regression,ambitus.ly},
 @inputfileref{input/test,ambitus-mixed.ly}.
@@ -3678,16 +3624,16 @@ value for @code{minimumFret} is 0:
 
 
 @example
-e8 fis gis a b cis' dis' e'
+e16 fis gis a b4
 \set TabStaff.minimumFret = #8
-e8 fis gis a b cis' dis' e'
+e16 fis gis a b4
 @end example
-@lilypond[noindent]
+@lilypond[noindent,raggedright]
 frag = \notes {
     \key e \major
-    e8 fis gis a b cis' dis' e'
+    e16 fis gis a b4
     \set TabStaff.minimumFret = #8
-    e8 fis gis a b cis' dis' e'
+    e16 fis gis a b4
 }
 \score {
   \context StaffGroup <<
@@ -3699,7 +3645,7 @@ frag = \notes {
 
 @seealso
 
-Internals: @internalsref{TabStaff}, @internalsref{TabVoice}, and
+Program reference: @internalsref{TabStaff}, @internalsref{TabVoice}, and
 @internalsref{StringNumberEvent}.
 
 @refbugs
@@ -3734,16 +3680,13 @@ g:
   >> 
 @end lilypond
 
-It is possible to change the Scheme function to format the tablature
-note text. The default is @code{fret-number-tablature-format}, which
-uses the fret number. For instruments that do not use this notation,
-you can create a special tablature formatting function. This function
-takes three argument: string number, string tuning and note pitch.
-
 @refbugs
 
 No guitar special effects have been implemented.
 
+@seealso
+
+Program reference: @internalsref{Tab_note_heads_engraver}.
 
 
 @node Chord names
@@ -4071,12 +4014,16 @@ some common problems in orchestral music.
 Polyphonic scores consist of many staves. These staves can be
 constructed in three different ways:
 @itemize @bullet
-@item The group is started with a brace at the left. This is done with the
-@internalsref{GrandStaff} context.
-@item The group is started with a bracket. This is done with the
+@item The group is started with a brace at the left, and bar lines are
+connected. This is done with the @internalsref{GrandStaff} context.
+
+@item The group is started with a bracket, and bar lines are connected. This is done with the
 @internalsref{StaffGroup} context
-@item The group is  started with a vertical line. This is the default
-for the score.
+
+
+@item The group is  started with a vertical line. Bar lines are not
+connected.  This is the default for the score.
+
 @end itemize
 
 @cindex Staff, multiple
@@ -4150,9 +4097,9 @@ to access the appropriate symbol:
   c1
 @end lilypond
 
-In this case, during line breaks, marks must also be printed at the
-end of the line, and not at the beginning. Use the following to force
-that behavior:
+In the case of a line break, marks must also be printed at the end of
+the line, and not at the beginning. Use the following to force that
+behavior:
 @example
 \override Score.RehearsalMark  
   #'break-visibility = #begin-of-line-invisible
@@ -4165,7 +4112,7 @@ that behavior:
 
 @seealso
 
-Internals: @internalsref{MarkEvent}, @internalsref{RehearsalMark}.
+Program reference: @internalsref{MarkEvent}, @internalsref{RehearsalMark}.
 
 Init files: @file{scm/translation-functions.scm} contains the
 definition of @code{format-mark-numbers} and
@@ -4199,7 +4146,7 @@ whose source is available as
 
 @seealso
 
-Internals: @internalsref{BarNumber}.
+Program reference: @internalsref{BarNumber}.
 
 Examples: @inputfileref{input/test,bar-number-every-five-reset.ly},
 and @inputfileref{input/test,bar-number-regular-interval.ly}.
@@ -4220,16 +4167,20 @@ staves.
 This can be achieved by setting @internalsref{Staff}.@code{instrument}
 and @internalsref{Staff}.@code{instr}. This will print a string before
 the start of the staff. For the first start, @code{instrument} is
-used, for the next ones @code{instr} is used:
+used, for the next ones @code{instr} is used.
 
 @quotation
-@lilypond[verbatim,raggedright]
-  \set Staff.instrument = "ploink " { c''4 }  
+@lilypond[verbatim,raggedright,relative=2]
+  \set Staff.instrument = "Ploink "
+  \set Staff.instr = "Plk "
+  c1
+  \break
+  c''
 @end lilypond
 @end quotation
 
 You can also use markup texts to construct more complicated instrument
-names:
+names, for example
 
 @quotation
 @lilypond[fragment,verbatim,raggedright]
@@ -4248,7 +4199,7 @@ names:
 
 @seealso
 
-Internals: @internalsref{InstrumentName}.
+Program reference: @internalsref{InstrumentName}.
 
 @refbugs
 
@@ -4288,7 +4239,7 @@ transposition will produce the appropriate part
   \transpose a c @dots{}
 @end example   
 
-Since @var{from} and @var{to} are pitches, @code{\transpose} must be
+Since @var{from} and @var{to} are pitches, so @code{\transpose} must be
 inside a @code{\notes} section.  @code{\transpose} distinguishes
 between enharmonic pitches: both @code{\transpose c cis} or
 @code{\transpose c des} will transpose up half a tone.  The first
@@ -4307,7 +4258,7 @@ mus =\notes { \key d \major cis d fis g }
 
 @seealso
 
-Internals: @internalsref{TransposedMusic}, and
+Program reference: @internalsref{TransposedMusic}, and
 @internalsref{UntransposableMusic}.
 
 @refbugs
@@ -4324,7 +4275,6 @@ The key of a transposing instrument can also be specified.  This
 applies to many wind instruments, for example, clarinets (B-flat, A and
 E-flat), horn (F) and trumpet (B-flat, C, D and E-flat).
 
-@syntax
 
 The transposition is entered after the keyword @code{\transposition}:
 
@@ -4405,7 +4355,7 @@ attach the text to a zero-length skip note, i.e.
 
 @seealso
 
-Internals: @internalsref{MultiMeasureRestEvent},
+Program reference: @internalsref{MultiMeasureRestEvent},
 @internalsref{MultiMeasureTextEvent},
 @internalsref{MultiMeasureRestMusicGroup}, and
 @internalsref{MultiMeasureRest}.
@@ -4446,7 +4396,6 @@ places where the two parts differ, they are typeset as separate
 voices, and stem directions are set automatically.  Also, solo and
 @emph{a due} parts are identified and can be marked.
 
-@syntax
 
 The syntax for part combining is
 
@@ -4463,10 +4412,10 @@ polyphony:
 @lilypond[verbatim,raggedright,fragment,relative=1]
   \new Staff \partcombine 
       {
-        g a( b) r
+        g g a( b) c c r r
       }
       {
-        g r4 r f
+        g g r4 r  e e g g 
       }
 @end lilypond
 
@@ -4494,7 +4443,7 @@ may set the property @var{soloADue} to false:
 
 @seealso
 
-Internals: @internalsref{PartCombineMusic},
+Program reference: @internalsref{PartCombineMusic},
 @internalsref{SoloOneEvent}, and
 @internalsref{SoloTwoEvent}, and
 @internalsref{UnisonoEvent}.
@@ -4541,14 +4490,14 @@ in this example disappears in the second line:
   >>
   \paper {
     linewidth = 6.\cm 
-    \translator { \RemoveEmptyStaffContext }
+    \context { \RemoveEmptyStaffContext }
   }
 }
 @end lilypond
 
-The first page shows all staves in full. If they should be  removed
-from  the first page too, set @code{remove-first} to false
-in @internalsref{RemoveEmptyVerticalGroup}.
+The first page shows all staves in full. If empty staves should be
+removed from the first page too, set @code{remove-first} to false in
+@internalsref{RemoveEmptyVerticalGroup}.
 
 Another application is making ossia sections, i.e. alternative
 melodies on a separate piece of staff, with help of a Frenched
@@ -4678,7 +4627,7 @@ In this manual: @ref{Instrument transpositions}.
 Examples: @inputfileref{input/regression,quote.ly}
 @inputfileref{input/regression,quote-transposition.ly}
 
-Internals: @internalsref{QuoteMusic}.
+Program reference: @internalsref{QuoteMusic}.
 
 @node Ancient notation
 @section Ancient notation
@@ -4689,13 +4638,9 @@ Internals: @internalsref{QuoteMusic}.
 @cindex Petrucci
 @cindex mensural
 
-@c [TODO: write more comprehensive introduction on ancient notation]
-
-Support for ancient notation is still under heavy development.
-Regardless of all of the current limitations (see the bugs section
-below for details), it includes features for mensural
-notation and Gregorian Chant notation.  There is also limited support
-for figured bass notation.
+Support for ancient notation includes features for mensural notation
+and Gregorian Chant notation.  There is also limited support for
+figured bass notation.
 
 Many graphical objects provide a @code{style} property, see
 @ref{Ancient note heads}, @ref{Ancient accidentals}, @ref{Ancient
@@ -4705,7 +4650,6 @@ appearance of the affected graphical objects can be accommodated for a
 specific notation flavor without need for introducing any new
 notational concept.
 
-
 Other aspects of ancient notation can not that easily be expressed as
 in terms of just changing a style property of a graphical object.
 Therefore, some notational concepts are introduced specifically for
@@ -4752,7 +4696,6 @@ Augmentum dots within ligatures are  not handled correctly.
 
 @cindex note heads
 
-@syntax
 
 For ancient notation, a note head style other than the @code{default}
 style may be chosen.  This is accomplished by setting the @code{style}
@@ -4770,7 +4713,7 @@ printings of the 16th century.
 The following example demonstrates the @code{neo_mensural} style:
 
 @lilypond[fragment,raggedright,verbatim]
-  \override NoteHead   #'style = #'neo_mensural
+  \override NoteHead #'style = #'neo_mensural
   a'\longa a'\breve a'1 a'2 a'4 a'8 a'16
 @end lilypond
 
@@ -4797,7 +4740,6 @@ overview over all available note head styles.
 
 @cindex accidentals
 
-@syntax
 
 Use the @code{style} property of grob @internalsref{Accidental} to
 select ancient accidentals.   Supported styles are
@@ -4832,11 +4774,11 @@ select ancient accidentals.   Supported styles are
     \paper {
         raggedright = ##t 
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator{
+        \context{
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -4864,7 +4806,7 @@ In this manual: @ref{Pitches}, @ref{Chromatic alterations} and
 accidentals.  @ref{Key signature} gives a general introduction into
 the use of key signatures.
 
-Internals: @internalsref{KeySignature}.
+Program reference: @internalsref{KeySignature}.
 
 Examples: @inputfileref{input/test,ancient-accidentals.ly}.
 
@@ -4873,7 +4815,6 @@ Examples: @inputfileref{input/test,ancient-accidentals.ly}.
 
 @cindex rests
 
-@syntax
 
 Use the @code{style} property of grob @internalsref{Rest} to select
 ancient accidentals.   Supported styles are @code{classical},
@@ -4887,7 +4828,7 @@ in historic prints of the 16th century.
 The following example demonstrates the @code{neo_mensural} style:
 
 @lilypond[fragment,raggedright,verbatim]
-  \override Rest   #'style = #'neo_mensural
+  \override Rest #'style = #'neo_mensural
   r\longa r\breve r1 r2 r4 r8 r16
 @end lilypond
 
@@ -4909,7 +4850,6 @@ In this manual: @ref{Rests} gives a general introduction into the use of rests.
 
 @cindex clefs
 
-@syntax
 
 LilyPond supports a variety of clefs, many of them ancient.
 
@@ -5081,20 +5021,7 @@ historic style hufnagel combined do/fa clef @tab
 
 @end multitable
 
-@c --- This should go somewhere else: ---
-@c @item modern style percussion clef (glyph: @code{clefs-percussion})
-@c
-@c Supported clefs:
-@c @code{percussion}
-@c
-@c @lilypond{\override Staff.TimeSignature   #'transparent = ##t \clef "percussion" c'}
-@c
-@c @item modern style tab clef (glyph: @code{clefs-tab})
-@c
-@c Supported clefs:
-@c @code{tab}
-@c
-@c @lilypond{\context Staff \outputproperty #(make-type-checker 'staff-symbol-interface) #'line-count = #6 \override Staff.TimeSignature   #'transparent = ##t \clef "tab" c'}
+
 
 @emph{Modern style} means ``as is typeset in contemporary editions of
 transcribed mensural music''.
@@ -5112,15 +5039,12 @@ beams, depending on which staff line it is printed.
 
 @seealso
 
-In this manual: for the percussion clef, see @ref{Percussion staves}.
-For the @code{TAB} clef, see @ref{Tablatures}.
-
-Internals: for modern clefs, see @ref{Clef}.
+In this manual: see @ref{Clef}.
 
 @refbugs
 
-The mensural g clef is temporarily mapped to the Petrucci g clef,
-until a new mensural g clef will have been implemented.
+The mensural g clef is mapped to the Petrucci g clef, until a new
+mensural g clef is implemented.
 
 
 
@@ -5129,16 +5053,15 @@ until a new mensural g clef will have been implemented.
 
 @cindex flags
 
-@syntax
 
 Use the @code{flag-style} property of grob @internalsref{Stem} to
 select ancient flags.  Besides the @code{default} flag style,
  only @code{mensural} style is supported:
 
 @lilypond[fragment,raggedright,verbatim]
-  \override Stem   #'flag-style = #'mensural
-  \override Stem   #'thickness = #1.0
-  \override NoteHead   #'style = #'mensural
+  \override Stem #'flag-style = #'mensural
+  \override Stem #'thickness = #1.0
+  \override NoteHead #'style = #'mensural
   \autoBeamOff
   c'8 d'8 e'8 f'8 c'16 d'16 e'16 f'16 c'32 d'32 e'32 f'32 s8
   c''8 d''8 e''8 f''8 c''16 d''16 e''16 f''16 c''32 d''32 e''32 f''32
@@ -5152,10 +5075,10 @@ of the end of each flare is different between notes on staff lines and
 notes between staff lines:
 
 @lilypond[fragment,raggedright]
-  \override Stem   #'flag-style = #'mensural
-  \override Stem   #'thickness = #1.0
-  \override Stem   #'adjust-if-on-staffline = ##f
-  \override NoteHead   #'style = #'mensural
+  \override Stem #'flag-style = #'mensural
+  \override Stem #'thickness = #1.0
+  \override Stem #'adjust-if-on-staffline = ##f
+  \override NoteHead #'style = #'mensural
   \autoBeamOff
   c'8 d'8 e'8 f'8 c'16 d'16 e'16 f'16 c'32 d'32 e'32 f'32 s8
   c''8 d''8 e''8 f''8 c''16 d''16 e''16 f''16 c''32 d''32 e''32 f''32
@@ -5172,7 +5095,6 @@ Gregorian Chant notation.
 
 @cindex time signatures
 
-@syntax
 
 There is limited support for mensural time signatures.   The
 glyphs are hard-wired to particular time fractions.  In other words,
@@ -5219,7 +5141,7 @@ following table:
     \paper {
        indent = 0.0
        raggedright = ##t
-       \translator {
+       \context {
            \StaffContext
            \remove Staff_symbol_engraver
            \remove Clef_engraver
@@ -5241,20 +5163,20 @@ ancient and modern styles.
 
 @seealso
 
-Internals: @ref{Time signature} gives a general introduction into the use of time
+Program reference: @ref{Time signature} gives a general introduction into the use of time
 signatures.
 
 @refbugs
 
-Mensural signature glyphs are  mapped to time fractions in a
-hard-wired way.  This mapping is sensible, but still arbitrary: given
-a mensural time signature, the time fraction represents a modern meter
-that usually will be a good choice when transcribing a mensural piece
-of music.  For a particular piece of mensural music, however, the
-mapping may be unsatisfactory.  In particular, the mapping assumes a
-fixed transcription of durations (e.g. brevis = half note in 2/2,
-i.e. 4:1).  Some glyphs (such as the alternate glyph for 6/8 meter)
-are  not at all accessible through the @code{\time} command.
+Mensural signature glyphs are mapped to time fractions in a hard-wired
+way.  This mapping is sensible, but still arbitrary: given a mensural
+time signature, the time fraction represents a modern meter that
+usually will be a good choice when transcribing a mensural piece of
+music.  For a particular piece of mensural music, however, the mapping
+may be unsatisfactory.  In particular, the mapping assumes a fixed
+transcription of durations (e.g. brevis = half note in 2/2, i.e. 4:1).
+Some glyphs (such as the alternate glyph for 6/8 meter) are not at all
+accessible through the @code{\time} command.
 
 Mensural time signatures are supported typographically, but not yet
 musically.  The internal representation of durations is 
@@ -5285,15 +5207,13 @@ of musical notation such as contemporary editions of Gregorian chant
 like the @emph{editio vaticana}.  There are different custos glyphs
 used in different flavors of notational style.
 
-@syntax
-
 For typesetting custodes, just put a @internalsref{Custos_engraver} into the
 @internalsref{Staff} context when declaring the @code{\paper} block,
 as shown in the following example:
 
 @example
 \paper @{
-  \translator @{
+  \context @{
      \StaffContext
      \consists Custos_engraver
      Custos \override #'style = #'mensural
@@ -5303,20 +5223,19 @@ as shown in the following example:
 
 The result looks like this:
 
-@lilypond
+@lilypond[raggedright]
 \score {
     \notes {
        a'1
-       \override Staff.Custos   #'style = #'mensural
+       \override Staff.Custos #'style = #'mensural
        \break
        g'
     }
     \paper {
-       \translator {
+       \context {
            \StaffContext
            \consists Custos_engraver
        }
-       linewidth = 4.0\cm
     }
 }
 @end lilypond
@@ -5327,74 +5246,37 @@ supported are @code{vaticana}, @code{medicaea}, @code{hufnagel} and
 
 @lilypond
 \score {
-    \notes {
-        \fatText
-        s
-        ^\markup {
+       \new Lyrics    \lyrics {
+        \markup {
             \column <
                 "vaticana" 
                 { " " \musicglyph #"custodes-vaticana-u0" }
-            >
-           \column <
+            > }
+       \markup {    \column <
                 "medicaea"
                { " " \musicglyph #"custodes-medicaea-u0" }
-            >
+            >}
+            \markup {
            \column <
                 "hufnagel"
                { " " \musicglyph #"custodes-hufnagel-u0" }
-            >
+            >}
+            \markup {
             \column <
                 "mensural"
                 { " " \musicglyph #"custodes-mensural-u0" }
-            >
+            >}
         }
-    }
+    
     \paper {
        raggedright = ##t 
-        interscoreline = 1
-        \translator {
-            \ScoreContext
-            \remove "Bar_number_engraver"
-        }
-        \translator{
-            \StaffContext
-            \remove "Clef_engraver"
-            \remove "Key_engraver"
-            \remove "Time_signature_engraver"
-            \remove "Staff_symbol_engraver"
-            minimumVerticalExtent = ##f
-        }
-    }
+        }      
 }
 @end lilypond
 
-If the boolean property @code{adjust-if-on-staffline} is set to
-@code{#t} (which it is by default), lily typesets slightly different
-variants of the custos glyph, depending on whether the custos, is
-typeset on or between staff lines.   The glyph will
-optically fit well into the staff, with the appendage on the right of
-the custos always ending at the same vertical position between two
-staff lines regardless of the pitch.  If you set
-@code{adjust-if-on-staffline} to @code{#f}, then
-a compromise between both forms is  used.
-
-Just like stems can be attached to note heads in two directions
-@emph{up} and @emph{down}, each custos glyph is available with its
-appendage pointing either up or down.  If the pitch of a custos is
-above a selectable position, the appendage will point downwards; if
-the pitch is below this position, the appendage will point upwards.
-Use property @code{neutral-position} to select this position.  By
-default, it is set to @code{0}, such that the neutral position is the
-center of the staff.  Use property @code{neutral-direction} to control
-what happens if a custos is typeset on the neutral position itself.
-By default, this property is set to @code{-1}, such that the appendage
-will point downwards.  If set to @code{1}, the appendage will point
-upwards.  Other values such as @code{0} are reserved for future
-extensions and should not be used.
-
 @seealso
 
-Internals: @internalsref{Custos}.
+Program reference: @internalsref{Custos}.
 
 Examples: @inputfileref{input/regression,custos.ly}.
 
@@ -5415,7 +5297,6 @@ can be characterized as short, medium and long pause, somewhat like
 a chant, but is also frequently used within a single
 antiphonal/responsorial chant to mark the end of each section.
 
-@syntax
 
 To use divisiones, include the file @code{gregorian-init.ly}.  It
 contains definitions that you can apply by just inserting
@@ -5446,7 +5327,7 @@ Therefore, @code{gregorian-init.ly} also defines @code{\virgula} and
 
 In this manual: @ref{Breath marks}.
 
-Internals: @internalsref{BreathingSign}, @internalsref{BreathingSignEvent}.
+Program reference: @internalsref{BreathingSign}, @internalsref{BreathingSignEvent}.
 
 Examples: @inputfileref{input/test,divisiones.ly}.
 
@@ -5458,34 +5339,16 @@ Examples: @inputfileref{input/test,divisiones.ly}.
 @c TODO: Should double check if I recalled things correctly when I wrote
 @c down the following paragraph by heart.
 
-In musical terminology, a ligature is a coherent graphical symbol that
-represents at least two distinct notes.  Ligatures originally appeared
-in the manuscripts of Gregorian chant notation roughly since the 9th
-century as an allusion to the accent symbols of Greek lyric poetry to
-denote ascending or descending sequences of notes.  Both, the shape
-and the exact meaning of ligatures changed tremendously during the
-following centuries: In early notation, ligatures were used for
-monophonic tunes (Gregorian chant) and very soon denoted also the way
-of performance in the sense of articulation.  With upcoming
-multiphony, the need for a metric system arised, since multiple voices
-of a piece have to be synchronized some way.  New notation systems
-were invented that used the manifold shapes of ligatures to now denote
-rhythmical patterns (e.g. black mensural notation, mannered notation,
-ars nova).  With the invention of the metric system of the white
-mensural notation, the need for ligatures to denote such patterns
-disappeared.  Nevertheless, ligatures were still in use in the
-mensural system for a couple of decades until they finally disappeared
-during the late 16th / early 17th century.  Still, ligatures have
-survived in contemporary editions of Gregorian chant such as the
-Editio Vaticana from 1905/08.
-
-@syntax
-
-Syntactically, ligatures are simply enclosed by @code{\[} and
-@code{\]}.  Some ligature styles (such as Editio Vaticana) may need
-additional input syntax specific for this particular type of ligature.
-By default, the @internalsref{LigatureBracket} engraver just puts a
-square bracket above the ligature:
+A ligature is a coherent graphical symbol that represents at least two
+distinct notes.  Ligatures originally appeared in the manuscripts of
+Gregorian chant notation roughly since the 9th century to denote
+ascending or descending sequences of notes.  
+
+Ligatures are entered by enclosing them in @code{\[} and @code{\]}.
+Some ligature styles may need additional input syntax specific for
+this particular type of ligature.  By default, the
+@internalsref{LigatureBracket} engraver just puts a square bracket
+above the ligature:
 
 @lilypond[raggedright,verbatim]
 \score {
@@ -5500,8 +5363,7 @@ square bracket above the ligature:
 To select a specific style of ligatures, a proper ligature engraver
 has to be added to the @internalsref{Voice} context, as explained in
 the following subsections.   Only white mensural ligatures
-are supported with certain limitations.  Support for Editio Vaticana
-will be added in the future.
+are supported with certain limitations.
 
 @menu
 * White mensural ligatures::    
@@ -5514,12 +5376,7 @@ will be added in the future.
 @cindex Mensural ligatures
 @cindex White mensural ligatures
 
-There is limited support for white mensural ligatures.  The
-implementation is still experimental; it may output strange
-warnings or even crash in some cases or produce weird results on more
-complex ligatures.
-
-@syntax
+There is limited support for white mensural ligatures.  
 
 To engrave white mensural ligatures, in the paper block the
 @internalsref{Mensural_ligature_engraver} has to be put into the
@@ -5528,7 +5385,7 @@ To engrave white mensural ligatures, in the paper block the
 
 @example
     \paper @{
-        \translator @{
+        \context @{
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Mensural_ligature_engraver
@@ -5549,7 +5406,7 @@ For example,
 @example
         \set Score.timing = ##f
         \set Score.defaultBarType = "empty"
-        \override NoteHead   #'style = #'neo_mensural
+        \override NoteHead #'style = #'neo_mensural
         \override Staff.TimeSignature   #'style = #'neo_mensural
         \clef "petrucci_g"
         \[ g\longa c\breve a\breve f\breve d'\longa \]
@@ -5561,7 +5418,7 @@ For example,
     \notes \transpose c c' {
         \set Score.timing = ##f
         \set Score.defaultBarType = "empty"
-        \override NoteHead   #'style = #'neo_mensural
+        \override NoteHead #'style = #'neo_mensural
         \override Staff.TimeSignature   #'style = #'neo_mensural
         \clef "petrucci_g"
         \[ g\longa c\breve a\breve f\breve d'\longa \]
@@ -5569,7 +5426,7 @@ For example,
         \[ e1 f1 a\breve g\longa \]
     }
     \paper {
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Mensural_ligature_engraver
@@ -5587,7 +5444,7 @@ to the following:
     \notes \transpose c c' {
         \set Score.timing = ##f
         \set Score.defaultBarType = "empty"
-        \override NoteHead   #'style = #'neo_mensural
+        \override NoteHead #'style = #'neo_mensural
         \override Staff.TimeSignature   #'style = #'neo_mensural
         \clef "petrucci_g"
         \[ g\longa c\breve a\breve f\breve d'\longa \]
@@ -5597,6 +5454,11 @@ to the following:
 }
 @end lilypond
 
+@refbugs
+
+The implementation is experimental; it may output strange warnings or
+even crash in some cases or produce weird results on more complex
+ligatures.
 
 @node Gregorian square neumes ligatures
 @subsubsection Gregorian square neumes ligatures
@@ -5652,11 +5514,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5665,7 +5527,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5694,11 +5556,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5707,7 +5569,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5728,11 +5590,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5741,7 +5603,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5765,11 +5627,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5778,7 +5640,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5804,11 +5666,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5817,7 +5679,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5838,11 +5700,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5851,7 +5713,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5876,11 +5738,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5889,7 +5751,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5915,11 +5777,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5928,7 +5790,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5953,11 +5815,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -5966,7 +5828,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -5987,11 +5849,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6000,7 +5862,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6024,11 +5886,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6037,7 +5899,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6062,11 +5924,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6075,7 +5937,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6096,11 +5958,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6109,7 +5971,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6133,11 +5995,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6146,7 +6008,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6167,11 +6029,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6180,7 +6042,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6205,11 +6067,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6218,7 +6080,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6239,11 +6101,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6252,7 +6114,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6277,11 +6139,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6290,7 +6152,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6311,11 +6173,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6324,7 +6186,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6349,11 +6211,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6362,7 +6224,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6383,11 +6245,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6396,7 +6258,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6417,11 +6279,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6430,7 +6292,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6454,11 +6316,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6467,7 +6329,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6488,11 +6350,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6501,7 +6363,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6522,11 +6384,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6535,7 +6397,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6559,11 +6421,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6572,7 +6434,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6593,11 +6455,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6606,7 +6468,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6627,11 +6489,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6640,7 +6502,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6664,11 +6526,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6677,7 +6539,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6698,11 +6560,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6711,7 +6573,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6732,11 +6594,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6745,7 +6607,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6769,11 +6631,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6782,7 +6644,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6803,11 +6665,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6816,7 +6678,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6837,11 +6699,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6850,7 +6712,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6874,11 +6736,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6887,7 +6749,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6908,11 +6770,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6921,7 +6783,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6946,11 +6808,11 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
     }
     \paper {
         interscoreline = 1
-        \translator {
+        \context {
             \ScoreContext
             \remove "Bar_number_engraver"
         }
-        \translator {
+        \context {
             \StaffContext
             \remove "Clef_engraver"
             \remove "Key_engraver"
@@ -6959,7 +6821,7 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
             \remove "Bar_engraver"
             minimumVerticalExtent = ##f
         }
-        \translator {
+        \context {
             \VoiceContext
             \remove Ligature_bracket_engraver
             \consists Vaticana_ligature_engraver
@@ -6974,7 +6836,6 @@ volume of the Antiphonale Romanum (@emph{Liber Hymnarius}), published
 
 @end multitable
 
-@syntax
 
 Unlike most other neumes notation systems, the input language for
 neumes does not necessarily reflect directly the typographical
@@ -6987,13 +6848,7 @@ decision of when to typeset a curved flexa shape is purely taken from
 the musical input.  The idea of this approach is to separate the
 musical aspects of the input from the notation style of the output.
 This way, the same input can be reused to typeset the same music in a
-different style of Gregorian chant notation such as Hufnagel (also
-known as German gothic neumes) or Medicaea (kind of a very simple
-forerunner of the Editio Vaticana).  As soon as Hufnagel ligature
-engraver and Medicaea ligature engraver will have been implemented, it
-will be as simple as replacing the ligature engraver in the
-@internalsref{Voice} context to get the desired notation style from
-the same input.
+different style of Gregorian chant notation.
 
 The following table shows the code fragments that produce the
 ligatures in the above neumes table.  The letter in the first column
@@ -7254,9 +7109,43 @@ Two adjacent heads can be tied together with the @code{\pes} and
 @code{\flexa} infix commands for a rising and falling line of melody,
 respectively.
 
-@refbugs
 
-Trigonus: apply equal spacing, regardless of pitch.
+
+@node Vaticana style contexts
+@subsection Vaticana style contexts
+
+@cindex VaticanaVoiceContext
+@cindex VaticanaStaffContext
+
+The predefined @code{VaticanaVoiceContext} and
+@code{VaticanaStaffContext} can be used to easily engrave a piece of
+Gregorian Chant in the style of the Editio Vaticana.  These contexts
+initialize all relevant context properties and grob properties to
+proper values.  With these contexts, you can immediately go ahead
+entering the chant, as the following short excerpt demonstrates:
+
+@lilypond[raggedright,verbatim,noindent]
+\include "gregorian-init.ly"
+\score {
+<<
+  \context VaticanaVoice = "cantus" {
+    \override Score.BarNumber   #'transparent = ##t
+    \notes {
+      \[ c'\melisma c' \flexa a \]
+      \[ a \flexa \deminutum g\melismaEnd \]
+      f \divisioMinima
+      \[ f\melisma \pes a c' c' \pes d'\melismaEnd \]
+      c' \divisioMinima \break
+      \[ c'\melisma c' \flexa a \]
+      \[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
+    }
+  }
+  \lyricsto "cantus" \new Lyrics \lyrics {
+    San- ctus, San- ctus, San- ctus
+  } >>
+  
+}
+@end lilypond
 
 @node Figured bass
 @subsection Figured bass
@@ -7265,7 +7154,6 @@ Trigonus: apply equal spacing, regardless of pitch.
 
 @c TODO: musicological blurb about FB
 
-@syntax
 
 LilyPond has limited support for figured bass:
 
@@ -7329,47 +7217,13 @@ vertical spacing of the figures may be set with @code{baseline-skip}.
 
 @seealso
 
-Internals: @internalsref{BassFigureEvent} music, @internalsref{BassFigure} object, 
+Program reference: @internalsref{BassFigureEvent} music, @internalsref{BassFigure} object, 
 and @internalsref{FiguredBass} context.
 
 @refbugs
 
 Slash notation for alterations is not supported.
 
-
-@node Vaticana style contexts
-@subsection Vaticana style contexts
-
-@cindex VaticanaVoiceContext
-@cindex VaticanaStaffContext
-
-The predefined @code{VaticanaVoiceContext} and
-@code{VaticanaStaffContext} can be used to easily engrave a piece of
-Gregorian Chant in the style of the Editio Vaticana.  These contexts
-initialize all relevant context properties and grob properties to
-proper values.  With these contexts, you can immediately go ahead
-entering the chant, as the following short excerpt demonstrates:
-
-@lilypond[raggedright,verbatim,noindent]
-\include "gregorian-init.ly"
-\score {
-<<
-  \context VaticanaVoice = "cantus" {
-    \override Score.BarNumber   #'transparent = ##t
-    \notes {
-      \[ c'\melisma c' \flexa a \] \[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
-      \[ f\melisma \pes a c' c' \pes d'\melismaEnd \] c' \divisioMinima \break
-      \[ c'\melisma c' \flexa a \] \[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
-    }
-  }
-  \lyricsto "cantus" \new Lyrics \lyrics {
-    San- ctus, San- ctus, San- ctus
-  } >>
-  
-}
-@end lilypond
-
-
 @node Contemporary notation
 @section Contemporary notation
 
@@ -7392,34 +7246,10 @@ support for contemporary notation in LilyPond is limited.
 
 @cindex cluster
 
-In musical terminology, a @emph{cluster} denotes a range of
-simultaneously sounding pitches that may change over time.  The set of
-available pitches to apply usually depends on the acoustic source.
-Thus, in piano music, a cluster typically consists of a continuous range
-of the semitones as provided by the piano's fixed set of a chromatic
-scale.  In choral music, each singer of the choir typically may sing an
-arbitrary pitch within the cluster's range that is not bound to any
-diatonic, chromatic or other scale.  In electronic music, a cluster
-(theoretically) may even cover a continuous range of pitches, thus
-resulting in colored noise, such as pink noise.
-
-Clusters can be denoted in the context of ordinary staff notation by
-engraving simple geometrical shapes that replace ordinary notation of
-notes.  Ordinary notes as musical events specify starting time and
-duration of pitches; however, the duration of a note is expressed by the
-shape of the note head rather than by the horizontal graphical extent of
-the note symbol.  In contrast, the shape of a cluster geometrically
-describes the development of a range of pitches (vertical extent) over
-time (horizontal extent).  Still, the geometrical shape of a cluster
-covers the area in which any single pitch contained in the cluster would
-be notated as an ordinary note.  From this point of view, it is
-reasonable to specify a cluster as the envelope of a set of notes.
-
-@syntax
-
-A cluster is engraved as the envelope of a set of
-cluster-notes. Cluster notes are created by applying the function
-@code{notes-to-clusters} to a sequence of chords, e.g.
+A cluster indicates a continuous range of pitches to be played.  They
+can be denoted as the envelope of a set of notes.  They are entered by
+applying the function @code{notes-to-clusters} to a sequence of
+chords, e.g.
 @c
 @lilypond[relative=1,verbatim]
     \apply #notes-to-clusters {  <c e > <b f'>  }
@@ -7431,15 +7261,13 @@ looks like:
 
 @lilypondfile[]{cluster.ly}
 
-By default, @internalsref{Cluster_spanner_engraver} is in the
-@internalsref{Voice} context.  This allows putting ordinary notes and
-clusters together in the same staff, even simultaneously.  In such a
-case no attempt is made to automatically avoid collisions between
-ordinary notes and clusters.
+Ordinary notes and clusters can be put together in the same staff,
+even simultaneously.  In such a case no attempt is made to
+automatically avoid collisions between ordinary notes and clusters.
 
 @seealso
 
-Internals: @internalsref{ClusterSpanner},
+Program reference: @internalsref{ClusterSpanner},
 @internalsref{ClusterSpannerBeacon},
 @internalsref{Cluster_spanner_engraver}, and
 @internalsref{ClusterNoteEvent}.
@@ -7461,11 +7289,8 @@ accurately.  Use @code{<g a>8 <e a>8} instead.
 
 
 Contemporary music notation frequently uses special fermata symbols to
-indicate fermatas of differing lengths.
-
-@syntax
-
-The following are supported
+indicate fermatas of differing lengths.  The following fermatas are
+supported
 
 @lilypond[raggedright]
 \score {
@@ -7490,6 +7315,7 @@ The following are supported
         r
     }
     \context Lyrics \lyrics {
+    \override LyricText #'font-family = #'typewriter
       "shortfermata" "fermata"  "longfermata" "verylongfermata"
     } >>
 }
@@ -7534,7 +7360,7 @@ the `balloon.'
 
 @seealso
 
-Internals: @internalsref{text-balloon-interface}.
+Program reference: @internalsref{text-balloon-interface}.
 
 Examples: @inputfileref{input/regression,balloon.ly}.
 
@@ -7544,19 +7370,18 @@ Examples: @inputfileref{input/regression,balloon.ly}.
 @cindex easy notation
 @cindex Hal Leonard
 
-The `easy play' note head includes a note name inside the head.  It is
-used in music aimed at beginners:
+The `easy play' note head includes a  name inside the head.  It is
+used in music for beginners:
 
 @lilypond[raggedright,verbatim,staffsize=26]
-\score {
-  \notes { c'2 e'4 f' | g'1 }
-  \paper { \translator { \EasyNotation } } 
-}
+    \setEasyHeads
+    c'2 e'4 f' | g'1
 @end lilypond
 
-The @code{EasyNotation} variable overrides a @internalsref{Score} @c
-context.  To make the letters readable, it has to be printed in a
-large font size.  To print with a larger font, see @ref{Font Size}.
+The command @code{\setEasyHeads} overrides settings for the
+@internalsref{NoteHead} object.  To make the letters readable, it has
+to be printed in a large font size.  To print with a larger font, see
+@ref{Setting global staff size}.
 
 @cindex Xdvi
 @cindex ghostscript
@@ -7565,13 +7390,17 @@ If you view the result with Xdvi, then staff lines may show through
 the letters.  Printing the PostScript file obtained does produce the
 correct result.
 
+@refcommands
+
+@cindex \setEasyHeads
+@code{\setEasyHeads}
 
 @node Sound
 @section Sound
 @cindex Sound
 
 Entered music can also be converted to MIDI output.  The performance
-is good enough for proof-hearing the music for errors.
+is intended for proof-hearing the music for errors.
 
 Ties, dynamics and tempo changes are interpreted.  Dynamic marks,
 crescendi and decrescendi translate into MIDI volume levels.  Dynamic
@@ -7591,7 +7420,7 @@ slurring, etc., are not translated to MIDI.
 
 The MIDI output allocates a channel for each Staff, and one for global
 settings.  Hence, the MIDI file should not have more than 15 staves
-(or 14 if you do not use drums).
+(or 14 if you do not use drums). Other staves will remain silent.
 
 
 @menu
@@ -7614,8 +7443,6 @@ simpler.  The @code{\midi} block can contain:
   @item context definitions.
 @end itemize
 
-Assignments in the @code{\midi} block are not allowed.
-
 A number followed by a period is interpreted as a real number, so
 for setting the tempo for dotted notes, an extra space should be
 inserted, for example: