23 Nov
2009
23 Nov
'09
1 a.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