Conditionally skip an entire
Roman Stawski <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <[email protected]> |
Hi folks I have a number of lilypond file which each contain several scores, call the scores A, B and C. Depending on a variable set when invoking lilypond I need to generate results which don't necessarily contain the same scores. For instance a singer might only need A and B, But an instrumentalist might need A, B and C. Is there any way to write a condition at the top level of a lilypond file (the same level as a header or a score block) to conditionally skip or process an entire score. I can do this by with a condition _inside_ the score block to skip the music content, but then I get the message "programming error: system with empty extent". Does anyone have any miracle solution ? (N.B. I'm currently running "GNU LilyPond 2.27.2 (running Guile 3.0)") Many thanks
OpenPGP_signature.asc
(application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE----- wsD5BAABCAAjFiEEKeXgtedNtQoQtRwY5HqbMPUiJU8FAmqAi/wFAwAAAAAACgkQ5HqbMPUiJU/5 /Av/SCeMnjtfMGClmhWuyJ1GB8fwUCDNeYx+KhCZrIiNHWl90OmG7HKurjBrlKLDKNoRc7Gq1Wh8 73CcglZhRXTfdmqg4EGujDz+p1a0NWiwbKfO0VVF90Nzx1+rdM9UKUcuyuE4Fk+8uxDxLi2svh/F vZaKBRPPdk1CrazGIWwEcfa9q9X3hFw85sehFxnouBgK2ekRD+O2vX9sB2YdZYXmBlSXNQjNGu+L bgGASh+p4cxEQ86zdILdHxZ+ZH48vR9I+MacQ/P1twOKKEJ+yEX7B1uAN8wl7TSu4RI2BqEmPduk bUOmXfVdUg3h+ePMnceq8+kAKhHdTuqJm6jdRVJ/c96wejX4DqX52v8vI6p1YmARmsfV1u3nScsN Za4YOm/Pc6GNVvzh4M6aDJqFy4ygWXK4aX73JHxvUZWB6BCVyTyNm0wXlV1n2R1hzeOtYdyhK4rz nbsRQTxibS74gK2jzWf4x4us4X39bOhMH9xdUaMhOBENvSlWpuhzJnhZRIC5 =THjy -----END PGP SIGNATURE-----