[XeTeX] Protecting pdfpages \includepdf against broken PDF

Andreas Matthias andreas.matthias at gmail.com
Fri Jan 14 20:21:32 CET 2011


Jérôme Etévé wrote:

> Is there a way to protect pdfpages against such invalid files?

No. This cannot be done by a macro package. And neither xetex
nor luatex have a full-fledged pdf parser that would be necessary
for this.

> Alternatively, is there a quick way to test a pdf file for correctness
> before I include it in my latex document?

Ghostscript is quite good in spotting errors in pdf files.


Ciao
Andreas



More information about the XeTeX mailing list