Hello all, as you might remember I am creating a musicXML exporter for Lilypond. I have reworked the system last weekend, but currently struggling to get this into the interface I want it to be in.
What I want is essentially a structure where I can do
%%%
\layout {
\musicXMLExport filename
\musicXMLAddFeatureA
\musicXMLAddFeatureB
}
%%%
for controlling output. My problem is now that these parts would need to
consist of individual \context { ... \consists ... \override ... } blocks.
Lilypond does not really have a nice way of dealing with something like this.
Naively I would just want to be able to put this into individual \layout
blocks and just splice them together by putting them into one block. But sadly
Lilypond does not do this.
I think it might be possible to actually return the `Context_def` objects from
the functions, but even then, what to do if there are multiple?
Potentially it would be possible to do a function that merges layouts, but that
would get rid of the nice interface.
So I wanted to ask if anyone here had a nice solution for the Problem?
Cheers,
Tina
signature.asc
Description: This is a digitally signed message part.
