Aditya Mahajan wrote:
Hi,
How can I define a command that is the inline version of \startTEX ... \stopTEX. (I need to show inline commands in color). There had been a discussion on this in the past, and Taco had suggested a solution
http://archive.contextgarden.net/thread/20050907.093522.baf795f5.en.html
which is also posted on the wiki.
http://wiki.contextgarden.net/Verbatim_text#In-line_text
However, due to the recent changes in verbatim code, that solution no longer works. Can anyone suggest how to fix it?
\setupcolors[state=start] \setuptype[option=TEX] \definetype[typeTEX][option=tex] \starttext \type+\type{\type is a wonderful macro}+, isn't it? \typeTEX+\typeTEX{\typeTEX is a wonderful macro}+, isn't it? \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------