On Wed, 20 Jul 2011 14:02:00 +0200, Hartmut Henkel <hartmut_hen...@gmx.de> 
wrote:

The lua pdf library with mkiv should be also useful, but I've still
to play with it.

luatex's epdf library (= poppler Lua bindings, maybe that's what Luigi meant) 
allows to extract all this info from a pdf file, with a bit of Lua programming.

Regards, Hartmut

Hello,

would you provide a minimal example - if it is possible in the Ctx or Lua 
scope? Something like:

----
\startluacode
  local info = SOMETHING.getInfo("File.pdf")

  local n = info.numPages
  local w = info.width
  local h = info.height
\stopluacode
----

Best regards,

Lukas

___________________________________________________________________________________
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