First of all, if you only have a single \book{...} in your .ly file, you could just as well remove it (the only reason to use \book{...} is if you want several PDF output files from one and the same .ly file).
For the page breaks, the solution outlined in http://lists.gnu.org/archive/html/lilypond-user/2005-06/msg00049.html with followups. I think that the solution to the final email in the thread is to remove the \book in the included file. /Mats Simon Bailey wrote:
hi all, is there any way i can set a variable globally and react in the layout/header block depending on the content of the variable? i have the following files: marschbuch.ly concert.ly trbnI.ly trbnII.ly trbnIII.ly trbnIV.ly trbnI - trbnIV each contain a \book block with numerous pieces (at the moment 17 and counting) -- which explains why i don't want to have to create these files for both layout types... marschbuch.ly creates a5-landscape with 16pt staves; concert.ly creates a4 portrait with 20pt staves. for layouting the 15-landscape version, i've had to force a few breakbefores in the \header, but these are not needed in the a4 portrait version. i'm thinking i could define a boolean variable in the marschbuch.ly and concert.ly files, and then set breakbefore accordingly. but i have no idea how. can anyone help? thanks, regards, simon. -- Do not meddle in the affairs of trombonists, for they are subtle and quick to anger. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe ============================================= _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user