[NTG-context] Captions numbering

Jose Luis Arellano jose.4rellano at gmail.com
Sun Sep 4 18:15:02 CEST 2016


2016-09-04 6:42 GMT-03:00 Wolfgang Schuster <schuster.wolfgang at gmail.com>:
> Use "incrementnumber=list" to get TOC entries for your unnumbered sections.
>
> Wolfgang

Hello Wolfgang.

In fact, with the option "incrementnumber=list" you can to show
unnumbered section in TOC but unfortunately this causes the captions
numbering problem.
In the following example you can check that when one use a
figure/table in a unnumbered section, captions will shown as Table 1,
and not as Table 1.1.

\setuphead[chapter, section, subsection]
\setuphead[subsubsection][number=no,incrementnumber=list]
\starttext
\starttitle[title={Contents}]
\stoptitle
\placelist[chapter,section,subsubsection]
\starttitle[title={Figures}]
\stoptitle
\placelist[figure]
\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
\stopsection
\stopchapter
\stoptext

Thanks.


More information about the ntg-context mailing list