On Sat, 22 Aug 2009, Hans Hagen wrote:

Aditya Mahajan wrote:
Hi,

If I set option to empty in setuptyping, the output of \starttyping stoptyping is colored.

\setuptyping[option=]
\starttext
\starttyping
% This is a test
\stoptyping
\stoptext

This works fine in MKII, but in MKIV the % is colored. The color goes away if I set option=none. I think this is a bug, but cannot figure out its cause.

it's just the fallback:

  \edef\prettyidentifier{\executeifdefined{\??ty\??ty\ascii}{TEX}}%

add

\setvalue{\??tp:\c!option:\empty}{\let\obeycharacters\relax}

to buff-ver.mkiv and it will work ok

Thanks.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to