At 09:35 AM 3/21/2003 +0000, you wrote:
I was wondering if anyone who works with the verbatim environments has tried to set comments in a different style. It would be ideal to be able to set comments in \tf text font or some variant. I'm not really interested in colors at the moment.
The immediate need is for working with a Pascal-like language, but I've been a bit baffled as to how to grab and process XML comments also (though I haven't look at that recently).
\starttext \setuptyping[option=TEX] \starttyping test test %%\ N {\sl test} \stoptyping \stoptext So, %%\ triggers some kind of mode (see verb-ini.tex for details and examples) Another way is: \setuptyping[option=slanted] \starttyping test test <<test>> test \stoptyping There is yet another way but i just found out that it has a problem (seems that i never use it) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------