lilypond-user
[Top][All Lists]
Advanced

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

Re: Using only manual page breaks in a large file with many short scores


From: Paul Morris
Subject: Re: Using only manual page breaks in a large file with many short scores
Date: Sun, 23 Feb 2014 10:03:29 -0800 (PST)

Federico Bruni-5 wrote
>> \bookpart {
>>   melodyA = { a b c d }
>>   \score { \new Staff \melodyA }
>>   \score { \new Staff { e f g } }
>> }
>>
> 
> IMO \bookpart is the best choice for your use case.
> What prevents you from moving melodyA out of the \bookpart block?

Currently each \score block is in a separate file that I \include, and each
file also contains the variables for melody and chords for its \score. (Over
200 files. It's an existing collection that I'm updating to LilyPond 2.18
from 2.8 (!)).  Since each of these files is compilable as a stand-alone
file, it makes it easy to edit, print, and share them individually.  It's
easy to create files that contain any given combination of them, as needed.

Each \bookpart would contain includes for 2-3 of these files, so it would
require a major re-organization to get the variables outside of each
\bookpart.  And I think you would either lose the modularity of having
compilable individual files, or introduce a good bit of complexity trying to
preserve it...

I suppose one possibility would be to move the music and chords out of
variables and put them directly into the \score block in each individual
file.  Then using \bookpart would work because there would be no variables. 
(My cut and paste fingers would get a lot of exercise...)


Going back to ragged-bottom... it seems that what would be ideal here is a
way to allow LilyPond to _compress_ vertical spacing to fit on a page, but
prevent her from _expanding_ vertical spacing to fill up extra space on a
page.  Like a ragged-bottom that only went in one direction but not both.  

-Paul






--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Using-only-manual-page-breaks-in-a-large-file-with-many-short-scores-tp159749p159754.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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