[XeTeX] embedding PDF, 1.4 vs. 1.5
heiko.oberdiek at googlemail.com
Tue Jun 17 17:53:02 CEST 2014
On 17.06.2014 17:38, maxwell wrote:
> On 2014-06-17 11:31, maxwell wrote:
>> Late last year, I ran into a problem in which I could embed a PDF
>> v1.4, but not v1.5 (I have not tried this with newer versions of PDFs,
>> which are now up to 1.7). The problem and its work-around are
>> described here:
> The above work around involved a double conversion using pdf2ps, from
> PDF to PS and back again to PDF.
There are other less invasive options:
pdftk old.pdf cat output new.pdf
Or use another PDF library for reading/writing. When the file
is written, PDF object compression of PDF-1.5 must be disabled.
More information about the XeTeX