[luatex] Using libraries from luarocks

Nils Pickert nils at mipi.de
Thu Oct 18 19:18:41 CEST 2018


Arigatou Gozaimasu! This works perfectly :-)

LuaTeX is still a bit confusing for me.

Thanks all for your help!
Nils

Am 18.10.18 um 18:43 schrieb ARATA Mizuki:
> Hi Nils,
> 
> The value returned by :entry("DateTime") is a userdata, not a string.
> Although (the standard) print() automatically converts it to a string via tostring(), tex.print() does not.
> Therefore, you need to call tostring() manually, like this:
>> tex.print(tostring(data:ifd("0"):entry("DateTime")))
> 



More information about the luatex mailing list