Hello,

BTW, I needed to add a section numbered by zero some time ago;
there is a solution which uses "conversion" parameter.

When one needs to add a zero based section "manually" (ad hoc), there is 
another solution, too:

----
\starttext
  \bgroup
    \setuphead[section][ownnumber=yes]
    \section{0}{Zero}
      \subsection{SSecA}
    \setupheadnumber[section][0]
  \egroup
  %
  \section{Sec}
    \subsection{SSecB}
  \section{Sec2}
\stoptext
----

Best regards,

Lukas


On Tue, 12 Sep 2017 19:59:30 +0200, Wolfgang Schuster 
<schuster.wolfg...@gmail.com> wrote:

You can enable manual numbering


\setuphead[section][ownnumber=yes]

\starttext

\section{3}{Section 1}

\section{5}{Section 1}

\section{6}{Section 1}

\stoptext


or use a custom conversion


\defineconversion[drunk][3,5,6]

\setuphead[section][conversion=drunk]

\starttext

\dorecurse{3}{\expanded{\section{Section \recurselevel}}}

\stoptext


Wolfgang


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.      | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

Attachment: Sec0.mkiv
Description: Binary data

Attachment: Sec0.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to