lilypond-user
[Top][All Lists]
Advanced

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

More complex preprocessing with scheme


From: Andrew Zah
Subject: More complex preprocessing with scheme
Date: Mon, 27 Sep 2021 11:05:32 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hi all,

Is it possible to do something like have lilypond evaluate a Scheme file in order to do more complicated preprocessing of song files?

Ultimately I'd like to have a template and then include files like so, based on some logic:

% ...
\bookpart {
 \tocItem \markup "$SONG"
 \include "$FILE"
 % etc.
}
% ...

I know it's possible to achieve this with external tools, but I'd like to be able to simply run `lilypond` with some flags to change the output.

Thanks,
Andrew



reply via email to

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