![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
26 Feb
2015
26 Feb
'15
10:54 a.m.
On 02/25/2015 10:45 PM, Hans Hagen wrote:
On 2/25/2015 6:41 PM, Pablo Rodriguez wrote:
[...] \def\Myfilename{\env{filename}} doc = epdf.open(arg[\MyFilename]) total_pages_ = doc:getNumPages() \def\Mypages{total_pages} [...] Which is the right way to get the code above working?
\getfiguredimensions[whatever.pdf] \noffigurepages
Many thanks for your reply, Hans. It works like charm. Now I can generate my booklets fully automatic (for the people :-)). Many thanks again for your help, Pablo -- http://www.ousia.tk