Hi Hans,

can you add a conversion which let us show 0 as value for the first chapter etc.


\def\zeronumberconversion#1{\number\numexpr#1-1\relax}

\defineconversion [zero] [\zeronumberconversion]

\defineconversionset [zero] [n,zero] [n]

\setuphead [sectionconversionset=zero]

\starttext

\startchapter [title=Introduction]

    \startsection [title=First topic]
    \stopsection

    \startsection [title=Second topic]
    \stopsection

\stopchapter

\stoptext


Wolfgang
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to