Eric Benson <ebseat...@gmail.com> writes: > I'm reviving this thread from last year. What I want is a way to \include > files as if at toplevel inside a \book form. I want each to be processed as > if it were in a separate invocation of LilyPond. I would like to be able to > compile these as separate files or as parts of a book, but produce the > exact same output (except for page numbers) with PDF bookmarks and a table of > contents generated at the beginning of the output file. I can > assemble PDFs using LaTeX, but the file will be much, much smaller if > LilyPond does the assembly, because each separate PDF has its own copy > of the fonts for that file.
I use a method that produces lower quality engravings but makes it very easy to create a guitar songbook. https://www.draketo.de/kreatives/liederbuch#drucken It’s built on FilkTeX which processes lyrics with inline chords: [Am]Oj-fn [E7]farel [Am]ligt a[E7] kel-bl [Am]ligt ge[Dm]bundn [Am]mit a [E7]schtrik And adds importing of lilypond scores for the first verse by saving lilypond as png¹, setup to use a minimal paper size: https://hg.sr.ht/~arnebab/draketos-songbook/browse/der-falke-tune.ly?rev=tip#L7 #(ly:set-option 'use-paper-size-for-page #f) #(ly:set-option 'tall-page-formats 'png) \pointAndClickOff \paper{ indent=0\mm line-width=160\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f scoreTitleMarkup = ##f } compile with lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --png -o der-falke-tune der-falke-tune.ly; make -B der-falke.pdf include-call from https://hg.sr.ht/~arnebab/draketos-songbook/browse/der-falke.flk?rev=tip \catcode`\[=12%allow using [ as parameter \includegraphics[width=0.96\linewidth, keepaspectratio]{der-falke-tune} \catcode`\[=13%force [ to start chords again If you need to create such a simpler songbook, you can simply get my repo and replace the songs: git clone https://github.com/ArneBab/MakeStuff hg clone https://hg.sr.ht/~arnebab/draketos-songbook Lyrics cd Lyrics bash build.sh What I like a lot about that is that the songs are both indexed by name and by first line of the lyrics, and that it’s all plain LaTeX in the end, so I have enough freedom with styling in an easy to version file format. (documented at https://www.draketo.de/kreatives/liederbuch#erstellen) Best wishes, Arne ¹ Why use png if that reduces quality? Because many book printers have a problem with PDF and eps embedded in PDF. -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de
signature.asc
Description: PGP signature