[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pdf changes every few compilations, although changing nothing
From: |
David Nalesnik |
Subject: |
Re: pdf changes every few compilations, although changing nothing |
Date: |
Mon, 10 Apr 2017 07:09:21 -0500 |
On Mon, Apr 10, 2017 at 5:36 AM, Thomas Morley <address@hidden> wrote:
> 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.
>
>
> Furthermore:
> While uncommenting the second example things change again:
> First example prints correct, second always wrong.
> Then commenting first example causes always correct output for the second.
>
>
> I use self-compiled 2.19.60 from
> commit 777ce245ecf9041a98d977f017c10b4edabaec04
> Author: Phil Holmes <address@hidden>
> Date: Mon Apr 10 08:28:15 2017 +0100
>
> Release: bump VERSION.
>
>
> I'm aware there were some recent changes to the bracket code and the
> dependencies of TupletBracket/TupletNumber.
> Admittedly my own code is a brute-force override. Something wrong
> there or with the recent changes?
I strongly doubt this. The changes I made to any bracket code this
touches are purely organizational.
On Mon, Apr 10, 2017 at 6:20 AM, Thomas Morley <address@hidden> wrote:
> 2017-04-10 12:36 GMT+02:00 Thomas Morley <address@hidden>:
>> 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' } }
> %}
>
>
I notice the same variability with 2.19.56 and 2.18.2. I'll see if I
can figure out more.
Best,
David
- pdf changes every few compilations, although changing nothing, Thomas Morley, 2017/04/10
- Re: pdf changes every few compilations, although changing nothing, Thomas Morley, 2017/04/10
- Re: pdf changes every few compilations, although changing nothing, Thomas Morley, 2017/04/10
- Re: pdf changes every few compilations, although changing nothing,
David Nalesnik <=
- Re: pdf changes every few compilations, although changing nothing, Thomas Morley, 2017/04/10
- Re: pdf changes every few compilations, although changing nothing, David Nalesnik, 2017/04/10
- Re: pdf changes every few compilations, although changing nothing, David Nalesnik, 2017/04/10
- Re: pdf changes every few compilations, although changing nothing, Dan Eble, 2017/04/11