ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Numbering of figures (was listoffloats question)
@ 2006-09-05  8:21 Willi Egger
  0 siblings, 0 replies; only message in thread
From: Willi Egger @ 2006-09-05  8:21 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-05  8:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-05  8:21 Numbering of figures (was listoffloats question) Willi Egger

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).