|
From: | Federico Bruni |
Subject: | Re: Using only manual page breaks in a large file with many short scores |
Date: | Sun, 23 Feb 2014 22:24:06 +0100 |
Federico Bruni-5 wrote
>> \bookpart {Currently each \score block is in a separate file that I \include, and each
>> 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?
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...)
bookpart-example.zip
Description: Zip archive
[Prev in Thread] | Current Thread | [Next in Thread] |