[pdftex] Cropping bottom margin off one-page documents.

Siep Kroonenberg siepo at cybercomm.nl
Wed Sep 22 17:49:47 CEST 2004

On Sun, Sep 19, 2004 at 01:07:12PM +0200, Heiko Oberdiek wrote:
> On Sun, Sep 19, 2004 at 08:38:28AM +0000, Michael Chapman wrote:
> You can edit the pdf file directly and correct the entry for the
> /MediaBox, but caution, do not change the number of bytes, otherwise
> the xref table will be wrong.
> Yours sincerely
>   Heiko <oberdiek at uni-freiburg.de>

There are converters to and from editable format; pdftk on Linux
and multivalent in Java. There may be others. I have only used
these for forensic purposes, so I didn't check whether `orig ->
editable -> editing -> converting back' really produces valid pdf.

Siep Kroonenberg

More information about the pdftex mailing list