X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ftopdocs%2FNEWS.texi;h=9c45fff780fd3254b2317b118e5b64ea157e7811;hb=15551c56a17c10f2e1eae0766ddc87a62da119a8;hp=1a83b04de6d5925a2011b71f870775b14a59cce0;hpb=c5463a127a285bcd0f438bb46095c25981d2c4f8;p=lilypond.git diff --git a/Documentation/topdocs/NEWS.texi b/Documentation/topdocs/NEWS.texi index 1a83b04de6..9c45fff780 100644 --- a/Documentation/topdocs/NEWS.texi +++ b/Documentation/topdocs/NEWS.texi @@ -5,29 +5,42 @@ @node Top, , , @top -@chapter New features in 2.1 since 2.0 +@unnumbered New features in 2.1 since 2.0 -@ignore -Unreleased: +@itemize @bullet -@itemize -@end itemize +@item The @code{Timing_engraver} now sets the @code{Timing} alias on +its containing context automatically. -Version 2.1.13 -@end ignore +@item The code for font selection has been rewritten. In addition to +existing font selection properties, the property @code{font-encoding} +has been added, which makes the switch between normal @code{text} and +other encodings like @code{braces}, @code{music} and @code{math}. -@itemize @bullet +@item The pmx2ly script has been removed from the distribution. + +@item Pedal brackets will now run to the last bar of a piece if they are not +explicitly ended. + +@item Context definitions now use the word @code{\context} instead of @code{\translator}. + +@item Property functions may be used as an argument to @code{set!}, +for example + +@example + (set! (ly:grob-property grob 'beam) ... ) +@end example @item In anticipation of Emacs 21.4 or 22.1, the info documentation contains images. @item Cue notes can be quoted directly from the parts that -contain them. This will take into account tunings of source and target +contain them. This will take into account transposition of source and target instrument. For example, @verbatim \addquote clarinet \notes\relative c' { - \tuning bes + \transposition bes fis4 fis fis fis } @@ -39,15 +52,15 @@ instrument. For example, @end verbatim @item The transposition of an instrument can be specified using the -@code{\tuning} command. The following command specifies an E-flat alto -saxophone: +@code{\transposition} command. An +E-flat alto saxophone is specified as @example - \tuning es' + \transposition es' @end example @item The naming of exported Scheme functions now follows Scheme conventions. -Changes be applied to Scheme files with convert-ly: +Changes be applied to Scheme files with @example convert-ly -e -n --from=2.1.24 --to=2.1.26 *.scm @@ -55,7 +68,7 @@ Changes be applied to Scheme files with convert-ly: @item Notes can be excluded from auto-beaming, by marking them with -@code{\noBeam}: +@code{\noBeam} @example c8 c \noBeam c c @end example @@ -121,13 +134,10 @@ It is shorter, cleaner and faster. The special construct @code{mbinclude} has been removed, plain @code{@@include} or @code{\input} can be used now. -@ignore -It now supports -running convert-ly on the lilypond snippets like so: +It now supports running convert-ly on the lilypond snippets, @example lilypond-book --filter='convert-ly --from=2.0.0' my-book.tely @end example -@end ignore @item The @code{LyricsVoice} context has been removed. Lyrics should only be constructed in @code{Lyrics}. @@ -155,7 +165,7 @@ performed in a @code{DrumStaff} context: result, the syntax has been simplified as well: @example - \autochange @var{the music} + \autochange @var{the-music} @end example @item The ergonomic syntax of @code{\markup} now has an equivalent in @@ -237,7 +247,10 @@ Both have the same effect on the global layout of a piece. Similarly, the paper size may be changed as follows @example - #(set-paper-size "a4") + #(set-default-paper-size "a4") + \paper @{ + #(set-paper-size "a4") + @} @end example @@ -295,11 +308,11 @@ expression. For example, @end example @item Features of spanner contexts, like @code{Staff}, can now be changed - using @code{\property}, eg. + using @code{\set}, eg. @example \new Staff @{ - \property Staff.StaffSymbol \set #'line-count = #4 + \override Staff.StaffSymbol #'line-count = #4 c'4 @} @end example @@ -571,7 +584,7 @@ it automagically through the new @code{lily-wins} frontend. -@chapter New features in 1.8 since 1.6 +@unnumbered New features in 1.8 since 1.6 @itemize @@ -748,7 +761,7 @@ The manual has been completely revised and extended. @end itemize -@chapter New features in 1.6 since 1.4 +@unnumbered New features in 1.6 since 1.4 @itemize @bullet