[NTG-context] Drops Module

Aditya Mahajan adityam at umich.edu
Mon Dec 10 18:47:45 CET 2018


Hi Peter,

I noticed that the drops module recently stopping running with the error:

/home/adityam/texmf/tex/context/third/drops/t-drops.lua:1098: bad argument 
#3 to 'format' (number has no integer representation)
stack traceback:
     [C]: in function 'string.format'
     /home/adityam/texmf/tex/context/third/drops/t-drops.lua:1098: in 
upvalue 'get_IM_paths'
     /home/adityam/texmf/tex/context/third/drops/t-drops.lua:1380: in field 
'shadow'
     [ctxlua]:1: in main chunk

This is due to the change in Lua5.3 with respect to floating point 
numbers. The simplest solution is to change '%d' to '%.0f' at appropriate 
places.

Thanks,
Aditya


More information about the ntg-context mailing list