bug-lilypond
[Top][All Lists]
Advanced

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

Bug in page-breaking when using fretboards.


From: Carl D. Sorensen
Subject: Bug in page-breaking when using fretboards.
Date: Thu, 31 Jul 2008 20:37:37 -0600

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.

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

Version 2.11.54
OS:  Mac OS 10.5, compiled using Nicolas's excellent instructions.

Thanks,

Carl Sorensen





reply via email to

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