ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Duncan Hothersall <dh@capdm.com>
Subject: Re: Two questions about \subject vs \section
Date: Mon, 23 Feb 2004 00:33:16 +0100	[thread overview]
Message-ID: <6.0.1.1.2.20040223003240.01c71ec0@localhost> (raw)
In-Reply-To: <4028C87C.4040704@capdm.com>

At 13:03 10/02/2004, you wrote:
>Hello all.
>
>I have a series of documents which use \section to create a numbered 
>heading and \subject to create an unnumbered one. I would like the 
>unnumbered headings (the \subjects) to do put the titles in the running 
>heads and in the tables of contents, like the \sections do. I have 
>experimented with \setuphead but can't see how this can be done?

\definehead
   [whatever]
   [subject]

\setuphead
   [whatever]
   [incrementnumber=list]

\starttext

\placelist[section,whatever][criterium=all]

\section{test}

\subject{subject}

\whatever{whatever}

\section{test}

\subject{subject}

\whatever{whatever}

\stoptext


>A related question which might help me answer the first - where would I 
>find the default settings for things like \chapter and \subject, so that I 
>can see how they are originally set up and therefore how to make them 
>behave differently? The tex/context/base/*.tex files don't seem to contain 
>\definehead commands for these, so I assume they must be done in a 
>different way internally?

\definesection cum suis

Hans

      parent reply	other threads:[~2004-02-22 23:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040210110009.14896.56870.Mailman@ref.ntg.nl>
2004-02-10 12:03 ` Duncan Hothersall
2004-02-10 19:23   ` Henning Hraban Ramm
2004-02-22 23:33   ` Hans Hagen [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=6.0.1.1.2.20040223003240.01c71ec0@localhost \
    --to=pragma@wxs.nl \
    --cc=dh@capdm.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).