From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78651 Path: news.gmane.org!not-for-mail From: Andreas Mang Newsgroups: gmane.comp.tex.context Subject: Re: Numbering subformulas Date: Sun, 14 Oct 2012 22:25:15 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1350246329 6931 80.91.229.3 (14 Oct 2012 20:25:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Oct 2012 20:25:29 +0000 (UTC) Cc: Otared Kavian To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 14 22:25:36 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 1TNUkd-0001ry-5p for gctc-ntg-context-518@m.gmane.org; Sun, 14 Oct 2012 22:25:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E158D101FC; Sun, 14 Oct 2012 22:25:23 +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 6jLwrAAHNS3P; Sun, 14 Oct 2012 22:25:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0948F101EB; Sun, 14 Oct 2012 22:25:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3263B101EB for ; Sun, 14 Oct 2012 22:25:20 +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 J1WFe0bVA0va for ; Sun, 14 Oct 2012 22:25:18 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id B938A101E9 for ; Sun, 14 Oct 2012 22:25:18 +0200 (CEST) Original-Received: from ip2.rz.uni-luebeck.de (ip2.rz.uni-luebeck.de [141.83.100.72]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9EKLHGN019700 for ; Sun, 14 Oct 2012 22:21:18 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAJIee1CNU3BB/2dsb2JhbABEgm69A4EIgiABAQEDAQEBAWsLBQsCAQgYLicLJQEBBA4Fh34HAwe7fItZhV1gA4gjjl6PG4Jv Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip2.rz.uni-luebeck.de with ESMTP; 14 Oct 2012 22:25:16 +0200 Original-Received: from mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165]) by mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165%10]) with mapi; Sun, 14 Oct 2012 22:25:16 +0200 Thread-Topic: [NTG-context] Numbering subformulas Thread-Index: Ac2qSgUr5iZG6ujlS8mof/GpS+CMqg== In-Reply-To: Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.83.100.72; country=DE; region=10; city=Lubeck; latitude=53.8667; longitude=10.7000; http://maps.google.com/maps?q=53.8667,10.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIb8lhh6 - 1942e26b85ff - 20121014 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:78651 Archived-At: Hi there, I suppose the following fixes your problem though I can not tell for sure, = since you did not provide the error message: = Replace the stuff connected to = \strc_formulas_handle_sub_numbering in cont-new.mkiv = with \def\strc_formulas_handle_sub_numbering {\let\strc_formulas_handle_sub_numbering\relax % else error \doiftextelse\currentsubformulasuffix {\strc_counters_setown_sub\v!formula\plustwo\currentsubformulasuffix} {\strc_counters_increment_sub\v!formula\plustwo}% \placecurrentformulanumber} This works for me. I do this every time I update context. Please consult = [NTG-context] subformulas: error in latest beta in the mailing list. This is where I reported this bug earlier. Hans himsel= f provided the fix. Hope this helps. Cheers, Andreas = = Am Oct 14, 2012 um 9:07 PM schrieb Aditya Mahajan: > On Sun, 14 Oct 2012, Otared Kavian wrote: > = >> Hi Aditya, >> = >> It seems that numbering subformulas as described in your =AB My Way =BB = >> magazine entitled =AB Using \startalign =BB does not work with mkiv. The = >> following minimal example taken from page 6 of the above mentioned = >> manual, does not result in what is described there: >> = >> \starttext >> \placesubformula >> \startformula \startalign >> \NC a_1 x + b_1 y \NC =3D c_1 \NR[eq:c][c] >> \NC a_2 x + b_2 y \NC =3D c_2 \NR[eq:d][d] >> \stopalign \stopformula >> (\in[eq:c]) and (\in[eq:d]) form a linear system of equations. >> \stoptext >> = >> Is this a known bug? > = > I can confirm the bug. Using \startsubformulas does not work either. > = > I don't completely understand the new implementation of ConTeXt numbers, = > so I cannot suggest an immediate fix for this. > = > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________