lilypond-user
[Top][All Lists]
Advanced

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

Re: Fit to one/n pages


From: Mark Probert
Subject: Re: Fit to one/n pages
Date: Sun, 8 Jan 2023 16:41:22 -0800

Many thanks! I think I’m getting a handle on this bit of LP. Amazing! 

-mark.


On 9 Jan 2023 at 11:23:47, Jean Abou Samra <jean@abou-samra.fr> wrote:
Le 09/01/2023 à 01:08, Kieren MacMillan a écrit :
Hi Mark,

> Okay. I did that and when I move the \paper (yes, my bad, I did write \page) into the \bookpart it generates a separate PDF for each \bookpart
Hmmm… It should generate a page break between bookparts, but shouldn’t generate a new PDF!!


The issue is that LilyPond treats \book and \bookpart values in the same
way (no, that's not really wonderful). Basically, when you do this:

x = \bookpart { bla bla }
\x

At the point \x is used, LilyPond has "forgotten" that \x was not a book
but a bookpart, and it treats it as a new book, whereas

\book {
  \x
  \y
}

forces \x and \y to be treated as bookparts inside one book.


reply via email to

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