Hello,
this question in not straightly related to Context, but Context users may have
solved it and Ctx may be used to solve it.
I would need to get the following information from .pdf file(s):
- number of pages,
- common width and height of pages (provided that they are the same; otherwise
On 07/20/11 13:21, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
this question in not straightly related to Context, but Context users
may have solved it and Ctx may be used to solve it.
I would need to get the following information from .pdf file(s):
- number of pages,
-
2011/7/20 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
Hello,
this question in not straightly related to Context, but Context users may
have solved it and Ctx may be used to solve it.
I would need to get the following information from .pdf file(s):
- number of pages,
- common
2011/7/20 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
Hello,
this question in not straightly related to Context, but Context users
may
have solved it and Ctx may be used to solve it.
I would need to get the following information from .pdf file(s):
- number of pages,
On Wed, Jul 20, 2011 at 2:02 PM, Hartmut Henkel hartmut_hen...@gmx.de wrote:
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.
Yes, I meant the epdf library.
--
luigi
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,
On 20-7-2011 2:02, Hartmut Henkel wrote:
2011/7/20 Procházka Lukáš Ing. - Pontex s. r. o.l...@pontex.cz:
Hello,
this question in not straightly related to Context, but Context users
may
have solved it and Ctx may be used to solve it.
I would need to get the following information from .pdf
Hello,
On Wed, 20 Jul 2011 13:29:35 +0200, luigi scarso luigi.sca...@gmail.com wrote:
You can use some macros (see Taco), and for external programs
google for mupdf and xpdf
I installed Xpdf for Windows - http://gnuwin32.sourceforge.net/packages/xpdf.htm - and
pdfinfo.exe does the job:
local MyDocument = lpdf.epdf.load(sometext.pdf)
context.starttext()
local pages= MyDocument.pages
local dummy= MyDocument.pages[1] -- we need lua 5.2 in order to
avoid this
local nofpages = #MyDocument.pages
context.starttabulate { |c|c|c| }
context.NC() context(page)
context.NC()