bug-lilypond
[Top][All Lists]
Advanced

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

Re: Odd layout choices


From: Simon Albrecht
Subject: Re: Odd layout choices
Date: Mon, 15 Sep 2014 21:46:21 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.1


Am 15.09.2014 um 21:41 schrieb Guy Stalnaker:
All,

Sometimes Lilypond changes how it does its "Fitting music on ..." calculations when it decides what can fit on a page and what cannot. In this case, after four pages on which the "fitting" process puts two systems per page, the subsequent pages *all* have only one system per page--even though there is no change in number of staves -- still seven (SATB plus organ). The links below to the Lilypond code and resulting PDF show what I mean. Now, I know I can fiddle with the margins and likely get Lilypond to fit two systems per page throughout, but this just seems so odd. Why can two seven-stave systems work for four pages but not for all remaining pages?
Perhaps something requires more padding on the last systems?

https://www.dropbox.com/s/cr26k3jlkxwg6s1/psalm46.pdf
Well, this doesn’t show what you describe, but two systems per page.
https://www.dropbox.com/s/tjbf7sdudia6zpy/psalm46.ly
https://www.dropbox.com/s/zqoxjruc80door8/psalm_46_organ.ly
https://www.dropbox.com/s/gcugottr7fukoxv/nak_standard_header.ly

Verbose logging provides no guidance as, well, there's technically been no error. In order to get two systems per page through out, I have to set-global-staff-size to 14 and decrease all margins thus:

  top-margin = 1.0\in
  bottom-margin = .75\in
  right-margin = 1.0\in
  left-margin = 1.0\in

Which is, well, odd. To me at least.
Resolving this can be difficult in cases.
Try
\paper {
  min-systems-per-page = 2
  % or also
  % page-count = x
}
in order to force lily to do what you want. It might result in illicit compression, though. You’ll have to see.

HTH, Simon



reply via email to

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