ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Willi Egger via ntg-context <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>,
	Willi Egger <w.egger@boede.nl>
Subject: Re: Numbering of figures after defining a new float
Date: Thu, 30 Mar 2023 19:05:37 +0200	[thread overview]
Message-ID: <ca9b04a6-2f2e-dc01-20d8-0658c2825c3f@gmail.com> (raw)
In-Reply-To: <7E7F9163-A163-48D4-811D-0B141B0F78C4@boede.nl>

Willi Egger via ntg-context schrieb am 30.03.2023 um 17:09:
> Hello everybody,
>
>
> I am still working on the previously mentioned project, consisting out of different parts. There are about 25 chapters in each part and most of the chapters contain figures. When using the predefined figure environment, then all figures in the figure-list are placed correctly though at each part the numbering restarts.
>
> Now I tried to implement for each part its own float environment, which enables me to produce a figure-list per part with subtitels. How ever in the newly defined floats there is no continuous numbering i.e. chapternumber.serialnumber. Instead each float get the chapter number only.
>
> How to get the numbering right?
>
> Kind regards
> Willi
>
> The following example shows what happens:
>
> \useMPlibrary[dum]
>
> \definefloat[Afigure][Afigures][figures]
> \definefloat[Bfigure][Bfigures][figures]

The name of the existing float instance is figure (without s).

\definefloat[Afigure][Afigures][figure]
\definefloat[Bfigure][Bfigures][figure]

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2023-03-30 17:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 15:09 Willi Egger via ntg-context
2023-03-30 16:01 ` Henning Hraban Ramm via ntg-context
2023-03-30 16:58   ` Willi Egger via ntg-context
2023-03-30 17:05 ` Wolfgang Schuster via ntg-context [this message]
2023-03-30 22:08 ` Alan Braslau via ntg-context
2023-03-31  7:41   ` Willi Egger via ntg-context

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=ca9b04a6-2f2e-dc01-20d8-0658c2825c3f@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=w.egger@boede.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /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).