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

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to