ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jose Luis Arellano <jose.4rellano@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Captions numbering
Date: Sun, 4 Sep 2016 13:15:02 -0300	[thread overview]
Message-ID: <CABLfLbD+UJkpMZKqvv7SFqek8xk7vV1tn2DFAPzwugz8n9H8Dg@mail.gmail.com> (raw)
In-Reply-To: <57CBEC92.3030507@gmail.com>

2016-09-04 6:42 GMT-03:00 Wolfgang Schuster <schuster.wolfgang@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.
___________________________________________________________________________________
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:[~2016-09-04 16:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-31 12:04 Jose Luis Arellano
2016-09-01 20:14 ` Jan Willem Flamma
2016-09-03  2:35   ` Jose Luis Arellano
2016-09-04  9:42     ` Wolfgang Schuster
2016-09-04 16:15       ` Jose Luis Arellano [this message]

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=CABLfLbD+UJkpMZKqvv7SFqek8xk7vV1tn2DFAPzwugz8n9H8Dg@mail.gmail.com \
    --to=jose.4rellano@gmail.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).