Am 17.12.2008 um 21:46 schrieb Aditya Mahajan:
On Wed, 17 Dec 2008, Wolfgang Schuster wrote:
Can't we add a new mode to ConTeXt to use $ and & in text
without escaping them with a backslash, & is not needed
to write tables and for inline math \formula could be used.
Also add # to the list. Basically, we can just define a catcode
regime where only \ { and } are special. Inside math mode (activated
by \formula, \math, \mathematics, or \startformula) we can switch to
a catcode regime where _ and ^ are also set to appropriate catcodes.
I would go as far as to say that we should make this default, but I
don't think everyone will like that. So, for me a
\justwritenaturally macro will do :-)
I wasn't sure if I should add # to the list bit it makes sense.
\nonknuthmode takes care to tread _ and ^ as subscript and superscript
in math mode and as normal chars in text mode.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________