[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: if/then/else in Lilypond with config file
From: |
Johan Vromans |
Subject: |
Re: if/then/else in Lilypond with config file |
Date: |
Fri, 16 Jan 2015 08:23:24 +0100 |
> 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)
> }
If having defined a LP variable counts as custom_cfg_flag, the attached
files may be useful.
-- Johan
ifdefined.ly
Description: Text Data
ifthenelse.ly
Description: Text Data