[NTG-context] numbering questions

Henning Hraban Ramm texml at fiee.net
Sat Dec 31 18:23:38 CET 2022

A happy new year to everyone!

I’m playing with some examples of section numbering.

* Is there a setup to influence the order of number segments? I.e. can I 
have “section.chapter.part“ instead of “part.chapter.section”?

* How can I format the segments, e.g. to get two or three digits each 
(leading zeros)?

* I can force a section number with “ownnumber”, but the next one is 
back in the previous scheme. Itemize has “start”. How can I start 
section chapter numbering at 3 (or -1 or whatever; I know I can start at 
0 with “zero”) and let ConTeXt continue from there?

My example tries to (ab)use the section numbering for a date (e.g. for a 

\definestructureseparatorset [default][-,-,-,-]


\define[2]\TitleCmd{#1} % number only


     New Month.

     Another day.




A new year begins.



Next year.





More information about the ntg-context mailing list