ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jan Willem Flamma <jwfregister@icloud.com>
To: ntg-context@ntg.nl
Subject: Unexpected float numbering in unnumbered subsubsection
Date: Tue, 15 Dec 2015 09:45:22 +0100	[thread overview]
Message-ID: <0737AF9B-65BE-4FB3-8DD1-33B1977A0B79@icloud.com> (raw)


[-- 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
___________________________________________________________________________________

             reply	other threads:[~2015-12-15  8:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15  8:45 Jan Willem Flamma [this message]
     [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

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=0737AF9B-65BE-4FB3-8DD1-33B1977A0B79@icloud.com \
    --to=jwfregister@icloud.com \
    --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).