21 Feb
2012
21 Feb
'12
2:03 p.m.
On 2012-02-21 Hans Hagen
I can't figure out how to determine the number of pages of a PDF file within lua.
local fig = figures.push { name = "somefile.pdf" } figures.identify() figures.check() local nofpages = fig.used.pages figures.pop()
Thanks for the snippet, Hans. Marco