ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* some highlighted \type-ing
@ 2005-09-06 15:26 Mojca Miklavec
  2005-09-06 15:40 ` Taco Hoekwater
  0 siblings, 1 reply; 13+ messages in thread
From: Mojca Miklavec @ 2005-09-06 15:26 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-09-08 13:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-06 15:26 some highlighted \type-ing Mojca Miklavec
2005-09-06 15:40 ` Taco Hoekwater
2005-09-06 16:01   ` Mojca Miklavec
2005-09-06 16:21     ` Taco Hoekwater
2005-09-07  9:35     ` Taco Hoekwater
2005-09-07 14:53       ` Mojca Miklavec
2005-09-07 16:13         ` Nikolai Weibull
2005-09-08  9:55         ` Taco Hoekwater
2005-09-08 11:25           ` Adobe reader 7.0.1 for linux luigi.scarso
2005-09-08 12:05             ` Taco Hoekwater
2005-09-08 13:41             ` Hans Hagen
2005-09-06 16:36   ` some highlighted \type-ing Hans Hagen
2005-09-07 15:27     ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).