Hi Jakub,

> conditional include is possible with ly:parser-include-string
> https://github.com/igneus/lilygabc/blob/72c351a8032149013c3341335c1abc6e175a8b69/bin/rendergabc.ly#L18

Big thank you! It's awesome and works. I first misunderstood your link, I
thought I need some kind of Linux/and/or/Environment variables...

So here, for the records, a conditional include example + accessing a subdir:

#(if (= Clarinet 1) (ly:parser-include-string "\\include 
\"music/Clarinet-I.ily\""))

Best regards
Michael

Reply via email to