[NTG-context] Strange error with combination of itemization, footnote and \crlf

Hans Hagen j.hagen at xs4all.nl
Tue Oct 22 23:54:39 CEST 2019


On 10/22/2019 2:16 PM, context at vivaldi.net wrote:
> Hello,
> 
> here is a minimal sample which doesn't compile:
> 
> ----
> \starttext
>    \startitemize
>      \item
>        A\footnote{%
>          B
>          \startitemize
>            \item C
>          \stopitemize
>        }\crlf
>        D
> 
>      \item E % <<<< This sample compiles when this line is commented (?!)
>    \stopitemize
> \stoptext
> ----
> 
> The error message is:
> 
> "
> ...
> ...eta/tex/texmf-context/tex/context/base/mkiv/strc-num.lua:465: attempt 
> to index a nil value (local 'd')
> 
>   2       \startitemize
>   3         \item
>   4           A\footnote{%
>   5             B
>   6             \startitemize
>   7               \item C
>   8             \stopitemize
>   9           }\crlf
> 10           D
> 11
> 12 >>      \item E % <<<< This sample compiles when this line is commented
> 13       \stopitemize
> 14     \stoptext
> 15
> "
> 
> When the "\item E" is commented, the sample compiles successfully.
> 
> ConTeXt version: "ConTeXt  ver: 2019.10.11 15:47 MKIV beta  fmt: 
> 2019.10.16  int: english/english".
> 
> Any idea what's going wrong?
side effect of recent attempt to deal with nesting ... fixed in next beta

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list