Hello,

How can I make highlighted \type-d text?
I would like \type{\thisTeXcommand[option=something]} to be
highlighted in TEX style.

(The question could also be relevant for the wiki, where inline text
can only be "highlighted" with <code> or <cmd>, but not with something
similar to <texcode> or <xmlcode>.)

\startTEX ... \stopTEX makes it's own paragraph and \type can't have
any arguments.

Temporary workaround would be to make
    \hbox{\startTEX ... \stopTEX textA}textB
but I have to manually determine what to put inside "textA" (so I can
forget about line breaking algorithm).

And another request for Taco: with option=TEX, the '%' are typeset
with yellowish gray, while the actual comments remain black. How can I
make the whole comment gray?

Btw.:
\startTEX
\command
% comment % every '%' is now gray
% althoug only the first one starts the comments
\stopTEX

(After all those tricks that you Taco provided recently ... the source
for code highlighting is still too complex for me to understand and
modify.)

Thank you,
    Mojca
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to