Hi Richard, Does that do page numbers as well? I'd really like to eliminate any extra steps if possible; my goal is to have a master file that I can adjust as necessary, and then just press a button to spit the whole thing out every time I need a new version.
Based on Jerry's suggestion I've done a little experimenting. Using a structure like this: \book { \bookpart {\include "O-Welt-ich-muss-dich.ly"} \bookpart {\include "O-Welt-ich-muss-dich.ly"} } does produce scores in sequence with headings, etc. in place, but the music processing is full of errors and the output is nonsensical (see attachment). Can someone explain to me why this approach doesn't work? I thought that anything in a \bookpart block should be independent of everything around it, is that not the case? I even tried it with multiple \book blocks, but that produced nothing at all. Brent. On Wed, 29 Apr 2020 at 02:18, Richard Shann <rich...@rshann.plus.com> wrote: > On Tue, 2020-04-28 at 23:37 +1000, Brent Annable wrote: > > Hi all, > > > > I'm looking for some general advice on how to combine about 70 files > > into one, to turn multiple files into a single PDF. > > I guess you are aware that ghostscript can concatenate your pdfs? > > gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf *.pdf > > Richard Shann > > > > > Over the past two years or so I've been typesetting a collection of > > organ pieces for a friend. After doing the first few I created a > > template that I subsequently used to set the rest, adding to it as I > > went along whenever new problems presented themselves. Now the > > collection is finished and I need to put them all together, and I'm > > just wondering about the easiest way to go about it. > > > > Most of the Lilypond files contain multiple \score blocks (usually 2 > > or 3) and the variables in each file all have the same names. I've > > attached a typical file to give an idea of what I'm dealing with > > (plus the file with my macros, for convenience). > > > > So I have about 70 files like this. How should I go about putting > > everything together? Can I do an 'include' for every file somehow? Or > > do I need to rename all the variables in each separate file to do > > that? I've never done this before, so would really appreciate being > > steered in the right direction to avoid having to reinvent the wheel. > > > > Many thanks, > > > > Brent. >
Master.pdf
Description: Adobe PDF document