Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I keep getting the following line in my log file

** WARNING ** Version of PDF file (1.5) is newer than version limit specification.

with reference to each image I'm trying to include in my document. The images are inserted easily enough but I'm just a little miffed about this message. I used Inkscape to create the images, and when I was exporting them to PDF, the only option I had for versioning was 1.4. I'm also using XeTeX to compile the document.

How can I get rid of these messages?

share|improve this question

3 Answers 3

up vote 12 down vote accepted

Try this in your preamble for pdftex:

\pdfminorversion=4

for XeTeX edit the configuration file dvipdfmx.cfg which can be found for TeXLive in /texmf/dvipdfmx/ and replace the first line with

V 4

It also maybe the other way round, then change it from 4 to 5

share|improve this answer
    
Undefined control sequence. Thanks anyway. –  Chris Wilson Jan 12 '11 at 16:45
    
This doesn't work with XeTeX. –  Alan Munn Jan 12 '11 at 16:46
    
@Chris: see my amnswer for XeTeX –  Herbert Jan 12 '11 at 17:09
1  
@Alan: 5 is the default and if I understand the problem described correct than the images want to have 1.4 but the document want to be 1.5. However, otherwise it is vice versa :-) –  Herbert Jan 12 '11 at 17:13
1  
@Alan: pretty easy to solve, a look into the config file or in the pdf file will give the needed information. –  Herbert Jan 12 '11 at 17:22

You could try lowering the version numbers of the included PDFs with ghostscript's ps2pdf14.

ps2pdf14 input.pdf output.pdf

Yes, even though it says "ps2pdf14", it works with pdf files as input. (There is also ps2pdf12, ps2pdf13, etc.)

share|improve this answer
    
That's a clever observation that it works with .pdf, too! I've done this in two steps before... –  imz -- Ivan Zakharyaschev Jul 8 '13 at 1:11

If the only images that yield the warning are your Inkscape ones, then the export command wasn't doing what it claimed, since the warning says that the images are 1.5 and not 1.4 (as you thought you had exported them as.)

There is no way to specify the pdf version using xelatex (although there is in pdflatex). Howver, you can specify the minor version when running the xdvipdfmx command. So the following should get rid of the warnings: (this from the command line).

xelatex -output-driver="xdvipdfmx -V 5" <yourfile>

Depending on what OS/editor you're using you can probably make a new script/engine to do this from within your editor.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.