2017-04-10 12:36 GMT+02:00 Thomas Morley <thomasmorle...@gmail.com>:
> Hi all,
>
> with the code below I experienced some pretty strange behaviour.
>
> The visual output changes every few compilations, although I changed 
> _nothing_!!
> In average two times in 10 compilations.

> Also, my code is not a minimal example, sorry for that, I keep trying
> to reduce it.


Here the best minimal I can come up with:

\version "2.19.60"

tst = {
    \override TupletBracket.stencil =
    #(lambda (grob)
       (let* ((orig (ly:grob-original grob))
              (siblings (if (ly:grob? orig) (ly:spanner-broken-into orig) '()))
              (tuplet-number (ly:grob-object grob 'tuplet-number)))
         (if (or (and (pair? siblings)
                      (equal? grob (car siblings)))
                 (null? siblings))
             (ly:grob-set-property! tuplet-number 'X-offset 0))
         (ly:tuplet-bracket::print grob)))
    }

%%{
\new Staff { \tst \tuplet 1/1 { \repeat unfold 30 c'1 } }
%}
%%{
\new Staff { \tst \tuplet 1/1 { c'1 c'1 c' c' c' } }
%}


Thanks,
  Harm

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to