lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using one identifier or another


From: Johan Vromans
Subject: Using one identifier or another
Date: 16 Aug 2008 16:52:18 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Hi,

In a template file I want to check if a particular identifier has been
defined, and act accordingly.

For example:

  \score {
    \allMusic
    \layout {
    }
  }

  \score {
    \unfoldRepeats  \allMusic
    \midi {
    }
  }

In the MIDI block, I would like to use identifier allMusicForMIDI if
that has been defined, otherwise use the allMusic as indicated above.

Is there an easy (and documented) way to accomplish this?

-- Johan
   Chord is alive! http://chordii.sourceforge.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]