TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to edit PDF using the epdf library included in LuaTeX (add, bleed/crop/trim box). I can get current trim size of the PDF (if it's set) via epdf PDFRectangle. But I didn't find defined methods to set/change thees boxes. I know that epdf is still in a development stage, but maybe there are implemented (but not documented) methods?

luatex version 0.74.

share|improve this question
@JosephWright epdf is part of LuaTeX, but I guess you know that. In that sense I think the question is perfectly valid, although I don't know the answer. – topskip Feb 28 '13 at 20:33
I don't know about version 0.74, but the manual of version 0.70 is pretty clear in saying that the epdf library is "read only". – egreg Feb 28 '13 at 23:25
I did what I need with python (pyPdf module). But I hope with luatex epdf module I will can do all thees modifications to. – Linas Mar 2 '13 at 16:32
As of version 0.76, the EPDF library is still read only. – egreg Jun 1 '13 at 22:37

At the current time (release 0.76) the LuaTeX manual states explicitly that epdf is read-only and has 'alpha' status. As such, the answer is currently 'no, you cannot do this'.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.