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. Aditya
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 ----------------------------------------------------------------- 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 -----------------------------------------------------------------
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
participants (2)
-
Aditya Mahajan
-
Hans Hagen