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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to