[NTG-context] Commands with arguments with MetaPost

Troy Henderson thenders at gmail.com
Wed Apr 25 18:15:10 CEST 2012

I would like to be able to do something like this

        fill (0,0)--(598,0)--(598,50)--(0,50)--cycle withcolor green;
        label.rt(btex #1 etex),(50,25);

and then use this in my ConTeXt document by

\foo{Some text}

However, my syntax seems to be incorrect, and I would appreciate any
help in fixing it.


Troy Henderson

More information about the ntg-context mailing list