Hans does not like counting from zero, for some reason... :-)
Alan
On Sat, 11 Aug 2018 20:13:59 +0200
Wolfgang Schuster wrote:
> 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
___
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context