From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77969 Path: news.gmane.org!not-for-mail From: Andreas Mang Newsgroups: gmane.comp.tex.context Subject: Re: subformulas: error in latest beta Date: Tue, 21 Aug 2012 22:02:58 +0200 Message-ID: <9A0A3D06-3295-4D22-B5A8-99E3FD9E4057@imt.uni-luebeck.de> References: <05EE14C2-912C-4D3F-8526-B24966F9AC6B@imt.uni-luebeck.de> <982208A1-648C-407E-83C6-2EAB587E0B30@imt.uni-luebeck.de> <5030B7F4.6000206@wxs.nl> 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: ger.gmane.org 1345579397 1876 80.91.229.3 (21 Aug 2012 20:03:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2012 20:03:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 21 22:03:17 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 1T3ufR-00032M-Pv for gctc-ntg-context-518@m.gmane.org; Tue, 21 Aug 2012 22:03:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2364C10201; Tue, 21 Aug 2012 22:03:12 +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 AxoZMXqpuIJW; Tue, 21 Aug 2012 22:03:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A58A2101E8; Tue, 21 Aug 2012 22:03:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B4B30101E8 for ; Tue, 21 Aug 2012 22:03:02 +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 wx8LXuE19s0k for ; Tue, 21 Aug 2012 22:03:01 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id BB4D5101E0 for ; Tue, 21 Aug 2012 22:03:01 +0200 (CEST) Original-Received: from ip2.rz.uni-luebeck.de (ip2.rz.uni-luebeck.de [141.83.100.72]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7LK303x032557 for ; Tue, 21 Aug 2012 22:03:00 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlAJAKjoM1CNU3BB/2dsb2JhbABFgm20QYIuBH6BB4IhAQWBCQIBCEYyJQEBBIghA7lNiwguhg5gA4ganUuCYw Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip2.rz.uni-luebeck.de with ESMTP; 21 Aug 2012 22:02:59 +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; Tue, 21 Aug 2012 22:02:59 +0200 Thread-Topic: [NTG-context] subformulas: error in latest beta Thread-Index: Ac1/1/ZmPCfuovFrSvehy5cmChcE7w== In-Reply-To: <5030B7F4.6000206@wxs.nl> 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: 07HNw304H - b05a65d46474 - 20120821 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:77969 Archived-At: Am Aug 19, 2012 um 11:55 AM schrieb Hans Hagen: > You can put this in cont-new.mkiv (after \unprotect): > > \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} Thanks Hans! Works nicely (as always). Just as minor comment in case someone faces the same problem: There's already a \def\strc_formulas_handle_sub_numbering in cont-new.mkiv (line 36; ConTeXt ver: 2012.08.16 22:20 MKIV fmt: 2012.8.21). So to make this fix work I had to redefine / replace the original command instead of just putting it there. Cheers, Andreas ___________________________________________________________________________________ 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 ___________________________________________________________________________________