From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77893 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: formula in TABLE is not continuous numbered Date: Mon, 13 Aug 2012 00:39:02 +0200 Message-ID: <50283086.6060601@wxs.nl> References: <56B3CA86-6EA3-42B2-BBEC-26599E8AB94B@st.estfiles.de> <9599DFD1-B01A-42DF-B840-3BDDE343909E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344811191 2501 80.91.229.3 (12 Aug 2012 22:39:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2012 22:39:51 +0000 (UTC) Cc: Wolfgang Schuster To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 13 00:39:48 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 1T0goy-0002Mu-Vy for gctc-ntg-context-518@m.gmane.org; Mon, 13 Aug 2012 00:39:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2F36F10200; Mon, 13 Aug 2012 00:39:43 +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 Fu5pk1XYpG5a; Mon, 13 Aug 2012 00:39:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1A9BA101F0; Mon, 13 Aug 2012 00:39:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD44D101F0 for ; Mon, 13 Aug 2012 00:39:35 +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 ZQsgKQKs+Czw for ; Mon, 13 Aug 2012 00:39:33 +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 2F9D5101EC for ; Mon, 13 Aug 2012 00:39:33 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7CMdVW0032647 for ; Mon, 13 Aug 2012 00:39:32 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 2600-1713362 for multiple; Mon, 13 Aug 2012 00:39:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <9599DFD1-B01A-42DF-B840-3BDDE343909E@gmail.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=16; city=Zeewolde; latitude=52.3302; longitude=5.5364; http://maps.google.com/maps?q=52.3302,5.5364&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHJWDwlA - bd581dba837f - 20120813 (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.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:77893 Archived-At: On 12-8-2012 22:10, Wolfgang Schuster wrote: > > Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum : > >> Hi, >> >> please have a look at this minimal example below: >> you'll find three formulas (1), (4), (5) >> >> What happen to (2) and (3)? >> >> Steffen >> ....... >> >> \starttext >> >> \placeformula \startformula a+b=3Dc \stopformula >> >> \bTABLE[frame=3Don,align=3Dright,width=3Dfit,style=3D{\switchtobodyfont[= 9pt]}] >> \bTR >> \bTD[width=3D35mm] >> \placeformula >> \startformula c-a=3Db >> \stopformula >> \eTD >> \eTR >> \eTABLE >> >> \placeformula \startformula c-b=3Da \stopformula >> >> \stoptext > > It=92s a bug in the formula numbering. Natural tables perform three runs = on the table > content to calculate the cell size but formula etc. counters shouldn=92t = be increases > in the first two runs. It's always hard to predict side effects (as we can have more data being = involved; also. not incrementing will give the wrong number and = therefore the wrong size calculations. Something like the following can = be used for testing: \let\strc_formulas_handle_numbering_indeed = \strc_formulas_handle_numbering \let\strc_formulas_handle_sub_numbering_indeed\strc_formulas_handle_sub_num= bering \let\strc_formulas_handle_sub_number_indeed = \strc_formulas_handle_sub_number \def\strc_formulas_handle_numbering {\iftrialtypesetting \strc_counters_save\v!formula \strc_formulas_handle_numbering_indeed \strc_counters_restore\v!formula \else \strc_formulas_handle_numbering_indeed \fi} \def\strc_formulas_handle_sub_numbering {\iftrialtypesetting \strc_counters_save\v!formula \strc_formulas_handle_sub_numbering \strc_counters_restore\v!formula \else \strc_formulas_handle_sub_numbering \fi} \def\strc_formulas_handle_sub_number % sub formulas {\iftrialtypesetting \strc_counters_save\v!formula \strc_formulas_handle_sub_number_indeed \strc_counters_restore\v!formula \else \strc_formulas_handle_sub_number_indeed \fi} ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________