ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Randall Skelton <randall.skelton@gmail.com>
Subject: Supress chapter number in sections
Date: Tue, 3 May 2005 11:36:35 -0400	[thread overview]
Message-ID: <ba4316d3050503083677e2720@mail.gmail.com> (raw)

I've fiddled with almost every parameter in sethead but cannot seem to
find the correct one.  I'd like to suppress the chapter numbers in a
relatively large document such that numbering of sections, tables,
figures and equations begins at 1 instead of 1.1.  Is there a simple
way to do this?

Here are how my chapters and sections are currently defined:

\def\MyChapterText#1{\leftaligned{#1}}

\setuphead[Topic,chapter]
  [textcommand=\MyChapterText,
   textstyle={\switchtobodyfont[Titling,20pt]\sc},
   color=black,
   number=no,
   page=right,
   continue=no,
   header=empty,
   distance=0pt,
   before=\vbox to 3cm\bgroup,
   after=\vss\egroup]

\def\MySectionText#1{\switchtobodyfont[12pt]\sc\lowercase{#1}}

\setuphead[Subject, section]
  [textcommand=\MySectionText,
   style={\sc},
   color=black,
   before={\blank[2*big]},
   after={\blank[2*big]}]

Many thanks,
Randall

             reply	other threads:[~2005-05-03 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 15:36 Randall Skelton [this message]
     [not found] <20050504091212.BC3A31280E@ronja.ntg.nl>
2005-05-04 11:54 ` Duncan Hothersall
2005-05-05 14:41   ` Randall Skelton
2005-05-27  3:13     ` Randall Skelton
     [not found] <20050527100003.436E0127D0@ronja.ntg.nl>
2005-05-27 15:25 ` Duncan Hothersall

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=ba4316d3050503083677e2720@mail.gmail.com \
    --to=randall.skelton@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).