bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 884 in lilypond: pageBreak resets page-count property


From: lilypond
Subject: Re: Issue 884 in lilypond: pageBreak resets page-count property
Date: Wed, 16 Jun 2010 14:27:46 +0000


Comment #8 on issue 884 by reinhold.kainhofer: pageBreak resets page-count property
http://code.google.com/p/lilypond/issues/detail?id=884

Am Mittwoch, 16. Juni 2010, 14:45:10 schrieb address@hidden:
I have changed the workings of page-count so that it interacts better with
\pageBreak. Now, page-count is a list of integers whose length is one more
than the number of forced page breaks, and each element of the list
specifies the number of pages between the corresponding page breaks.

Is this really necessary? I mean, that's the worst solution (albeit the
easiest from a developer's point of view, of course) I can think of (short of
leaving the broken behavior).
If you have a long score, and you want to force one page break, you don't
really want the number of pages before that page break fixed, but you want the
overall page count fixed.
I don't care whether I have 15 or 16 pages before a page break, as long as the
overall count is e.g. 32 (divisible by 4, needed for binding).

Also, it makes tweaking a score a PITA. Imagine you have a score with 24
pages, but some breaks are not ideal.
Now you insert a page break, but that alone does not work, you'll have to
adjust the 24 to a pair of page numbers. Now you want to adjust another page
break, but simply inserting \pageBreak is no longer sufficient. Rather you
have to adjust the page-count list once more. And for this, you need to keep
track of where you inserted ALL OTHER page breaks, because otherwise the page
count will be broken all over...

Cheers,
Reinhold




reply via email to

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