ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Subject: Re: figurenumbering
Date: Mon, 18 Sep 2006 13:42:28 +0200	[thread overview]
Message-ID: <20060918134228.c5e1c0da.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <450D573D.60205@wxs.nl>

On Sun, 17 Sep 2006 16:10:05 +0200
Hans Hagen <pragma@wxs.nl> wrote:

> Wolfgang Werners-Lucchini wrote:
> >> You need the option
> >>
> >> \setupfloats[numbering=nocheck]
> >>
> >> in your document settings.
> >>
> >>     
> >
> > Hallo Wolfgang!
> >
> > This works.
> > How do you find your peaces of wisdom?
> >

Im not a TeXnician or a Texacker, more a TeX kiddie [1] and looked only
the ConTeXt module where \placefloat is defined and searched for the
command which is responsible for the numbermechanism.

> > But I have not understand the whole figurenumber thing.
> >

Me too.

> > It is obviously (my example shows this), that there must
> > be a hidden number.
> >
> > What is its name?
> > How can this number be influenzed?

Search for \preparefloatnumber in page-flt.tex

> > What is 'checked' or 'not checked' in the above option?

Try my example with checked and nochekced.

> > And why does this produce the effect I wanted?
> >   
> it's rather comples
> 
> - float numbers indeed use a number
> 
> - but when places, this number is checked against the order in which the  floats were flushed, for which their final position on the page is used 
> 
> - clone figures using the same number most be treated as well 
> 
> - when on everloads the low level number, this mechanisme is to be bypassed 
> 
> Hans 
> 

Hallo Wolfgang,

you can see a bad sideeffects by figurenumber=nocheck in my example

<example>

\setupfloats[numbering=nocheck]

\starttext

\placefigure{}{\framed{Blub}}

\placefigure[page][]{}{\framed{Bautz}}

\placefigure{}{\framed{Bla}}

This were \rawnumber[figure] figures by now!

\setnumber[figure]{8}

We want to count on with \rawnumber[figure].

\placefigure{}{\framed{Plong}}

figurenumber is incremented to \rawnumber[figure].

\stoptext

</example>

The number of the figures are set as they appear in the text and this
did not work well when one figure is set later as another one typed
later in your code.

[1] http://en.wikipedia.org/wiki/Script_kiddie

Hope you can find a solution for your problem before I send you one
when I have time too find one.

Wolfgang

  reply	other threads:[~2006-09-18 11:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.788.1158330124.2039.ntg-context@ntg.nl>
2006-09-17 11:59 ` figurenumbering Wolfgang Werners-Lucchini
2006-09-17 14:10   ` figurenumbering Hans Hagen
2006-09-18 11:42     ` Wolfgang Schuster [this message]
2006-09-28  6:33       ` figurenumbering Wolfgang Schuster
     [not found] <mailman.858.1158597384.2039.ntg-context@ntg.nl>
2006-10-10 19:22 ` figurenumbering Wolfgang Werners-Lucchini
     [not found] <mailman.167.1159780405.16231.ntg-context@ntg.nl>
2006-10-02 19:08 ` figurenumbering Wolfgang Werners-Lucchini
2006-10-05 10:35   ` figurenumbering Wolfgang Schuster
     [not found] <mailman.1.1159524004.8643.ntg-context@ntg.nl>
2006-09-29 18:53 ` figurenumbering Wolfgang Werners-Lucchini
2006-10-01 12:42   ` figurenumbering Wolfgang Schuster
     [not found] <mailman.1.1159437602.22722.ntg-context@ntg.nl>
2006-09-28 17:30 ` figurenumbering Wolfgang Werners-Lucchini
2006-09-29  9:43   ` figurenumbering Wolfgang Schuster
     [not found] <mailman.694.1157608687.2039.ntg-context@ntg.nl>
2006-09-07 20:03 ` figurenumbering Wolfgang Werners-Lucchini
2006-09-15 11:05   ` figurenumbering Wolfgang Schuster

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=20060918134228.c5e1c0da.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).