[luatex] Accessing primitive registers

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Oct 13 16:30:47 CEST 2015


Hello all,

Trying to use e.g. tex.dimen for accessing primitives seems to lead to
very odd errors:

  \directlua{print(tex.dimen["pagewidth"])}

    ! LuaTeX error [\directlua]:1: incorrect index value -11 for
    tex.getdimen()
    stack traceback:
	    [C]: in function '__index'

I'm assuming this is a bug?

Joseph


More information about the luatex mailing list