Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection
On 15-12-15 14:14, Peter Münster wrote: On Tue, Dec 15 2015, Sytse Knypstra wrote: P.S. I couldn't find the test suite. http://bfy.tw/3IIV ;) The first link on http://wiki.contextgarden.net/Test_suite gives: "The requested URL /gf/project/contexttest/ was not found on this server." Sytse ___ 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 ___
[NTG-context] Unexpected float numbering in unnumbered subsubsection
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___ 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 ___
Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection
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 Flammawrote: 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 ___ 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 ___
Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection
On 12/15/2015 11:13 AM, Sytse Knypstra wrote: 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]. fwiw: you can control numbering and prefixes at any level and for all constructs .. there are examples in the test suite Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection
On Tue, Dec 15 2015, Sytse Knypstra wrote: > 'way= bychapter' Better: 'way=bychapter' > P.S. I couldn't find the test suite. http://bfy.tw/3IIV ;) -- Peter ___ 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 ___
Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection
Sorry, I was not quite correct in my previous remark. What I did observe is that the chapter number is omitted in enumerations with the options 'way= bychapter' and 'prefix=chapter' when placed under a subsubsection for which the option 'number=no' holds, and, as Jan Willem Flamma pointed out, it is then also omitted in the figure captions. Maybe this is intended behaviour, but inconvenient for me. P.S. I couldn't find the test suite. Sytse On 15-12-15 11:29, Hans Hagen wrote: On 12/15/2015 11:13 AM, Sytse Knypstra wrote: 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]. fwiw: you can control numbering and prefixes at any level and for all constructs .. there are examples in the test suite Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___