From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77404 Path: news.gmane.org!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: Is startalign broken in mkiv? Date: Wed, 18 Jul 2012 03:13:33 +0000 Message-ID: <3CEC50C1-3EF3-4C93-9E11-03A944207A23@emory.edu> References: <9E4A908A-44E7-4E7A-B0FF-D51A0B31B2B3@indiana.edu> <5005F281.1020604@wxs.nl> <63F71C8E-D5B6-49D3-BEFB-26958BC7C5A3@indiana.edu> <20120717234106.GA3653@khaled-laptop> <6D958337-D8E9-413E-AC6B-6B874538EF5D@indiana.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342581229 21331 80.91.229.3 (18 Jul 2012 03:13:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Jul 2012 03:13:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 18 05:13:49 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SrKhu-0008HD-D2 for gctc-ntg-context-518@m.gmane.org; Wed, 18 Jul 2012 05:13:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 120BE10258; Wed, 18 Jul 2012 05:13:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sSckGNwLgn14; Wed, 18 Jul 2012 05:13:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 87EA510263; Wed, 18 Jul 2012 05:13:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 982E710263 for ; Wed, 18 Jul 2012 05:13:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HLyV071UnLCe for ; Wed, 18 Jul 2012 05:13:40 +0200 (CEST) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 1D23810258 for ; Wed, 18 Jul 2012 05:13:39 +0200 (CEST) Original-Received: from ws-mr2.cc.emory.edu (ws-mr2.cc.emory.edu [170.140.50.232]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6I3Dagp019939 for ; Wed, 18 Jul 2012 05:13:38 +0200 Original-Received: from e14edge2w.Emory.Edu (emoryfloatdmz.cc.emory.edu [170.140.52.254]) by ws-mr2.cc.emory.edu (8.13.8/8.13.8) with ESMTP id q6I3DYWq028390 for ; Tue, 17 Jul 2012 23:13:34 -0400 Original-Received: from E14HYBRID1N.Enterprise.emory.net (170.140.30.28) by e14edge2w.Emory.Edu (170.140.108.22) with Microsoft SMTP Server (TLS) id 14.2.283.3; Tue, 17 Jul 2012 23:13:34 -0400 Original-Received: from E14MBX23N.Enterprise.emory.net ([fe80::b473:ef05:b37f:5ccd]) by e14hybrid1n.Enterprise.emory.net ([2002:aa8c:1e1c::aa8c:1e1c]) with mapi id 14.02.0298.004; Tue, 17 Jul 2012 23:13:34 -0400 Thread-Topic: [NTG-context] Is startalign broken in mkiv? Thread-Index: AQHNZGq0ITZtVjYshU282lUZA+4O+ZcuXtqAgAAEI4CAAAKAAIAAI5mAgAAXwQA= In-Reply-To: <6D958337-D8E9-413E-AC6B-6B874538EF5D@indiana.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [170.140.30.131] Content-ID: <73C3EBBE40538347AC9C32466D4143C8@Enterprise.emory.net> X-Emory-MailScanner-Information: Please contact the ISP for more information X-Emory-MailScanner-ID: q6I3DYWq028390 X-Emory-MailScanner: Found to be clean X-Emory-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.01, required 8, autolearn=disabled, T_RP_MATCHES_RCVD -0.01) X-Emory-MailScanner-From: mroge02@emory.edu X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=170.140.50.232; country=US; region=GA; city=Atlanta; postalcode=30322; latitude=33.7952; longitude=-84.3248; metrocode=524; areacode=404; http://maps.google.com/maps?q=33.7952,-84.3248&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04HzDdBHB - 7b9623fc1d19 - 20120718 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77404 Archived-At: Here's a backward-compatibility hack that works on your minimal example. Maybe it will save the dozens of files without changing all the &s: \let\oldstartalign=\startalign \let\oldstopalign=\stopalign \let\oldbs=\\ \def\startalign{\catcode`&=4\let\\=\cr\oldstartalign} \def\stopalign{\oldstopalign\catcode`&=12\let\\=\oldbs} \starttext This \& that & the other thing: \startformula \startalign v &= u + at \\ h &= ut + \frac12 gt^2 \\ \stopalign \stopformula That \& this & yet another thing. \stoptext Hope that helps. Michael On Jul 17, 2012, at 6:48 PM, Matthias Weber wrote: > It was never a problem in TeX to modify the control characters used according to your own pleasure. For me, the problem is now to change the 200+ occurrences of start/stopaligns distributed over dozens of files to the politically correct syntax. > > Matthias > > On Jul 17, 2012, at 7:41 PM, Khaled Hosny wrote: > >> The use of & (which is a common symbol) as a control character is a long >> standing idiosyncrasy of TeX that I'm glad ConTeXt has got rid of. >> >> On Tue, Jul 17, 2012 at 07:32:09PM -0400, Matthias Weber wrote: >>> Thanks - I wasn't aware that the human readable version had been deprecated :( >>> >>> Matthias >>> >>> On Jul 17, 2012, at 7:17 PM, Hans Hagen wrote: >>> >>>> On 18-7-2012 00:22, Matthias Weber wrote: >>>>> \starttext >>>>> \startformula \startalign >>>>> v &= u + at \\ >>>>> h &= ut + \frac12 gt^2 \\ >>>>> \stopalign \stopformula >>>>> \stoptext >>>>> >>>>> >>>>> ---->> >>>>> >>>>> ConTeXt ver: 2012.07.17 16:42 MKIV fmt: 2012.7.17 int: english/english >>>>> (...) >>>>> ! Missing $ inserted. >>>>> >>>>> system > tex > error on line 3 in file test.tex: Missing $ inserted ... >>>>> >>>>> 1 \starttext >>>>> 2 \startformula \startalign >>>>> 3 >> v &= u + at \\ >>>>> 4 h &= ut + \frac12 gt^2 \\ >>>>> 5 \stopalign \stopformula >>>>> 6 \stoptext >>>>> >>>>> Thanks - >>>> >>>> the context way is: >>>> >>>> \startformula \startalign >>>> \NC v \NC = u + at \NR >>>> \NC h \NC = ut + \frac12 gt^2 \NR >>>> \stopalign \stopformula >>>> >>>> >>>> ----------------------------------------------------------------- >>>> Hans Hagen | PRAGMA ADE >>>> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >>>> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com >>>> | www.pragma-pod.nl >>>> ----------------------------------------------------------------- ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________