Re: Assembling individual scores into a book
Actually, I believe you can do something like \includepdf[trim=0 20mm 0 0, clip, ...]{...} to cut off 20mm from the bottom. Depending on where you place your page numbers in the scores, this can enable you to cut them off when including the pages in your book. Best, Bastian On 13.02.24 01:58, Eric Benson wrote: One limitation to keep in mind is that you must not put lilypond page numbers in the scores, because pdfpages needs to write its own page numbers that correspond to the ToC. On Mon, Feb 12, 2024 at 2:42 PM Eric Benson wrote: I should say that aside from wasting space on repeated font data, my technique of using pdfpages in LaTeX is very effective and not difficult, including a mechanism for starting two-page scores on even pages. Here's my template: On Mon, Feb 12, 2024 at 2:27 PM Charlie Ma wrote: I should add that one issue with this method is with optimizing page turns. E.g., if you were relying on a piece to start on an odd page but the prior piece in the book ended on an odd page, you'd end up having to insert a blank page in order to preserve your intended page turn. For large books this can become onerous to manage. I'm hoping someone can enlighten me with a better way. thanks.
Re: Assembling individual scores into a book
One limitation to keep in mind is that you must not put lilypond page numbers in the scores, because pdfpages needs to write its own page numbers that correspond to the ToC. On Mon, Feb 12, 2024 at 2:42 PM Eric Benson wrote: > I should say that aside from wasting space on repeated font data, my > technique of using pdfpages in LaTeX is very effective and not > difficult, including a mechanism for starting two-page scores on even > pages. Here's my template: > > On Mon, Feb 12, 2024 at 2:27 PM Charlie Ma wrote: > >> I should add that one issue with this method is with optimizing page >> turns. >> E.g., if you were relying on a piece to start on an odd page but the >> prior piece in the book ended on an odd page, you'd end up having to insert >> a blank page in order to preserve your intended page turn. For large books >> this can become onerous to manage. >> I'm hoping someone can enlighten me with a better way. >> >> thanks. >> >
Re: Assembling individual scores into a book
I should say that aside from wasting space on repeated font data, my technique of using pdfpages in LaTeX is very effective and not difficult, including a mechanism for starting two-page scores on even pages. Here's my template: On Mon, Feb 12, 2024 at 2:27 PM Charlie Ma wrote: > I should add that one issue with this method is with optimizing page turns. > E.g., if you were relying on a piece to start on an odd page but the prior > piece in the book ended on an odd page, you'd end up having to insert a > blank page in order to preserve your intended page turn. For large books > this can become onerous to manage. > I'm hoping someone can enlighten me with a better way. > > thanks. > Template.tex Description: Binary data
Re: Assembling individual scores into a book
I should add that one issue with this method is with optimizing page turns. E.g., if you were relying on a piece to start on an odd page but the prior piece in the book ended on an odd page, you'd end up having to insert a blank page in order to preserve your intended page turn. For large books this can become onerous to manage. I'm hoping someone can enlighten me with a better way. thanks.
Re: Assembling individual scores into a book
I had the same challenge recently. See the attached. The individual parts are in a "/parts" directory. The "book.ly" file assembles the parts into a book with TOC. I've also attached a simple script (assemble_book) to generate the book.ly file (unix bash). I am a newb with lilypond, so I'm sure there's a better and more natively lilypond-ish way to accomplish this. I hope someone else will chime in. -charlie 01. part1.ly Description: Binary data 02. part2.ly Description: Binary data book.ly Description: Binary data #!/bin/bash echo '\version "2.24.3"' echo 'bookTitle = "book of parts"' echo '\markuplist \table-of-contents' ls ./parts/*.ly | while read partFile; do echo echo '\include "'${partFile}'"' echo '\bookpart {' echo ' \header { title = \pieceTitle}' echo ' \tocItem \markup \pieceTitle' echo ' \score { \scorePart }' echo '}' done