ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: formula in TABLE is not continuous numbered
Date: Sun, 12 Aug 2012 22:33:41 +0200	[thread overview]
Message-ID: <C882AD14-4901-4FDE-88DA-4D6EAA34427D@gmail.com> (raw)
In-Reply-To: <E477B11D-01E9-470E-A090-F4336A266139@st.estfiles.de>


Am 12.08.2012 um 22:19 schrieb Steffen Wolfrum <context@st.estfiles.de>:

> 
> Am 12.08.2012 um 22:10 schrieb Wolfgang Schuster:
> 
>> 
>> Am 12.08.2012 um 21:48 schrieb Steffen Wolfrum <context@st.estfiles.de>:
>> 
>>> 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=c \stopformula
>>> 
>>> \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}]
>>> \bTR
>>> \bTD[width=35mm]
>>> \placeformula
>>> \startformula c-a=b
>>> \stopformula
>>> \eTD
>>> \eTR
>>> \eTABLE
>>> 
>>> \placeformula \startformula c-b=a \stopformula
>>> 
>>> \stoptext
>> 
>> It’s 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’t be increases
>> in the first two runs.
> 
> 
> great, yet another bug hunted!
> and what can be done (on the short-run) to avoid increasing?
> 
> is there a handy command to manually count down by two?


You can replace

  \placeformula

with

  \doifnotmode{*trialtypesetting}\placeformula

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2012-08-12 20:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-12 19:48 Steffen Wolfrum
2012-08-12 20:10 ` Wolfgang Schuster
2012-08-12 20:19   ` Steffen Wolfrum
2012-08-12 20:33     ` Wolfgang Schuster [this message]
2012-08-12 20:42       ` Steffen Wolfrum
2012-08-12 22:39   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C882AD14-4901-4FDE-88DA-4D6EAA34427D@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).