[NTG-context] another sectioning problem in beta

2009-06-03 Thread Henning Hraban Ramm

MkIV 2009.06.03 11:48

If I use \chapter and \section, numbering is ok (1 Chapter, 1.1  
Section, 1.2 Section, 2 Chapter etc.), but when I define my own  
sectioning levels, everything gets running numbers (1 Chapter, 2  
Section, 3 Section, 4 Chapter etc.).


--- snip ---
\setuphead[chapter][page=no]

\definehead[Kapitel][chapter]
\definehead[Abschnitt][section]

\starttext

\dorecurse{20}{%
\expanded{\Kapitel{My chapter \recurselevel}}
\expanded{\Abschnitt{My Zapf \recurselevel}}
\input zapf
\expanded{\Abschnitt{My Tufte \recurselevel}}
\input tufte
}

\completecontent[criterium=all]

\stoptext
--- snip ---


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] another sectioning problem in beta

2009-06-03 Thread Alan BRASLAU
On Wednesday 03 June 2009 15:02:05 Henning Hraban Ramm wrote:
 MkIV 2009.06.03 11:48

 If I use \chapter and \section, numbering is ok (1 Chapter, 1.1
 Section, 1.2 Section, 2 Chapter etc.), but when I define my own
 sectioning levels, everything gets running numbers (1 Chapter, 2
 Section, 3 Section, 4 Chapter etc.).

Also, there are problems that I have been unable to solve yet when using 
\part.
I have been trying to understand the mkiv code as many options have changed...
For example:
\setuphead[part][resetnumber=no,placehead=yes]
\setuplist[part,chapter,section,subsection,subsubsection]
[partnumber=no,interaction=all,alternative=c]
from mkii do not work in mkiv.

Alan

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___