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.

Here's the MWE for my problem:

\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{fontspec}
\setmainfont{Adobe Garamond}

\begin{document}
text
\begin{figure}
  \centering
\includegraphics[width=0.5in]{file.pdf}  
\end{figure}
\end{document}

I'm trying to compile this using xelatex, and am including file.pdf which is PDF 1.6.

When I compile on Ubuntu using TeXLive 2009, I get a warning about the version of the PDF file:

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

but the file compiles fine otherwise.

However, on MikTeX (v 2.9 64 bit) on cygwin, I get the following message:

** WARNING ** Version of PDF file (1.6) is newer than version limit specification.
** WARNING ** No image converter available for converting file "file.pdf" to PDF format.
** WARNING ** >> Please check if you have 'D' option in config file.
** WARNING ** pdf: image inclusion failed for "file.pdf".

The versions of xelatex are essentially the same. Some googling indicated a problem with dvipdfmx, but I'm confused as to what this has to do with xelatex. Any help would be greatly appreciated.

share|improve this question
add comment

1 Answer

You need to raise the PDF version of the document itself. Locate the file dvipdfmx.cfg, the configuration file of the driver program XeTeX uses, and edit the V line to be

V  6

Don't forget to put the default settings back afterwards — they are there for a reason! Instead of modifying the original file you can also make a copy in your local TEXMF tree.

share|improve this answer
    
Hmm. I found the global file and changed it. I also made a local copy. to no avail. Is there some tex config that I also need to run after making the change ? –  Suresh Sep 30 '11 at 7:35
    
@Suresh: No, it should work right away. Perhaps a MikTeX user can tell more. –  Andrey Vihrov Sep 30 '11 at 8:09
add comment

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.