Alan BRASLAU wrote:
Hello,

Different structuring behavior mkiv and mkii;
How can the following minimal example be achieved under mkiv?
(mkii gives the desired behavior)

Alan

\setuphead[part][resetnumber=no,placehead=yes]
\setuplist[part,chapter,section][partnumber=no]
\starttext
\part{part one}
\chapter{chapter one}
\section{section one}
\section{section two}
\chapter{chapter two}
\section{section one}
\section{section two}
\part{part two}
\chapter{chapter three}
\section{section one}braslau
\section{section two}
\chapter{chapter four}
\section{section one}
\section{section two}
\stoptext

keys like 'partnumber' are gone in mkiv; we now have sets and segments; here is the variant with segments: (2 = section 2 == chapter)

\setuphead[part]   [resetnumber=no,placehead=yes]
% \setuphead[chapter][sectionsegments=2:100]
% \setuphead[section][sectionsegments=2:100]

\setupstructureheads[sectionsegments=2:100]

you can tune each number (also at list placement time or whatever)


-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to