lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange formatting with involved `\break`


From: Jean Abou Samra
Subject: Re: strange formatting with involved `\break`
Date: Sun, 18 Oct 2020 13:31:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0


Le 16/10/2020 à 16:34, Jean Abou Samra a écrit :
Folks,


can someone please explain to me why the following code

   {
     \compressEmptyMeasures
     c'4 4 4 4 | 4 4 4 4 | 4 4 4 4 | 4 4 4 4 | \break
     R4*120 | \break
     c'4 4 4 4 | 4 4 4 4 | 4 4 4 4 | 4 4 4 4 |
     c'4 4 4 4 | 4 4 4 4 | 4 4 4 4 | 4 4 4 4 |
     c'4 4 4 4 | 4 4 4 4 | 4 4 4 4 | 4 4 4 4 |
     c'4 4 4 4 | 4 4 4 4 | 4 4 4 4 | 4 4 4 4 |
   }

causes such an uneven formatting after the multi-measure?  And is
there a work-around available?


     Werner

Hi,
(Excuse the bad email threading, which will get fixed next time I reply.)

Interesting. The example can be made even more minimal, without
\compressEmptyMeasures:

{
  c'1
  \break
  \repeat unfold 35 { c'1 }
}

This produces the same bad output in 2.20. In 2.18, the output
is still suboptimal, but different (files attached).

A workaround would be

\paper {
  page-breaking = #ly:minimal-breaking
}

Both ly:optimal-page-breaking and ly:page-turn-breaking are faulty;
ly:one-page-breaking is not.

This issue could be related:

https://gitlab.com/lilypond/lilypond/-/issues/5488

Regards,
Jean

Hi Werner,

Added to the tracker as https://gitlab.com/lilypond/lilypond/-/issues/6057.

For the future, maybe this kind of quirks can be reported there directly (which would save them from the risk of getting lost under the volume of email).

Cheers,
Jean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]