From: Han-Wen Nienhuys Date: Sun, 9 May 2004 13:06:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: release/2.3.1~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=82ed908b7517658807ff7620b37979d0116b97c7;p=lilypond.git *** empty log message *** --- diff --git a/Documentation/topdocs/NEWS.texi b/Documentation/topdocs/NEWS.texi index 1476b409ea..bbd55c2d44 100644 --- a/Documentation/topdocs/NEWS.texi +++ b/Documentation/topdocs/NEWS.texi @@ -8,7 +8,7 @@ @itemize @bullet @item The @code{--safe} mode has been revisited: it makes the basic -ly: interface available, and makes prevents Scheme or @TeX{} code. +ly: interface available, and stops malicious @TeX{} code. @item Music syntax can now be extended seamlessly. As an example, here is the new implementation @code{\applymusic}, diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly new file mode 100644 index 0000000000..7eeae8d54c --- /dev/null +++ b/ly/music-functions-init.ly @@ -0,0 +1,31 @@ +applymusic = #(ly:make-music-function + (list procedure? ly:music?) ; signature + (lambda (where func music) ; the function + (func music))) + +\version "2.3.1" + + + +%{ + +TODO: + +remove these from the parser, and softcode here: + + * \addlyrics + * \tag + * \appoggiatura, \acciaccatura, \grace + * \partcombine + * \autochange + * \applycontext + * \applyoutput + * \breathe + + +with small syntax changes, we could also do + + * \bar + * ? + +%}