From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31079 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: figurenumbering Date: Thu, 28 Sep 2006 08:33:02 +0200 Message-ID: <115224fb0609272333w18a3fd17hfe26ab5497e0ec41@mail.gmail.com> References: <450D54CF.20465.1673846@wwl.musensturm.de> <450D573D.60205@wxs.nl> <20060918134228.c5e1c0da.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0744304126==" X-Trace: sea.gmane.org 1159425212 30646 80.91.229.2 (28 Sep 2006 06:33:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Sep 2006 06:33:32 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 28 08:33:31 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSpSY-0007FI-K9 for gctc-ntg-context-518@m.gmane.org; Thu, 28 Sep 2006 08:33:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 194891FE6B; Thu, 28 Sep 2006 08:33:26 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19872-01; Thu, 28 Sep 2006 08:33:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 843091FE6E; Thu, 28 Sep 2006 08:33:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0D451FE6E for ; Thu, 28 Sep 2006 08:33:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19726-01-4 for ; Thu, 28 Sep 2006 08:33:06 +0200 (CEST) Original-Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by ronja.ntg.nl (Postfix) with SMTP id C11441FE6B for ; Thu, 28 Sep 2006 08:33:04 +0200 (CEST) Original-Received: by py-out-1112.google.com with SMTP id m51so577742pye for ; Wed, 27 Sep 2006 23:33:03 -0700 (PDT) Original-Received: by 10.35.119.8 with SMTP id w8mr2477060pym; Wed, 27 Sep 2006 23:33:02 -0700 (PDT) Original-Received: by 10.35.39.7 with HTTP; Wed, 27 Sep 2006 23:33:02 -0700 (PDT) Original-To: ntg-context@ntg.nl In-Reply-To: <20060918134228.c5e1c0da.schuster.wolfgang@googlemail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31079 Archived-At: --===============0744304126== Content-Type: multipart/alternative; boundary="----=_Part_3954_32121587.1159425182827" ------=_Part_3954_32121587.1159425182827 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 2006/9/18, Wolfgang Schuster : > > On Sun, 17 Sep 2006 16:10:05 +0200 > Hans Hagen 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 ------=_Part_3954_32121587.1159425182827 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

2006/9/18, Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
On Sun, 17 Sep 2006 16:10:05 +0200
Hans Hagen <pragma@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

 


 
------=_Part_3954_32121587.1159425182827-- --===============0744304126== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0744304126==--