Re: Conditional include?
Michael Scheer <[email protected]> Thu, 9 Jul 2026 08:56:17 +0200
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <[email protected]> |
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