Fantastic snippet, thank you Wolfgang!
My original code is a bit more complicated, it often (but not always)
involves artist, tempo and tonality data, like this
\define[1]\artist{{\itx #1}}
\define[1]\bpm{{\tfx #1 bpm}}}
...
\item Sway
\artist{Pussycat Dolls}
\bpm{136-138}
\item Fly me to the moon \key{Em}
\artist{Julie London}
\item Hit the road jack \key{Am}
\artist{Ray Charles}
\bpm{94}
...
How can I incorporate this optional data into song? My guess \song{Hit
the road jack \bpm{94}} does not work.
--
Best Regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________