0

I used illustrator to create vector graphs and saved them as PDF files and used in latex file. I compiled the .tex file with xelatex (I use MikTeX on Windows 7) and everything was OK. The vector graphs are shown correctly in the final PDF. The code is as follows:

\usepackage{graphicx}
\includegraphics[width=0.8\textwidth]{Graphs/Example} % Example.pdf

Now, when I reinstalled the system and re-compile the .tex file, everything else was right and there was no errors for the compilation. But all the vector graphs created by illustrator are now shown as blank in the final PDF. Other graphs (.png, .jpg) are still shown correctly in the final PDF.

Am I doing something wrong? Thank you very much for your help.

-Richard

3
  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Jun 9 '14 at 5:48
  • Did you try running pdflatex instead of xelatex? – user31729 Jun 9 '14 at 5:50
  • What happens if you open the graphics files themselves using Adobe Reader? – Ian Thompson Jun 9 '14 at 6:47
1

Thank you guys. I figured out the reasons but I just don't know why. Here is what I did:

  1. I changed the PDF version from 1.5 to 1.4 when saving from illustrator and everything goes well, all graphs are showing correctly.

  2. I do remember everything was fine with including PDF1.5 graphs on my old system. So, I uninstalled MikTeX and reinstalled it. Bing! Everything works flawlessly as before with the PDF1.5 graphs. I don't need to change my graph version from 1.5 to 1.4 one by one. So I was wondering why I reinstalled MikTeX and everything works. The only change I did to MikTeX is changing the default paper size in MikTeX2.9->Mantaince(Admin)->Settings(Admin). To test it, I changed the default paper size from A4(A4size) to letter(lettersize) after reinstall MikTeX and the problem appears again, all PDF1.5 vector graphs are showing blank in final PDF.

So, I found the reasons of my problem, but I just don't know why.

Your Answer

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

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