@node Top, , ,
@top
-@unnumbered New features in 2.3 since 2.2
+@unnumbered New features in 2.4 since 2.2
@itemize @bullet
+@item Parts that use @code{\quote} can now be transposed.
+
+@item LilyPond does not try to produce output for files that
+have a parse error.
+
+@item @code{lilypond-book} will now remove any output files that
+contain failed music snippets.
+
+@item The mode changing commands (@code{\chords}, @code{\lyrics}, etc.)
+have been renamed to @code{\chordmode}, @code{\lyricmode}, etc. The
+command @code{\chords} is an abbreviation for
+
+@example
+ \new ChordNames \chordmode ...
+@end example
+
+@noindent
+@code{\drums}, @code{\lyrics}, @code{\chords}, @code{\figures}
+function similarly.
+
@item The types of events quoted with @code{\quote} can now be tuned
with @code{quotedEventTypes}. By default, only notes and rests end up
in quotes.
melody by setting the @code{associatedVoice} property.
@item The @code{\lyricsto} keyword now automatically switches on
-@code{\lyrics} mode.
+lyrics mode.
@item The LilyPond binary now supports output options
@code{--dvi} @code{--png} @code{--ps} @code{--pdf} and
@}
@end example
-@item A new block, @code{\bookpaper} has been introduced to
-hold settings for paper size and output scaling. Further options
-include @code{raggedbottom} (if set, systems are not vertically filled
-to reach the bottom of the page), and @code{raggedlastbottom}.
-
+@item
+The @code{\paper} block has been renamed to @code{\layout}. A new
+@code{\paper} block has been introduced to hold settings for paper
+size and output scaling. Further options include @code{raggedbottom}
+(if set, systems are not vertically filled to reach the bottom of the
+page), and @code{raggedlastbottom}.
@item Support for fret diagrams has been contributed by Carl
@item A music list at toplevel is interpreted as implicit @code{\score}
a @code{\score} block at toplevel is interpreted as an implicit
-@code{\book} and @code{\notes} mode is the default lexer mode. The
+@code{\book} and @code{\notemode} mode is the default lexer mode. The
result is that
@example
\header @{ title = "The Title" @}
\book @{
\score @{
- \notes @{ a b c @}
+ \notemode @{ a b c @}
@}
@}
@end example
results can be obtained.
@item Mode changing commands,
-such as @code{\chords} and @code{\figures} must now be directly
+such as @code{\chordmode} and @code{\figuremode} must now be directly
followed by delimiters. The following example demonstrates the new
behavior,
@verbatim
- \figures \context Figures { .. } % wrong
- \context Figures \figures { .. } % right
+ \figuremode \context Figures { .. } % wrong
+ \context Figures \figuremode { .. } % right
@end verbatim
@item The starting pitch for @code{relative} music is optional for music lists.
The default value is middle C.
-@c update-me? formal definition of newaddlyrics, once it works
@item Combining lyrics with music can be done with @code{\addlyrics}
@example
\clef bass
d2 d c4 bes a2 \break
@}
- \newlyrics @{
+ \addlyrics @{
My first Li -- ly song,
@}
- \newlyrics @{
+ \addlyrics @{
Not much can go wrong!
@}
@end example
-Syntactically, @code{\addlyrics} acts like an infix operator.
+Syntactically, @code{\addlyrics} is an infix operator. It is a
+shortcut for a combination of @code{\new Lyrics}, @code{\lyricmode}
+and @code{\lyricsto}.
@item The parser is encapsulated in a Scheme function
@code{ly:parse-file}, so the following fragment processes two files
@item
Titling and page breaks are handled by LilyPond. Page breaks may be
inserted manually with
+
@example
\pageBreak
@end example
@item
-The @code{lilypond} program does not generate La@TeX{} titles or page
-layout. If you need La@TeX{} titles, you can use the
-@code{lilypond-book} program.
+Invoking @code{lilypond} runs the actual binary, which not use
+La@TeX{} for titling or page layout. If you need La@TeX{} code in
+titles, you can use the @code{lilypond-book} program. The former
+@code{lilypond} script has been retained as @code{lilypond-latex}.
@item There is now less of a noticeable ``hook'' at the end of a long slur.
@end itemize
+
+
+@c ****************************************************************
+
@unnumbered New features in 2.2 since 2.0
@itemize @bullet