[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remove all occurrencies of "0" fingerings
From: |
Marc Hohl |
Subject: |
Re: Remove all occurrencies of "0" fingerings |
Date: |
Tue, 8 Aug 2017 11:46:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Hi Malte,
Am 08.08.2017 um 10:30 schrieb Malte Meyn:
Am 08.08.2017 um 10:23 schrieb Marc Hohl:
I wanted to write a little callback to remove all occurrencies
of "0" fingerings.
This doesn’t empty the stencil but removes the Fingering grobs
completely (by suicide):
thanks for this solution!
In my real-life example, I got
lilypond: ../flower/include/drul-array.hh:35: T&
Drul_array<T>::at(Direction) [with T = scm_unused_struct*]: Zusicherung
>>d == 1 || d == -1<< nicht erf?llt.
Aborted (core dumped)
but changing before-line-breaking to after-line-breaking did the trick.
I do not fully understand why, but it works.
Thanks,
Marc
\override Fingering.before-line-breaking =
#(lambda (grob)
(if (equal? (ly:grob-property grob 'text) "0")
(ly:grob-suicide! grob)))
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Remove all occurrencies of "0" fingerings, David Kastrup, 2017/08/08