From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Unescaped $ and & in texts
Date: Wed, 17 Dec 2008 15:46:59 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.00.0812171532290.23338@nqv-yncgbc> (raw)
In-Reply-To: <2EC7E9B1-D2B7-49B9-A39E-999EC76A8DCF@gmail.com>
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 :-)
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-12-17 20:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 20:04 Wolfgang Schuster
2008-12-17 20:46 ` Aditya Mahajan [this message]
2008-12-17 21:08 ` Wolfgang Schuster
2008-12-17 21:42 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.00.0812171532290.23338@nqv-yncgbc \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).