2010/12/15 Michael Ellis <[email protected]>>
> Jan Warchol wrote "I don't know how it could be done, and i strongly 
> recommend not doing
> this. Separating different types of content is in my opinion very
> beneficial"
> I agree that separating content is useful.  As you point out, it allows one 
> to easily recombine it in various formats.  It's just that I prefer to have 
> the computer do the work whenever possible.  Let me see if I can clarify what 
> I mean by that.
> Conceptually, I could write a preprocessor that would use special comment 
> prefixes '%!T' and '%!!T' to take input like
> %!T  These are lyr- rics
> %!!T do8  re mi fa
> %!T  and a few more.
> %!!T sol la ti do
> and output the music and the lyrics in separate variable assignments
> \tenormelody = \relative do { do8 re mi fa sol la ti do }
> \tenorlyric   =  \lyricmode  { These are ly-rics and a few more }
> and then use these in your template, right?  I can code that up in Python in 
> a heartbeat, but it's an unappealing solution for obvious reasons.   Hence 
> the query about how to do it with LilyPond and Scheme.

Ah, i understand. Yeah, this is a good idea. wish i could help with that :/

cheers,
Janek

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to