[XeTeX] Protecting pdfpages \includepdf against broken PDF
Alan Munn
amunn at gmx.com
Fri Jan 14 20:01:41 CET 2011
On Jan 14, 2011, at 1:53 PM, Jérôme Etévé wrote:
> Hi All,
>
> I'm using pdfpages to include user uploaded PDF documents into a
> larger latex document, and I'm constantly experiencing problem with
> invalid PDF files (They are invalid in all sorts of ways)
>
> Is there a way to protect pdfpages against such invalid files?
> Alternatively, is there a quick way to test a pdf file for correctness
> before I include it in my latex document?
Didn't Heiko Oberdiek give you a solution to this problem earlier?
On Dec 22, 2010, at 6:12 PM, Heiko Oberdiek wrote:
> * Or run the file through pdftk to generate a fixed pdf file:
> pdftk matrix-broken.pdf cat output matrix-fixed.pdf
Alan
--
Alan Munn
amunn at gmx.com
More information about the XeTeX
mailing list