[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
if/then/else in Lilypond with config file
From: |
Hartmut Leister |
Subject: |
if/then/else in Lilypond with config file |
Date: |
Sun, 22 Jun 2014 12:27:29 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Is there a possibility to do something like this?
if( custom_cfg_flag)
{
% default score combination
% (e.g. with header and chords)
}
else
{
% some other combination
% (e.g. only melody)
}
I want to combine Lilypond score files with different config files.
I would like to either
* compile score files as stand alone with header and chords
* add score files to booklets without header or chords
I would have
* a first config file in my scores folder
(with header and chords on)
* a second one in my booklet folder
(header and chords off)
* and symlinks to my score files
I've read about the tags scheme, but can't figure out how to use them
for this special use case
A sample score file and include file can be found in
https://www.dropbox.com/sh/w2ekud6e507asdh/AACeoYQVTP1_9qQjZ_eUyZDua
Thanks
Hartmut
--
Hartmut Leister <address@hidden>
- if/then/else in Lilypond with config file,
Hartmut Leister <=