From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65677 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Multiline formula numbering problems Date: Mon, 31 Jan 2011 11:43:31 +0100 Message-ID: References: <4D469133.2090100@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/mixed; boundary="===============2057056907==" X-Trace: dough.gmane.org 1296470636 17006 80.91.229.12 (31 Jan 2011 10:43:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2011 10:43:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 31 11:43:52 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PjrEe-0001lI-4w for gctc-ntg-context-518@m.gmane.org; Mon, 31 Jan 2011 11:43:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9868ACA95E; Mon, 31 Jan 2011 11:43:51 +0100 (CET) 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 osDLpyZmY4DX; Mon, 31 Jan 2011 11:43:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 27286CA937; Mon, 31 Jan 2011 11:43:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC375CA937 for ; Mon, 31 Jan 2011 11:43:46 +0100 (CET) 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 YrlkdtImb2gk for ; Mon, 31 Jan 2011 11:43:35 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id B37A1CA917 for ; Mon, 31 Jan 2011 11:43:35 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0VAhYUv018869 for ; Mon, 31 Jan 2011 11:43:35 +0100 Original-Received: by wwb29 with SMTP id 29so5651387wwb.2 for ; Mon, 31 Jan 2011 02:43:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:mime-version:content-type:subject:date :in-reply-to:to:references:message-id:x-mailer; bh=5TswNnhwy0cfQudMK/PF4K/ZQRbFMpjNwLf5WYuuT+k=; b=iPT/fkXwD7Qn35jykTFDgVjNMne317g0m9RaCCEJYgHo+AXyYUAQAwlmwVa3qRHQbC ssjWll1rjoia1kkX1uu0uXxq4zuRA0JCH6p/LXZ68JPDUH897ZPA6wnBXLapNV6uPQ8p FqkDw+M4DwpkLVB0X6tmTQM5EIE/nmcL/dEbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=nMWpsV3vijnFsMIntGP4YLSoJEwkWuIidJddz1mE2snNg3WkTYD+G6HhwKD0PIb7Ay QBkftJGIj5E7NYUJHV+xV2S1OdXCKMpuP9TuDYtZDKoDaTK4zrkkZVqxIv+D2uaRxDNZ MD44f964Y6HTARA9zPMEoLU+oaK6kPdG03h1M= Original-Received: by 10.216.62.212 with SMTP id y62mr6616971wec.9.1296470614805; Mon, 31 Jan 2011 02:43:34 -0800 (PST) Original-Received: from new-host-2.home (AOrleans-553-1-55-70.w92-152.abo.wanadoo.fr [92.152.77.70]) by mx.google.com with ESMTPS id r38sm10690350weq.23.2011.01.31.02.43.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 02:43:33 -0800 (PST) In-Reply-To: <4D469133.2090100@gmail.com> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 0rE2aHztE - 72257bf6f8e0 - 20110131 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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:65677 Archived-At: --===============2057056907== Content-Type: multipart/alternative; boundary=Apple-Mail-4-335831424 --Apple-Mail-4-335831424 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi Vyatcheslav, In fact you should say \NR[+] at the end of each line in \startalign in = order to get numbers. This works for me: \starttext \placeformula=20 \startformula=20 \startalign \NC \dot{x}(t) \NC=3Df(x(t), u(t)) \NR[+] \NC y(t) \NC=3Dh(x(t), u(t)), \NR[+] \stopalign \stopformula \stoptext Best regards: OK On 31 janv. 2011, at 11:38, Vyatcheslav Yatskovsky wrote: > \starttext >=20 > % has number > \placeformula \startformula > f(x_0, u_0)=3D0. > \stopformula >=20 > % has no number > \placeformula \startformula \startalign > \NC \dot{x}(t) \NC=3Df(x(t), u(t)) \NR > \NC y(t) \NC=3Dh(x(t), u(t)), \NR > \stopalign \stopformula >=20 >=20 > % no numbers even here > \startsubformulas > \placeformula \startformula > \dot{x}(t)=3Df(x(t), u(t)) > \stopformula > \placeformula \startformula > y(t) =3Dh(x(t), u(t)), > \stopformula > \stopsubformulas >=20 > \stoptext >=20 > Regards, > Vyatcheslav %%%%%%%%%%%%%%%%%% Otared Kavian D=E9partement de Math=E9matiques Universit=E9 de Versailles Saint-Quentin B=E2timent Fermat 45 avenue des Etats Unis 78035 Versailles cedex T=E9l=E9phone: +33 1 39 25 46 42 Secr=E9tariat: +33 1 39 25 46 44=20 Secr=E9tariat: +33 1 39 25 46 46 e-mail: Otared.Kavian@math.uvsq.fr --Apple-Mail-4-335831424 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Hi = Vyatcheslav,

In fact you should say \NR[+] at the end = of each line in \startalign in order to get numbers.
This = works for = me:
\starttext

\placeformula =
\startformula 
\startalign
\NC = \dot{x}(t) \NC=3Df(x(t), u(t)) \NR[+]
\NC y(t) \NC=3Dh(x(t), = u(t)), = \NR[+]
\stopalign
\stopformula

\stoptext
Best regards: OK

On = 31 janv. 2011, at 11:38, Vyatcheslav Yatskovsky wrote:

\starttext

% has number
\placeformula = \startformula
f(x_0, u_0)=3D0.
\stopformula

% has no = number
\placeformula \startformula \startalign
\NC \dot{x}(t) = \NC=3Df(x(t), u(t)) \NR
\NC y(t) \NC=3Dh(x(t), u(t)), = \NR
\stopalign \stopformula


% no numbers even = here
\startsubformulas
\placeformula = \startformula
\dot{x}(t)=3Df(x(t), = u(t))
\stopformula
\placeformula \startformula
y(t) =3Dh(x(t), = u(t)),
\stopformula
\stopsubformulas

\stoptext

Regards= ,
Vyatcheslav

%%%%%%%%%%%%%%%%%%
Otared = Kavian
D=E9partement de Math=E9matiques
Universit=E9 = de Versailles Saint-Quentin
B=E2timent Fermat
45 = avenue des Etats Unis
78035 Versailles = cedex

T=E9l=E9phone: +33 1 39 25 46 = 42
Secr=E9tariat: +33 1 39 25 46 = 44 
Secr=E9tariat: +33 1 39 25 46 = 46




= --Apple-Mail-4-335831424-- --===============2057056907== 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 ___________________________________________________________________________________ --===============2057056907==--