On 10/13/2015 4:30 PM, Joseph Wright wrote:
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?
i'll have a look at it (normally it indicates a non defined register)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
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
-----------------------------------------------------------------