[NTG-context] mkii to mkiv - section numbering with minimal example

Hans Hagen j.hagen at xs4all.nl
Sun Jun 23 11:08:52 CEST 2019


On 6/23/2019 10:26 AM, Duncan Hothersall wrote:
> Further to my previous query about updating from mkii to mkiv, I have 
> solved some of the issues by trial and error but am beginning to 
> identify the ones I can't resolve. My first minimal example is below.
> 
> I want the sections and subsections not to prefix the part and chapter 
> numbering, giving me this output:
> 
> Part 1
> Chapter 1.1
> Section 1
> Subsection 1.1
> 
> The line that used to achieve this result was
> 
> \setupsection[section-3][previousnumber=no]
> 
> and there was also
> 
> \setuphead[section][partnumber=no,chapternumber=no]
> 
> but neither of these seems to work in mkiv
> 
> 
> Minimal example:
> 
> \setupsection[section-3][previousnumber=no]
> \setuphead[section][partnumber=no,chapternumber=no]
> 
> \starttext
> \part{Part}
> Part
> \chapter{Chapter}
> Chapter
> \section{Section}
> Section
> \subsection{Subsection}
> Subsection
> \stoptext
> 
> Many thanks for any pointers.
in the test suite there are all kind of examples (zip can be downloaded 
from the website)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list