How do I get rid of this error:

PDF inclusion: found PDF version <1.5>, but at most version <1. 4> allowed

I tried putting \pdfoptionpdfminorversion=5 after my preamble, but nothing happens.

(Edit added by Andrew Stacey):

I've seen this error in the following situation.

  1. I created some PDFs using TeXLive2010 with the most recent stable PGF/TikZ (in case it is relevant).
  2. I cropped these PDFs using pdfcrop, again from TeXLive 2010.
  3. I sent these to another person, who included them in their document with the graphicx package.
  4. That person used TeXLive 2009 to compile the document.

(I'll need a little time to dig out a MWE! I'll need to figure out how to switch between TL2010 and TL2009 on my machine.)

  • Are you including any other PDFs as pictures? Check the PDF version of them. Which version of pdflatex are you using? – Martin Scharrer Feb 22 '11 at 9:37
  • I have two pdfs as pictures, how can I find out what version of pdflatex I'm using? – user3749 Feb 22 '11 at 9:45
  • Both the PDFs are 1.5 – user3749 Feb 22 '11 at 9:47
  • It is in the first line of the log file. Also check the PDF version of the resulting PDF. – Martin Scharrer Feb 22 '11 at 9:49
  • Where's the $log$ file? Sorry, I'm new at this :S – user3749 Feb 22 '11 at 9:55

Did you try \pdfminorversion=X ? At least it works for me...

  • Then it says ! LaTeX Error: Missing \begin{document}. – user3749 Feb 22 '11 at 9:57
  • when I have \begin{document} below it – user3749 Feb 22 '11 at 9:57
  • \documentclass{article} \pdfminorversion=6 \begin{document} Text \end{document} This is the right syntax and should run. – meep.meep Feb 22 '11 at 10:06
  • now it says geometry driver: auto-detecting geometry detected driver: pdftex and it doesn't finish and get the PDF to be previewed. – user3749 Feb 22 '11 at 10:08
  • 6
    This is no way to solve your problem. No one can find the mistakes in just tiny bits of code an error messages. You should post a minimal example (see the FAQ) please. – meep.meep Feb 22 '11 at 10:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy