From: Hans Hagen <pragma@wxs.nl>
Subject: Re: continuous numbering of subsection
Date: Sun, 25 Jun 2006 18:42:17 +0200 [thread overview]
Message-ID: <449EBCE9.6080200@wxs.nl> (raw)
In-Reply-To: <449EB0B6.3050207@web.de>
Ulf Martin wrote:
> Dear ConTeXt Experts
>
> I am still sometimes confused about how to set up simple things...
>
> I want to have a subsection level head type ("topic") with a numbering
> that runs undependently from the section numbering, like so:
>
> 1. First Topic
> ...
>
> I. Section One
> ...
>
> 2. Second Topic
> ...
>
> 3. Third Topic
> ...
>
> 4. Fourth Topic
> ...
>
> II. Section Two
>
> 5. Fifth Topic
> ...
>
> 6. Sixth Topic
> ...
>
> III. Section Three
> ...
>
> And so on.
>
> ConTeXtgarden, the manual, etc. show in great detail how to set up the
> /appearence/ of head parts (incl. numbercommand), but I cannot find an
> explanation of the handling of the LaTeX equivalent to counters (their
> definition, incrementing, resetting, etc.). The explanation of
> \setupheadnumber in the manual (p. 172) is quite obscure to me -- how do
> I specify that I do not want higher levels of head to reset my numbering?
>
i admit that it's a bit fuzzy ... (some day i'll make this more
transparent)
\setuphead [chapter][resetnumber=no]
\setupsection[section][previousnumber=no]
\chapter{Section One}
\section{Second Topic}
\section{Third Topic}
\section{Fourth Topic}
\chapter{Section Two}
\section{Fifth Topic}
\section{Sixth Topic}
\chapter{Section Three}
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-06-25 16:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-25 15:50 Ulf Martin
2006-06-25 16:42 ` Hans Hagen [this message]
2006-06-25 17:36 ` Ulf Martin
2006-06-26 7:23 ` Ulf Martin
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=449EBCE9.6080200@wxs.nl \
--to=pragma@wxs.nl \
--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).