From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93070 Path: news.gmane.org!not-for-mail From: Sytse Knypstra Newsgroups: gmane.comp.tex.context Subject: Re: Unexpected float numbering in unnumbered subsubsection Date: Tue, 15 Dec 2015 11:13:13 +0100 Message-ID: <566FE7B9.4060801@home.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5777264584310128199==" X-Trace: ger.gmane.org 1450174452 21800 80.91.229.3 (15 Dec 2015 10:14:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Dec 2015 10:14:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 15 11:13:59 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8mcJ-0000Ch-96 for gctc-ntg-context-518@m.gmane.org; Tue, 15 Dec 2015 11:13:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 03428533E; Tue, 15 Dec 2015 11:13:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1ti_wNon86ba; Tue, 15 Dec 2015 11:13:31 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id E51E15359; Tue, 15 Dec 2015 11:13:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EE288533E for ; Tue, 15 Dec 2015 11:13:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XytGd_9T2iyC for ; Tue, 15 Dec 2015 11:13:29 +0100 (CET) Original-Received: from smtpq3.tb.mail.iss.as9143.net (smtpq3.tb.mail.iss.as9143.net [212.54.42.166]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1E5505311 for ; Tue, 15 Dec 2015 11:13:19 +0100 (CET) Original-Received: from [212.54.34.114] (helo=smtp6.mnd.mail.iss.as9143.net) by smtpq3.tb.mail.iss.as9143.net with esmtp (Exim 4.82) (envelope-from ) id 1a8mbe-0000Tr-Ta for ntg-context@ntg.nl; Tue, 15 Dec 2015 11:13:18 +0100 Original-Received: from 5249f369.cm-4-2d.dynamic.ziggo.nl ([82.73.243.105] helo=[192.168.2.104]) by smtp6.mnd.mail.iss.as9143.net with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a8mbe-00073T-Q4 for ntg-context@ntg.nl; Tue, 15 Dec 2015 11:13:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: X-Authenticated-Sender: sytse.knypstra@home.nl (via SMTP) X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.1 cv=GoC/gRBC c=1 sm=0 tr=0 a=cIF5Tx0qAAAA:8 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=wUQvQvOEmiQA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=v3ZZPjhaAAAA:8 a=zNCzKiyT531A60_XUhUA:9 a=z7EJ9Fo1AdydDuld:21 a=-rLsJTz8dOg7bCzp:21 a=QEXdDO2ut3YA:10 a=S-09YcbS9noxMNbibWsA:9 a=dyZ-V6PMbDeGclQa:21 a=6e8-BHmAHS56BuhJ:21 a=Ul7syJnGyQQ-WJ8U:21 a=_W_S_7VecoQA:10 xcat=Undefined/Undefined none X-Ziggo-Spam-Status: No X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93070 Archived-At: This is a multi-part message in MIME format. --===============5777264584310128199== Content-Type: multipart/alternative; boundary="------------090803020509000708050905" This is a multi-part message in MIME format. --------------090803020509000708050905 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear list members, I experienced even more issues with specifying 'number=no' in \setuphead (for any level). This seems not only to affect the numbering of figures and tables, but also the numbering of enumerations (it ignores the options 'way=bychapter, prefix=chapter') and the section numbering ('1.0', '2.0', etc) in \setupheadertexts [\somenamedheadnumber{section}{current}][...etc]. Sytse Knypstra On 15-12-15 09:45, Jan Willem Flamma wrote: > 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] ... etc --------------090803020509000708050905 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Dear list members,

I experienced even more issues with specifying 'number=no' in \setuphead (for any level).
This seems not only to affect the numbering of figures and tables, but also the numbering of enumerations (it ignores the options 'way=bychapter, prefix=chapter') and the section numbering ('1.0', '2.0', etc) in \setupheadertexts [\somenamedheadnumber{section}{current}][...etc].

Sytse Knypstra

On 15-12-15 09:45, Jan Willem Flamma <jwfregister@icloud.com> wrote:
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]
... etc

--------------090803020509000708050905-- --===============5777264584310128199== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============5777264584310128199==--