ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \placeformula
@ 2010-11-30 19:10 Wolfgang Schuster
  2010-12-01  9:29 ` \placeformula Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-11-30 19:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

a fix for strc-mat.mkiv

\unexpanded\def\placeformula
- {\doglobal\settrue\insideplaceformula
+ {\global\settrue\insideplaceformula
   \settrue\incrementformulanumber
   \dodoubleempty\doplaceformula}

\unexpanded\def\placesubformula
- {\doglobal\settrue\insideplacesubformula
+ {\global\settrue\insideplacesubformula
   \setfalse\incrementformulanumber
   \dodoubleempty\doplaceformula}

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: reference problem
@ 2003-02-09 19:00 Hans Hagen
  2003-02-10  5:20 ` \placeformula Albrecht Kauffmann
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Hans Hagen @ 2003-02-09 19:00 UTC (permalink / raw)


At 03:23 AM 2/9/2003 +0100, Albrecht Kauffmann wrote:
>Hi all,
>
>I have a problem with references to equationnumbers.
>
>Let \the\equationnumber be 1. If I type
>
>\reference[a]{(\the\equationnumber)}$$ (a formula) $$
>\advance\equationnumber by 1
>\reference[b]{(\the\equationnumber)}$$ (another formula) $$
>... \in[a],\in[b] ...
>
>I expect to get "... (1),(2) ...". With an older version of Context
>(2000.12.14) this works fine. But with the new version (2002.10.23), I get
>for both equation a and b the same number (namely the last, 2):
>"... (2),(2) ...".

looks pretty low level to me -)

\startformula[for:a]
a formula
\stopformula

as we see in \in {formula} [for:a] ...

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-01  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-30 19:10 \placeformula Wolfgang Schuster
2010-12-01  9:29 ` \placeformula Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2003-02-09 19:00 reference problem Hans Hagen
2003-02-10  5:20 ` \placeformula Albrecht Kauffmann
     [not found] ` <Pine.GSO.4.30.0302100617410.18455-100000@persius.rz.uni-po tsdam.de>
2003-02-10  8:53   ` \placeformula Hans Hagen
     [not found] ` <87n0l3seee.fsf@uga.edu>
2003-02-11  9:46   ` \placeformula Hans Hagen

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).