lilypond-user
[Top][All Lists]
Advanced

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

Re: \include inside function


From: Valentin Petzel
Subject: Re: \include inside function
Date: Tue, 01 Feb 2022 19:10:57 +0100

Hello Leo,

Here are two ways to do it, one by using \include and one directly parsing the 
contents of the file.

Cheers,
Valentin

Am Dienstag, 1. Februar 2022, 16:09:01 CET schrieb Leo Correia de Verdier:
> Dear list!
> 
> Is there a way to have an \include inside a function?
> In the attached file includeinfunction.ly the commented out line doesn’t
> work (probably for some very logical reason, but still unknown to me). Is
> there a way to work around that and have includes inside functions?
> 
> (The function in this case is indeed meaningless, in my real use case the
> function will hopefully construct midi files from the variables in the
> included files combined in different ways)
> 
> Thanks a lot!
> 
> /Leo

Attachment: includetest.ily
Description: Text document

Attachment: includeinfunction.ly
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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