From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46387 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Unescaped $ and & in texts Date: Wed, 17 Dec 2008 22:42:59 +0100 Message-ID: <49497263.7060908@wxs.nl> 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 1229550687 22779 80.91.229.12 (17 Dec 2008 21:51:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 21:51:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 17 22:52:31 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 1LD4Ja-0005cU-Jr for gctc-ntg-context-518@m.gmane.org; Wed, 17 Dec 2008 22:52:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73EC51FB39; Wed, 17 Dec 2008 22:51:07 +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 21151-01; Wed, 17 Dec 2008 22:50:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62C841FBB5; Wed, 17 Dec 2008 22:47:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E43FA1FBB5 for ; Wed, 17 Dec 2008 22:47:20 +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 17896-03-5 for ; Wed, 17 Dec 2008 22:46:32 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id C5E841FB60 for ; Wed, 17 Dec 2008 22:43:04 +0100 (CET) Original-Received: from [10.100.1.226] (unverified [10.100.1.11]) by controller-1 (SurgeMail 3.9e) with ESMTP id 18310-1840426 for ; Wed, 17 Dec 2008 22:43:03 +0100 User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: X-Originating-IP: 10.100.1.11 X-Authenticated-User: hagen@controller-1 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:46387 Archived-At: Aditya Mahajan wrote: > 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 there is already \nonknuthmode -) > 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 :-) we can discuss this some time next year or so; it is slightly more complex than changing a few catcoded because we need to make sure that modules etc are loaded under a different catcode regime then Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________