ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unexpected float numbering in unnumbered subsubsection
@ 2015-12-15  8:45 Jan Willem Flamma
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Willem Flamma @ 2015-12-15  8:45 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1553 bytes --]

Dear list members,

I ran into the following issue related to figure/float numbering.

I use numbered chapters, sections, subsections and unnumbered subsubsections. See minimal example below.

Figure numbering works as expected in the numbered chapters, sections and subsections.
Figures get numbered: Figure 1.1

The figure numbering is unexpected in the unnumbered sub subsection:
Figures get numbered: Figure 2 (in stead of the expected Figure 1.2)

I would like all figures (and floats) to be numbered in sequence according the chapter numbering:
Chapter 1: Figure 1.1, Figure 1.2, Table 1.3, Figure 1.4, etc
Chapter 2: Figure 2.1, Figure 2.2 etc

I've tried several \setupcaptions options but was unable to solve so far.
Everything works as expected when using a numbered subsubsection so the problem is somehow related to the number=no option

Minimal example:
\setuphead[chapter, section, subsection]
\setuphead[subsubsection]
	[number=no]
	
\starttext

\startchapter[title=Chapter title]
\input ward
	
\startsection[title=Section title1]
\input ward

\placefigure[here][]{Caption}
	{\externalfigure[dummy]}
	
\startsubsubsection[title=Subsubsection title]
\input ward

\placefigure[here][]{Caption}
	{\externalfigure[dummy]}

\stopsubsubsection
\stopsection

\startsection[title=Section title2]
\input ward

\placefigure[here][]{Caption}
	{\externalfigure[dummy]}

\stopsection

\stopchapter
\stoptext

Would appreciated some advise on how to solve this.

Best regards,
Jan Willem Flamma

[-- Attachment #1.2: Type: text/html, Size: 7193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <mailman.154.1450169139.2404.ntg-context@ntg.nl>]

end of thread, other threads:[~2015-12-16 14:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-15  8:45 Unexpected float numbering in unnumbered subsubsection Jan Willem Flamma
     [not found] <mailman.154.1450169139.2404.ntg-context@ntg.nl>
2015-12-15 10:13 ` Sytse Knypstra
2015-12-15 10:29   ` Hans Hagen
2015-12-15 12:43     ` Sytse Knypstra
2015-12-15 13:14       ` Peter Münster
2015-12-16 13:43         ` Sytse Knypstra
2015-12-16 14:17           ` Peter Münster

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