Graham Percival <[EMAIL PROTECTED]> writes:

> On Wed, Nov 12, 2008 at 05:28:37PM +0100, Johan Vromans wrote:
> > What I'm trying to achieve is to have input lines processed
> > selectively based on whether certain symbols are defined.
> 
> Umm, use \tag?

I use this for other purposes:

  allMusic = {
    <<
      \include "chordstaff.ly"
      \include "leadstaff.ly"
      ...
      \tag #'midiOnly \include "ticktock.ly"
    >>
  }

  \score {
    \removeWithTag #'midiOnly \allMusic
    \layout {
    }
  }

  \score {
    \removeWithTag #'scoreOnly \unfoldRepeats \allMusic
    \midi {
    }
  }

I don't think the \tag mechanism is suitable for the purpose I
described in my other posting.

-- Johan


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to