I am getting problems while updating the eps files. Can anyone help me how to use this package. I used inkscape software to draw the image and saved it in .eps format. Then i used epstopdf package in my latex script then using includegraphics i gave the file name, but i am not getting proper output, and there is no error message also. Can anyone help how to use this command. Is that i have to use some more packages? or is that there is any other way to save eps files from inkscape? Please help...

Minimal example:


\usepackage{siunitx} % to recognise the written description of si-units and   make the acronym. 



  % ********* Font definition *************
  \usepackage{t1enc} % as usual
  \usepackage[latin1,utf8]{inputenc} % as usual

  %********For high quality figure (e.g: Matlab figures in latex )**********
  \usepackage{epstopdf} % converts .eps image files to .pdf on the fly
  %\usepackage{xelatex} % converts all the image formats to .pdf on the fly


 \caption{Thick walled pipe}\label{fig:Thick walled pipe}


output of the image :

enter image description here

  • Please add a MWE to your question. This makes it easier to understand and answer.
    – Benjamin
    Nov 22, 2016 at 12:41
  • @Benjamin i have added a minimal working problem. Nov 22, 2016 at 12:59
  • The example is not really minimal. Try removing everything above \begin{document}, except for the \documentclass, and compile with pdflatex (which automatically uses epstopdf). Does the problem persist? If it is solved, then add the lines back one by one to see if the problem returns.
    – Marijn
    Nov 22, 2016 at 13:17
  • probably not relevant: you have \usepackage{epstopdf} twice. the image looks very like what would be expected with a draft option active, but i don't see where that has been indicated. Nov 22, 2016 at 13:36
  • 1
    If I remove the two \usepackage{epstopdf} lines (not needed in recent versions of pdftex!---file.eps gets converted to file-eps-converted-to.pdf and that is automatically included) and also the \DeclareGraphicsExtensions{.eps} line everything just works for me. Nov 22, 2016 at 14:17

1 Answer 1


It seems as if tikz-cd loads a graphic package with the draft option if none is loaded. To have the correct output you have to load the graphicx package before epstopdf.

A (more) minimal working example is:

% !TEX TS-program = pdflatex







You will notice that if you comment out \usepackage{graphicx} and \usepackage{tikz-cd} compiling results in several errors and no graphic is shown.

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.