# [luatex] extended registers for \insert

Hans Hagen pragma at wxs.nl
Tue Jun 30 00:20:10 CEST 2015

On 6/29/2015 10:57 PM, David Carlisle wrote:
> etex and xetex can not use registers higher than 256 with \insert, however
> the following plain tex works without error with luatex
>
>
>
> \mathchardef\footins=1000
>
> qqq\footnote{1}{zzz}
>
> \bye
>
> Can this be relied on, and luatex will accept the full box register
> range with \insert?

sure

> If so could \insert be added to the manual in section 2.4 where \box \count etc
> are listed as accepting 16-bit numbers,
>
> Thanks
>
> David
>
> (It would be nice to avoid the ugly \reserveinserts trick used with etex to
> preserve space for inserts below 256, but I'm wary of using
> undocumented features)

you can use a different \outputbox

Hans

-----------------------------------------------------------------
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------