bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bug in page-breaking when using fretboards.


From: Joe Neeman
Subject: Re: Bug in page-breaking when using fretboards.
Date: Mon, 04 Aug 2008 18:20:23 +1000

On Thu, 2008-07-31 at 20:37 -0600, Carl D. Sorensen wrote:
> When using fretboards, the page breaker tries to put too many systems
> on a page:
> 
> %%%%% begin code
> 
> mychords = \chordmode {c1 \break }
> 
> mymusic = \repeat unfold 13 { \mychords }
> 
> 
> <<
>   \context ChordNames {
>     \mymusic
>   }
>   \context FretBoards {
>     \mymusic
>   }
>   \context Staff {
>     \mymusic
>   }
> >>
> 
> 
> %%%%% end code
> 
> The result is:
> 
> warning: Can't fit systems on page -- ignoring between-system-padding
> 
> And the systems run off the bottom of the first page.

Thanks for the report, this is fixed in git now.

> If I try to set the number of systems with system-count:
> 
> %%%%%%%%%% begin code
> \paper {
>   system-count = 8
> }
> 
> 
> mychords = \chordmode {c1 \break }
> 
> mymusic = \repeat unfold 13 { \mychords }
> 
> 
> <<
>   \context ChordNames {
>     \mymusic
>   }
>   \context FretBoards {
>     \mymusic
>   }
>   \context Staff {
>     \mymusic
>   }
> >>
> 
> %%%%%%%%%  end code
> 
> the first page is right, but the \break is ignored in all but the first
> system of the second page, and I get the warning:
> 
> warning: cannot find line breaking that satisfies constraints

I'm not sure what you expect this to do, given that you requested
exactly 8 lines with 13 breakpoints. I guess we should have a more
graceful recovery, though.

Joe





reply via email to

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