On Fri, 6 Nov 2020 at 14:31, Henning Hraban Ramm <texml@fiee.net> wrote:


> Am 06.11.2020 um 12:54 schrieb Duncan Hothersall <dh@capdm.com>:
>
> Without MWE try \showinjector and \setinjector.
>
> I would add to that that when experimenting with \showinjector you need to have at least one \setinjector as well otherwise it doesn't show the numbers.
>

It doesn’t work for me:

lua error       > lua error on line 24 in file inhalt/99anhang.tex:

registered function call [421]: ...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:63: attempt to index a nil value (field '?')
stack traceback:
        ...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:63: in function <...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:57>
        (...tail calls...)

23     \setinjector[Person][10][{\column}]
24 >>  \showinjector[Person]


Regardless what I try as parameter of \showinjector (e.g. register, index, my own registers, one or a list) and where (in the environment or before \placeregister), I always get this error.

Bug?

LMTX version: 2020.09.20 23:02

Hraban


I don't think \showinjector needs an argument. My MWE when I was looking at this has just \showinjector after the register definition but before the \setinjector[...] commands.

Duncan