---------- Forwarded message ---------- From: Jérôme Etévé <jerome.et...@gmail.com> Date: 14 January 2011 19:05 Subject: Re: [XeTeX] Protecting pdfpages \includepdf against broken PDF To: Alan Munn <am...@gmx.com>
On 14 January 2011 19:01, Alan Munn <am...@gmx.com> wrote: > 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? It was a solution for invalid xref tables, but it turns out that there's many other ways a pdf file can be invalid :( > 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 > am...@gmx.com > > > > > -- Jerome Eteve. http://libsquare.net -- Jerome Eteve. http://libsquare.net -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex