ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setupheads[sectionnumber=no] (and retrocompatibility issue)
Date: Wed, 1 Feb 2012 18:03:22 +0100	[thread overview]
Message-ID: <69D921FA-791D-4742-B83E-9929921A9599@googlemail.com> (raw)
In-Reply-To: <87fweubxb3.fsf@universe.krase.net>


Am 01.02.2012 um 12:36 schrieb Marco Pessotto:

> 
> Hello there.
> 
> See this minimal example.
> 
> %% cut here
> \setupheads[sectionnumber=no]
> 
> \starttext
> 
> \placecontent
> 
> \chapter{Chapter}
> 
> \section{Section}
> 
> \subsection{Subsection}
> 
> \stoptext
> %% end
> 
> With version: 2012.01.25 14:16 the numbers are there (and if I tweak the
> ToC listing I get a mess). With the current (2011.05.18 22:26)
> everything is fine.
> 
> Using [number=no] with the beta the numbers disapper, while the current
> prints out the numer (and again a mess in the ToC).
> 
> http://wiki.contextgarden.net/Reference/en/setupheads says that the
> right command is sectionnumber, but it's obviously outdated.

The reference pages (and also the other wiki pages) explain often the behaviors
of MkII but for MkIV the numbering mechanism has slightly changed.

There are different ways to disable numbering for the heading, for a whole
sectionblock you can disable them with \setupsectionblock[…][number=no]
and for individual heading you can use \setuphead[…][number=no] or
\setuphead[…][incrementnumber=no].

Wolfgang
___________________________________________________________________________________
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:[~2012-02-01 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 11:36 Marco Pessotto
2012-02-01 17:03 ` Wolfgang Schuster [this message]
2012-02-01 17:31   ` Marco Pessotto
2012-02-01 17:51     ` Wolfgang Schuster

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=69D921FA-791D-4742-B83E-9929921A9599@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).