Re: [Dev-luatex] pdfe error / question

2019-03-23 Thread Marcel Krüger
On Fri, 22 Mar 2019 19:48:46 +0100 Marcel Krüger wrote > [...] > > Do not try to print the reference object, the tostring helper is broken so > it leads to a fatal Lua error. (It uses `%i`, but it would have to use `%d` > to work.) > Hi LuaTeX team, I noticed a change relat

Re: [Dev-luatex] pdfe error / question

2019-03-22 Thread Ulrike Fischer
Am Fri, 22 Mar 2019 19:48:46 +0100 schrieb Marcel Krüger: > > The function actually exists but it is called `getstatus` instead of `status`. Ah ;-) > > > > > And how I'm supposed to extract an object reference from a > > dictionary? There are commands getinteger, getstring but nothing > >

Re: [Dev-luatex] pdfe error / question

2019-03-22 Thread Marcel Krüger
On Fri, 22 Mar 2019 18:39:17 +0100 Ulrike Fischer wrote > According to the documentation pdfe.status can be use to check if a > pdf has been opened. But when I try > > \directlua{ > dict=pdfe.open("testinput.pdf") > pdfe.status(dict)} > \bye > > I get an error > (./test

[Dev-luatex] pdfe error / question

2019-03-22 Thread Ulrike Fischer
According to the documentation pdfe.status can be use to check if a pdf has been opened. But when I try \directlua{ dict=pdfe.open("testinput.pdf") pdfe.status(dict)} \bye I get an error (./test-utf8.tex[\directlua]:1: attempt to call a nil value (field 'status') And how I'm supposed to ext