Re: \setupheadnumber question
Hans Hagen via ntg-context <[email protected]>
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
On 3/21/2026 5:53 PM, Florent Michel wrote:
> Hi,
>
> In case it helps, the output looks consistent with the wiki with the
> following change in strc-sec.mkxl (line 1322):
>
> \permanent\tolerant\protected\def\setupheadnumber[#1]#*[#2]% todo:
> reset if at other level
> - {\setstructurenumber{\thenamedheadlevel{#1}}{\number#2}}
> + {\setstructurenumber{\thenamedheadlevel{#1}}{#2}}
>
> (But I am, by far, not familiar enough with the code to know if this
> change would have negative effects.)
Probably ok as we convert to number at the lua end after checking.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________