Robin Bannister wrote:
> 
> gajatko wrote: 
>>  in future I will also need numbers like 9,11,13 etc. 
> 
> Check out LSR 756 
> http://lsr.dsi.unimi.it/LSR/Item?id=756
> 
> and some context 
> http://lists.gnu.org/archive/html/lilypond-user/2011-03/msg00138.html
> 
> 
> Cheers, 
> Robin

Thank you, it does most of work. Unfortunately, it completely ignores the
\set fingeringOrientations = #'(right)

This a code I am using:
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
 \set fingeringOrientations = #'(right)
  c1\ten
  c1\fifty
  c1-\finger #36
  c1-\finger #29
}

Greetings
-- 
View this message in context: 
http://old.nabble.com/Lilypond-hangs-on-a-script-after-adding-fingering-tp33039597p33059894.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to