ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Numbering of figures (was listoffloats question)
Date: Tue, 05 Sep 2006 10:21:23 +0200	[thread overview]
Message-ID: <44FD3383.1020806@boede.nl> (raw)

Hi Hans and Taco

Playing with figures and listings I detected the following:
(ConTeXt  ver: 2006.08.08 17:52  fmt: 2006.8.8  int: english  mes: english)

\mainlanguage[de]
\definefloat[SMUfigur][SMUfiguren]
\definefloat[BAINFfigur][BAINFfiguren]

Those floats are used together with the readily available figure-float 
in the following structure:

\part{First}
    \chapter
        \section
    ...

\part{Second}
    \chapter
        \section
    ...
.....

This structure is embedded in a project-structure. The figures are 
loaded from a figure-library.

Now if the \completelistoffiigures, \completelistofSMUfiguren, 
\completelistofBAINFfiguren are issued, each list gets correctly  its 
own  incremental numbering.

However if the above defined floats are defined in order to inherit from 
the figure-environment

\definefloat[SMUfigur][SMUfiguren][figure]
\definefloat[BAINFfigur][BAINFfiguren][figure]

then the numbering gets confused. i.e.. the first SMUfigur, which occurs 
in the first part in chapter 2 gets numbered 2.0. instead of 2.15.
Further numbering in the second part gets even more confusing. The first 
SMUfigur appears in the first chapter and gets numbered 1.-14, which 
should be 1.9. The next figure, which is also a SMUfigur gets numbered 
1.-13 instead of 1.10. This is repeated for the third SMUfigur: 1.-12 
instead of 1.11 - Puzzling is the - sign.and the reverse order of the 
number.

Could one of you please have a look at this?

Thanks
Willi

                 reply	other threads:[~2006-09-05  8:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=44FD3383.1020806@boede.nl \
    --to=w.egger@boede.nl \
    --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).