I'm trying to extract pages from an existing pdf using lua.
But this approach to extract pages 11 and 30 does not work:

\starttext
\startluacode
for i, blz in ipairs({11, 30}) do
  context.startTEXpage()
  context.externalfigure("my_pdf.pdf", page=blz)
  context.stopTEXpage()
end
\stopluacode
\stoptext


Where am I missing the point?

.F

Attachment: pEpkey.asc
Description: application/pgp-keys

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to