foxfanfare <foxfanf...@gmx.com> writes: > Aaron Hill wrote >> I would suggest using \bookOutputSuffix, but you can certainly use a >> little Scheme to concatenate the strings: > > Is it also possible to use that kind of code with \include ? I tried > something like: > > num = "01" > > %\include "../../ily/global/global.01.ily" > \include #(string-join (list "../../ily/global/global" num "ily" ) "." ) > > The first one work but not the second. Am I doing something wrong here?
That's a tricky one. The \include statement is evaluated before the assignment to "num" is complete since LilyPond syntax allows things like num = "01".oh and the ."oh" might be provided by the included file. So you need to put basically anything after the assignment to "num" before calling the \include statement. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user