From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77161 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: startalign broken in latest checkout Date: Wed, 4 Jul 2012 20:20:31 +0200 Message-ID: <76F84CA4-F94E-49D8-BDC6-4C0B046D7622@gmail.com> References: <4FF46E3D.1010902@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/mixed; boundary="===============1287680308==" X-Trace: dough.gmane.org 1341426052 14217 80.91.229.3 (4 Jul 2012 18:20:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2012 18:20:52 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 04 20:20: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 1SmUBy-0001op-5g for gctc-ntg-context-518@m.gmane.org; Wed, 04 Jul 2012 20:20:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6DA1101F1; Wed, 4 Jul 2012 20:20:44 +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 oloDWcLww-YX; Wed, 4 Jul 2012 20:20:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE8D9101F2; Wed, 4 Jul 2012 20:20:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D321D101F2 for ; Wed, 4 Jul 2012 20:20: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 HAw-8VPmHd1Q for ; Wed, 4 Jul 2012 20:20:40 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id B4898101F1 for ; Wed, 4 Jul 2012 20:20:40 +0200 (CEST) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q64IKdCa027902 for ; Wed, 4 Jul 2012 20:20:40 +0200 Original-Received: by wibhm6 with SMTP id hm6so4405474wib.2 for ; Wed, 04 Jul 2012 11:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=e2403840Pj1mTx7EpRE+ZUd6YCAkle3iKboA4KQZF0Y=; b=G+Ui1Z450a3XA87Q24PvViwr+bAjhZuuvD4YL3xl55Tkhr+hu4BLYiSkNPz4TYueDS UacMX6ahan0eXv630WDIuwQUcIUnZiGOQQKVuBGkxeSZVqB/6v7cKxOMzxQW4OnhLR0V t9O/YLZJPIyAMxwjPtnL0FBT4L2LFp7wI/LgT/xF8xmIzp8+HhxaiEYCp1q4czBmEK78 liR/aCEkeuk+UXrS6GAWEoio/xpzf7kIdO1h8EYLemst/szCsg6kL1U4PWL5FJbddrxG 2tWPcSUwvV9tomuCPYYPFOQTlA48yCGQi1AhkxZKG7KUzqOZnth2y9nBmYSYVgsHA/eJ UuaA== Original-Received: by 10.216.145.149 with SMTP id p21mr7102867wej.1.1341426039800; Wed, 04 Jul 2012 11:20:39 -0700 (PDT) Original-Received: from [192.168.2.36] (p54BAF6E3.dip.t-dialin.net. [84.186.246.227]) by mx.google.com with ESMTPS id q6sm38717774wiy.0.2012.07.04.11.20.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jul 2012 11:20:39 -0700 (PDT) In-Reply-To: <4FF46E3D.1010902@gmail.com> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.173; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHuikEJR - 6b2c92b9bfc2 - 20120704 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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 Xref: news.gmane.org gmane.comp.tex.context:77161 Archived-At: --===============1287680308== Content-Type: multipart/alternative; boundary="Apple-Mail=_808AE8CF-CC57-4819-AADB-8ACF7A933206" --Apple-Mail=_808AE8CF-CC57-4819-AADB-8ACF7A933206 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 04.07.2012 um 18:24 schrieb Prashanth: > Hi, > The latest checkout has a problem with even the most trivial example = of \startalign (taken from the wiki): > \starttext > \startformula \startalign > \NC v \NC =3D u + at \NR > \NC h \NC=3D ut + \frac12 gt^2 \NR > \stopalign \stopformula > \stoptext strc-mat.mkiv (I=92m not sure if the first change after \dorecurse is = correct) \def\math_build_eqalign {\scratchtoks\emptytoks - \dorecurse{\mathalignmentparameter\c!m}\def\math_build_eqalign + \dorecurse{\mathalignmentparameter\c!m}\math_build_eqalign_step \normalexpanded{\scratchtoks{\the\scratchtoks\the\c_math_align_c}}} \def\math_alignment_NR_indeed[#1][#2]% - {\donestedformulanumber{#1}{#2}% to be tagged (better an attribute) + {\strc_formulas_place_number_nested{#1}{#2}% to be tagged (better an = attribute) \crcr \dostoptagged % finish row \noalign{\glet\math_alignment_NC\math_alignment_NC_first}} % noalign = used for change state, conditional does not work here \def\math_align_NR_generic[#1][#2]% - {\donestedformulanumber{#1}{#2}\crcr} + {\strc_formulas_place_number_nested{#1}{#2}\crcr} Wolfgang= --Apple-Mail=_808AE8CF-CC57-4819-AADB-8ACF7A933206 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
=20 =20
Hi,
The latest checkout has a problem with even the most trivial example of \startalign (taken from the wiki):
\starttext
\startformula \startalign
 \NC v \NC =3D u + at \NR
 \NC h \NC=3D ut + \frac12 gt^2 \NR
\stopalign \stopformula
= \stoptext

strc-mat.mkiv (I=92m= not sure if the first change after \dorecurse is = correct)

\def\math_build_eqalign
&= nbsp; {\scratchtoks\emptytoks
- =  \dorecurse{\mathalignmentparameter\c!m}\def\math_build_eqalign
=
+ =  \dorecurse{\mathalignmentparameter\c!m}\math_build_eqalign_step
  =  \normalexpanded{\scratchtoks{\the\scratchtoks\the\c_math_align_c}}}<= /div>

\def\math_alignment_NR_indeed[#1][#2]%=
- {\donestedformulanumber{#1}{#2}% to be tagged (better an = attribute)
+ {\strc_formulas_place_number_nested{#1}{#2}% to = be tagged (better an attribute)
  =  \crcr
   \dostoptagged % finish = row
  =  \noalign{\glet\math_alignment_NC\math_alignment_NC_first}} % = noalign used for change state, conditional does not work = here

\def\math_align_NR_generic[#1][#2= ]%
- {\donestedformulanumber{#1}{#2}\crcr}
+ = {\strc_formulas_place_number_nested{#1}{#2}\crcr}

Wolfgang
= --Apple-Mail=_808AE8CF-CC57-4819-AADB-8ACF7A933206-- --===============1287680308== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1287680308==--