]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/changes.tely
Fix 1477: Update regtests to suppress expected warnings
[lilypond.git] / Documentation / changes.tely
index 70544254f84e832faa41e57d1e4e6d44c6e66a82..f7d6faf885206c703a1bb3dc7d5c2a7fb055283b 100644 (file)
@@ -60,10 +60,33 @@ which scares away people.
 * only show user-visible changes.
 
 @end ignore
+@item
+Music, event, and scheme functions can now be defined with optional
+arguments before mandatory arguments.
+
+@item
+There is a new @code{define-event-function} command in analogy to
+@code{define-music-function} that can be used for defining music
+functions acting as events without requiring a direction specifier
+(@code{-}, @code{^}, or @code{_}) placed before them.
+@lilypond[quote,verbatim,raggedright]
+dyn=#(define-event-function (parser location arg) (markup?)
+         (make-dynamic-script arg))
+\relative c' { c\dyn pfsss }
+@end lilypond
+
+@item
+A list of ASCII aliases for special characters can be included.
+@lilypond[quote,verbatim]
+\paper {
+  #(include-special-characters)
+}
+\markup "• † &copyright; &OE; &ss; ¶"
+@end lilypond
 
 @item
 There is a new @code{define-scheme-function} command in analogy to
-@code{define-music-function} which can be used to define functions
+@code{define-music-function} that can be used to define functions
 evaluating to Scheme expressions while accepting arguments in Lilypond
 syntax.
 
@@ -104,7 +127,7 @@ c4_\< c c^\> c c1_\p
 Appoggiaturas and acciaccaturas now also work inside a slur, not only inside
 a phrasing slur. Also, a function @code{\slashedGrace} was added that does
 does not use a slur from the acciaccatura note.
-@lilypond[fragment,relative=2]
+@lilypond[fragment,quote,relative=2]
 c4( \appoggiatura e8 d4 \acciaccatura e8 d4 \slashedGrace e8 c4)
 @end lilypond