[NTG-context] \autoinsertedspace fails following \nbsp under LMTX

Rik Kabel ConTeXt at rik.users.panix.com
Thu Nov 17 06:43:04 CET 2022

ConTeXt  ver: 2022.11.14 22:58 LMTX on W11 x64

I have been testing the recently added \autoinsertedspace, and I found 
an odd failure.

The following compiles with \nbsp commented as shown, but once that line 
is active, the compilation fails:

    lua error:
             callback error:
    table index is nil

It fails differently in MkIV (but it is nice to see that the new command 
has been backported):

    luatex warning  > node filter: error:
    Attempt to node.direct.remove() a non-existing node


    \starttexdefinition unexpanded New
    \starttexdefinition doNew #1#2
        \ (#1|–|#2)


       ABC 0\New{123}{456} 789

    % \nbsp
       0\New{123}{456} 789


Am I doing something wrong here? \nbsp is needed to prevent improper 
line breaks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20221117/50262b85/attachment.htm>

More information about the ntg-context mailing list