pdfcrop does not work for me, as it tries to use pdftex for page generation instead of pdflatex. I /believe/ that this is a distribution specific problem. The attached patch fixes the bug for me. Debug output w/o my patch: ---------------------------------- PDFCROP 1.13, 2008/07/24 - Copyright (c) 2002-2008 by Heiko Oberdiek. * Input file: ws01.pdf * Output file: ws01-crop.pdf * Margins: 0 0 0 0 * Running ghostscript for BoundingBox calculation ... * Ghostscript call: gs -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f ws01.pdf GPL Ghostscript 8.64 (2009-02-03) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 2. Page 1 %%BoundingBox: 117 118 478 712 * Page 1: 117 118 478 712 %%HiResBoundingBox: 117.827996 118.781996 477.035985 711.737978 Page 2 %%BoundingBox: 131 561 477 712 * Page 2: 131 561 477 712 %%HiResBoundingBox: 131.706066 561.041983 476.153985 711.845978 * Running pdfTeX ... * pdfTeX call: pdftex -interaction=nonstopmode tmp-pdfcrop-17250 This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %&-line parsing enabled. ---! //var/lib/texmf/web2c/pdftex.fmt was written by pdfetex (Fatal format file error; I'm stymied) * Cleanup * Temporary files: tmp-pdfcrop-17250.tex tmp-pdfcrop-17250.log !!! Error: pdfTeX run failed! Output w/ my patch: ----------------------------------- PDFCROP 1.13, 2008/07/24 - Copyright (c) 2002-2008 by Heiko Oberdiek. ==> 2 pages written on `ws01-crop.pdf'. Reproducible: Always
Created attachment 217484 [details, diff] Patch for pdfcrop
(In reply to comment #0) > ---! //var/lib/texmf/web2c/pdftex.fmt was written by pdfetex Please try to remove that file and run 'texmf-update' (as root) first. This will probably fix your problem.
Indeed.. ty.