2014-12-09 17:38 GMT+01:00 Urs Liska <u...@openlilylib.org>:
> Hi all, > > if I produce scores that are to be printed on double-sided, folded sheets > (i.e. four A4 pages on one A3 sheet) I need to find a way to add empty > pages to the end of the score. > > I have one bookpart with two pages of front matter, then comes the score. > Then I need that flexible amount of 0-3 empty pages, > finally I have a last bookpart for the back cover. > > How can I determine the number of pages a score has and add an appropriate > number of pages to that? > (2 + 5 + N + 1) % 4 = 0 > Examples: > Score has 5 pages: -> 0 empty pages necessary > Score has 7 pages: -> 2 empty pages necessary > > You don't want to do this in LilyPond, right? If so, you already replied to yourself. I did the same five years ago and the recommendation in this list was: work on A4 in LilyPond and use some external tool (can't remember which) to build the A3 pdf file. You already have the "pseudo code" to create that pdf.
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user