ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: hajtmar@gyza.cz, mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Sections numbering in miscellaneous parts of	documents (MKIV)
Date: Tue, 18 May 2010 12:49:58 +0200	[thread overview]
Message-ID: <4BF270D6.2030405@googlemail.com> (raw)
In-Reply-To: <4BF26434.90809@gyza.cz>

Am 18.05.10 11:56, schrieb Jaroslav Hajtmar:
> Thanx Wolfgang.
> It is OK. Is there any possibility continue numbering from previous 
> sections?
>
> Is there any manual or informations about this?
> I study contextref.pdf and I didnt any info about.

This seems to be not possible in MkIV because a new sectionblock resets 
the counters
for the headers (that's what i can guess from the source) and only Hans 
can help here.

The manual does currently not explain the new MkIV commands for 
numberconversion etc.
and all you can do is to search in the list archive and the wiki.


I made a short example for Hans where the remaining problem is to 
continue the header
numbering in the appendix, i.e. header '1 Three' should be '3 Three' and 
'2 Four'should
be '4 Four'.


\definestructureconversionset[numbers][][numbers]

\setupheads[sectionconversionset=numbers]
\setupuserpagenumber[numberconversionset=numbers]

\starttext

\startbodymatter

\chapter{One}

\chapter{Two}

\stopbodymatter

\startappendices

\chapter{Three}

\chapter{Four}

\stopappendices

\stoptext

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:[~2010-05-18 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 20:12 Jaroslav Hajtmar
2010-05-18  8:57 ` Wolfgang Schuster
2010-05-18  9:56   ` Jaroslav Hajtmar
2010-05-18 10:49     ` Wolfgang Schuster [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=4BF270D6.2030405@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).