[NTG-context] figurenumbering

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Sep 28 08:33:02 CEST 2006


2006/9/18, Wolfgang Schuster <schuster.wolfgang at googlemail.com>:
>
> On Sun, 17 Sep 2006 16:10:05 +0200
> Hans Hagen <pragma at wxs.nl> wrote:
>
> > > It is obviously (my example shows this), that there must
> > > be a hidden number.
> > >
> > > What is its name?
> > > How can this number be influenzed?
>
> Hi Wolfgang

if where not able to find a o solution for your problem by yourself I give
you another
piece of code.


\unprotect

\def\floatcounter[#1]%
  {\bgroup
     \checkfloatracer{\v!float#1}%
     \nextnodelocation{\v!float#1}%
     \analyzenodelocation{\v!float#1}%
     \tagnodelocation{\v!float#1}%
   \egroup}

\protect

\starttext

\chapter{Bla}

\placefigure{}{\hrule width 6cm height 3cm}

\chapter{Bla}

\placefigure{}{\hrule width 6cm height 3cm}

\floatcounter[figure]

\placefigure{}{\hrule width 6cm height 3cm}

\chapter{Bla}

\placefigure{}{\hrule width 6cm height 3cm}

\placefigure{}{\hrule width 6cm height 3cm}

\floatcounter[figure]

\placefigure{}{\hrule width 6cm height 3cm}

\stoptext

Have fun with this example.



Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20060928/ecd9edfb/attachment.html 


More information about the ntg-context mailing list