ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unexpected behaviour of setuptyping
@ 2006-03-05 21:11 Aditya Mahajan
  2006-03-06  9:35 ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Aditya Mahajan @ 2006-03-05 21:11 UTC (permalink / raw)


Conisder
\setupcolors[state=start]
\setuptyping[option=anything] %Any value that is not a valid option
                          % none, color, normal, commands, slanted
\starttext

\startbuffer
   $\sum_{i=1}^n \frac{1}{2} n \cdot (n+1)$
\stopbuffer
\typebuffer

\stoptext

The text is typed in color. I gave an invalid option and expected it 
to have no effect, but was pleasantly surprised that it gives color 
output. There is nothing in the definition of \setupcommonverbatim in 
core-ver.tex to suggest such a behaviour. Is this a bug or a feature?

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

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

* Re: Unexpected behaviour of setuptyping
  2006-03-05 21:11 Unexpected behaviour of setuptyping Aditya Mahajan
@ 2006-03-06  9:35 ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2006-03-06  9:35 UTC (permalink / raw)




Aditya Mahajan wrote:
> core-ver.tex to suggest such a behaviour. Is this a bug or a feature?

Feature, I think. Use of color is the default behavior when
colors are enabled.

Cheers, Taco

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

end of thread, other threads:[~2006-03-06  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-05 21:11 Unexpected behaviour of setuptyping Aditya Mahajan
2006-03-06  9:35 ` Taco Hoekwater

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).