8 Jan
2014
8 Jan
'14
12:34 a.m.
Hi! pdftex is eating the last new-lines in streams included with includegraphics, when the stream has an extra new-line. Toy example; an object in the PDF image looks like this: 15 0 obj <>stream ABCDF endstream endobj [there are just new-lines at the end of ABCDF and in the next line]. When I include this PDF with includegraphics, the last new-line disappears, but the stream Length count does not get updated (or touched at all, as far as I can tell): 15 0 obj <>stream ABCDF endstream endobj This produces an error when trying to get PDF/A compliance, which is strict about stream lengths. Best, Florian