You need the option
\setupfloats[numbering=nocheck]
in your document settings.
Hallo Wolfgang! This works. How do you find your peaces of wisdom? But I have not understand the whole figurenumber thing. It is obviously (my example shows this), that there must be a hidden number. What is its name? How can this number be influenzed? What is 'checked' or 'not checked' in the above option? And why does this produce the effect I wanted? Gruß, Wolfgang
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?
But I have not understand the whole figurenumber thing.
It is obviously (my example shows this), that there must be a hidden number.
What is its name? How can this number be influenzed? What is 'checked' or 'not checked' in the above option? 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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sun, 17 Sep 2006 16:10:05 +0200
Hans Hagen
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
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
participants (3)
-
Hans Hagen
-
Wolfgang Schuster
-
Wolfgang Werners-Lucchini