From: David Kastrup Date: Mon, 3 Jun 2013 17:48:48 +0000 (+0200) Subject: Run scripts/auxiliar/makelsr.py X-Git-Tag: release/2.17.20-1~12 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=598ef6a6d2ae8068611d6c3d2f184bb3c7969fbd;p=lilypond.git Run scripts/auxiliar/makelsr.py --- diff --git a/Documentation/snippets/creating-double-digit-fingerings.ly b/Documentation/snippets/creating-double-digit-fingerings.ly index 49df560a52..aaf9962842 100644 --- a/Documentation/snippets/creating-double-digit-fingerings.ly +++ b/Documentation/snippets/creating-double-digit-fingerings.ly @@ -1,48 +1,25 @@ -%% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.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. +% 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.17.15 \version "2.17.15" \header { lsrtags = "editorial-annotations, expressive-marks, scheme-language, staff-notation, tweaks-and-overrides" texidoc = " -By default you cannot make double-digit fingering notation (i.e. -numbers larger than 9). This is a hard coded limitation. - -This snippet shows two methods of creating fingerings larger than 9. - +Creating fingerings larger than 5 is possible. " doctitle = "Creating double-digit fingerings" } % begin verbatim -ten = -#(make-music 'FingeringEvent - 'digit 10) - -fifty = -#(make-music 'FingeringEvent - 'digit 50) - -finger = -#(define-music-function (parser location digit) (integer?) - (make-music 'FingeringEvent - 'digit digit)) - -#(define (calc-finger-without-warning grob) - (let* ((event (event-cause grob)) - (digit (ly:event-property event 'digit))) - (number->string digit 10))) - \relative c' { - % optional override to remove warnings for fingerings larger than 5 - \override Fingering.text = #calc-finger-without-warning - c1\ten - c1\fifty - c1-\finger #36 - c1-\finger #29 + c1-10 + c1-50 + c1-36 + c1-29 }