![](https://secure.gravatar.com/avatar/ad5afbb91c8b5ec2b1199838461a8348.jpg?s=120&d=mm&r=g)
22 Nov
2009
22 Nov
'09
5 p.m.
On Fri, 20 Nov 2009, Taco Hoekwater wrote:
Pawe? Jackowski wrote:
So once you say
pdf.obj{type = "stream", string = string.char(255)} pdf.obj("stream", string.char(255))
you don't use an explicit string, but you still get the error.
This error we can avoid with a simple patch to luatex.
Currently the stream is still converted to a token list, while there is absolutely no reason to do so.
Reopened the tracker
fwiw, pdf.obj{type = "stream", immediate=true, string = string.char(255)} should already work (no token list used). i'll try to fix the non-immediate case (likely by luaL_ref()). Regards, Hartmut