X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fadding-extra-fingering-with-scheme.ly;h=c93557a36ba615020521e3b5fb51a509dea698cb;hb=3af0951f9a11677240efa6228683dd4fcea13eaf;hp=9e3f6072cb2ecd4d76d3872724b72bd31075a4cf;hpb=652ed35a2013489d0a14fede6307cd2595abb2c4;p=lilypond.git diff --git a/Documentation/snippets/adding-extra-fingering-with-scheme.ly b/Documentation/snippets/adding-extra-fingering-with-scheme.ly index 9e3f6072cb..c93557a36b 100644 --- a/Documentation/snippets/adding-extra-fingering-with-scheme.ly +++ b/Documentation/snippets/adding-extra-fingering-with-scheme.ly @@ -1,29 +1,28 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.16.0 -\version "2.16.0" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.19.22" \header { lsrtags = "scheme-language" texidoc = " -You can add additional elements to notes using @code{map-some-music}. In this -example, an extra script is attached to a note. +You can add additional elements to notes using @code{map-some-music}. +In this example, an extra script is attached to a note. In general, first do a @code{\\displayMusic} of the music you want to create, then write a function that will work on the appropriate parts of the music for you. + " doctitle = "Adding extra fingering with scheme" } % begin verbatim - addScript = -#(define-music-function (parser location script music) +#(define-music-function (script music) (ly:event? ly:music?) (map-some-music (lambda (mus)