I compile the following with pdflatex (pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian))
\pdfminorversion=5% With these lines...
\pdfobjcompresslevel=3% ... commented out...
\pdfcompresslevel=9% ... there is no warning from qpdf.
\documentclass{minimal}
\begin{document}
bla
\end{document}
and run the qpdf on the resulting pdf qpdf --linearize paper.pdf paper.linearized.pdf, then I get the following warning:
WARNING: uppsats.pdf (xref stream, file position 9448): Cross-reference stream data has the wrong size; expected = 48; actual = 52
qpdf: operation succeeded with warnings; resulting file may have some problems
Is there any way to avoid or fix this problem other than commenting out the first three lines?
paper.pdfproduced by TeX? If so, which compilation method do you use? (dvi->dvips->ps2pdf? pdftex? xetex? luatex? dvi->dvipdfm? etc). Does this warning happen only for TeX-produced PDFs? Does it happen with all TeX-produced PDFs or only some (in which case, include a minimal example so others can reproduce your issue)? Without any details it's impossible even to tell even whether this question is on-topic, let alone give any meaningful answer. – Lev Bishop May 31 '11 at 18:22\pdfminorversionconnection. – Lev Bishop Jun 1 '11 at 12:55