Re: Warnings when omitting fingering with overridden orientation
2016-09-02 21:36 GMT+02:00 Thomas Morley: > Warrants a ticket I'd say. It's now: Issue 4964 fingeringOrientations don't deal properly with omitted Fingering-stencils https://sourceforge.net/p/testlilyissues/issues/4964/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Warnings when omitting fingering with overridden orientation
2016-09-02 18:27 GMT+02:00 David Kastrup: > Thomas Morley writes: > >> 2016-09-02 16:44 GMT+02:00 Hinrik Örn Sigurðsson : >>> If I want to omit the fingering instructions for some part of a score or the >>> entire thing, I put "\omit Fingering" in the appopriate place. However, it >>> results in warnings ("programming error: Infinity or NaN encountered") if >>> "\set fingeringOrientations = #'(left)" has been previously done. The PDF >>> output is still correct though. >>> >>> Test case: >>> >>> \version "2.19.47" >>> >>> \relative c' { >>> \clef treble >>> \key d \major >>> \set fingeringOrientations = #'(left) >>> 2 4 d | >>> \omit Fingering >>> 8 g' g4 cis,2 | >>> } >> >> >> Try: >> >> \relative c' { >> \clef treble >> \key d \major >> \set fingeringOrientations = #'(left) >> 2 4 d | >> \omit Fingering >> \unset fingeringOrientations >> 8 g' g4 cis,2 | >> } >> >> Obviously the context-property `fingeringOrientations' needs a stencil >> to deal with, thus unset it. > > Arguably, that would be a condition worth detecting and silently > ignoring. > > -- > David Kastrup Hmm, might be a bit more complicated: \relative c' { \set fingeringOrientations = #'(left) 1 \omit Fingering 1 } \relative c' { \set fingeringOrientations = #'(left) 1 \omit Fingering 1 } No complaints about the first example. Warrants a ticket I'd say. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Warnings when omitting fingering with overridden orientation
Thomas Morleywrites: > 2016-09-02 16:44 GMT+02:00 Hinrik Örn Sigurðsson : >> If I want to omit the fingering instructions for some part of a score or the >> entire thing, I put "\omit Fingering" in the appopriate place. However, it >> results in warnings ("programming error: Infinity or NaN encountered") if >> "\set fingeringOrientations = #'(left)" has been previously done. The PDF >> output is still correct though. >> >> Test case: >> >> \version "2.19.47" >> >> \relative c' { >> \clef treble >> \key d \major >> \set fingeringOrientations = #'(left) >> 2 4 d | >> \omit Fingering >> 8 g' g4 cis,2 | >> } > > > Try: > > \relative c' { > \clef treble > \key d \major > \set fingeringOrientations = #'(left) > 2 4 d | > \omit Fingering > \unset fingeringOrientations > 8 g' g4 cis,2 | > } > > Obviously the context-property `fingeringOrientations' needs a stencil > to deal with, thus unset it. Arguably, that would be a condition worth detecting and silently ignoring. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Warnings when omitting fingering with overridden orientation
2016-09-02 16:44 GMT+02:00 Hinrik Örn Sigurðsson: > If I want to omit the fingering instructions for some part of a score or the > entire thing, I put "\omit Fingering" in the appopriate place. However, it > results in warnings ("programming error: Infinity or NaN encountered") if > "\set fingeringOrientations = #'(left)" has been previously done. The PDF > output is still correct though. > > Test case: > > \version "2.19.47" > > \relative c' { > \clef treble > \key d \major > \set fingeringOrientations = #'(left) > 2 4 d | > \omit Fingering > 8 g' g4 cis,2 | > } Try: \relative c' { \clef treble \key d \major \set fingeringOrientations = #'(left) 2 4 d | \omit Fingering \unset fingeringOrientations 8 g' g4 cis,2 | } Obviously the context-property `fingeringOrientations' needs a stencil to deal with, thus unset it. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user