On 9/11/07, Arthur Reutenauer wrote:
Any ideas?
This is a catcode problem. Surround \start ... \stoplilypond with
\catcode`\-=11
and
\catcode`\-=12
Then you will probably experience a Lilypond problem because the line of code you type (\markup \fret-diagram ...) apparently isn't a legitimate Lilypond stand-alone score and you need to place it on the page with \mark, for example. But even then Lilypond is not so happy and complains that there is no note on the page, and you'd better put some there.
To sum up, the following works for me:
---- cut after
\usemodule[lilypond] \starttext
\catcode`\-=11 \startlilypond d'' ^ \markup { \fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;" } \stoplilypond \catcode`\-=12
\stoptext
---- cut before
I have no idea what to do in t-lilypond to fix it. Maybe you know?
For some strange reason it works here if I replace /catcode`/-=/@@letter by /catcode`/-=11 in t-lilypond.tex. Mojca