Re: [NTG-context] Unexpected behaviour of setuptyping

2006-03-06 Thread Taco Hoekwater


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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Unexpected behaviour of setuptyping

2006-03-05 Thread Aditya Mahajan
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context