lilypond-user
[Top][All Lists]
Advanced

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

Can a \bookpart be a variable?


From: Brent Annable
Subject: Can a \bookpart be a variable?
Date: Fri, 23 Sep 2022 16:17:00 +1000

Hi all,

I've been typesetting a bunch of hymns for inclusion in a larger publication, and I now have about 100 separate Lilypond files that I need to collate into a single master file. It seems easiest to me to turn each individual file into a \bookpart, set the bookpart as a variable, then \include the file name in a separate master file and call on the variable there.

But when I do that and try to compile the master, I just get a bunch of error messages in the original file (I'm using Frescobaldi, and all of the variables in the original file are highlighted in red). My question is: is this possible? Should it work if I turn the \bookpart into a variable and call on it elsewhere, and am I just making a silly programming error? Or should I try another method?

If it should be possible, I'm happy to share some files to illustrate.

Thanks for any help,

Brent.

reply via email to

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