From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46385 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Unescaped $ and & in texts Date: Wed, 17 Dec 2008 15:46:59 -0500 (EST) Message-ID: References: <2EC7E9B1-D2B7-49B9-A39E-999EC76A8DCF@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229547033 9498 80.91.229.12 (17 Dec 2008 20:50:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 20:50:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 17 21:51:37 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LD3Me-0006Vo-L0 for gctc-ntg-context-518@m.gmane.org; Wed, 17 Dec 2008 21:51:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 811D01FBD0; Wed, 17 Dec 2008 21:50:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10990-01-4; Wed, 17 Dec 2008 21:48:46 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3BF511FBAC; Wed, 17 Dec 2008 21:48:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 82D2D1FBAC for ; Wed, 17 Dec 2008 21:48:41 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10571-01-3 for ; Wed, 17 Dec 2008 21:47:54 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id CB2DD1FB49 for ; Wed, 17 Dec 2008 21:47:52 +0100 (CET) Original-Received: FROM dhcp128036151089.central.yale.edu (dhcp128036151089.central.yale.edu [128.36.151.89]) BY hellskitchen.mr.itd.umich.edu ID 49496576.D5F28.13637 ; 17 Dec 2008 15:47:50 -0500 In-Reply-To: <2EC7E9B1-D2B7-49B9-A39E-999EC76A8DCF@gmail.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:46385 Archived-At: 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 ___________________________________________________________________________________