Are you including it as \includegraphics[..]{xy.eps}
? If so, don't. Use \includegraphics[..]{xy}
- the driver will take care of file extensions.
Under pdflatex
, an EPS is converted to a PDF, but if a PNG exists, then it will be used (a legacy preference order). There are default file extensions accepted by pdflatex
, searched in a specific order (see Graphics file extensions and their order of inclusion when not specified), so there's no need to include the extension. Moreover, this allows for one to possibly switch between processing a document in latex
and pdflatex
, letting the compiler decide on the graphics file to include.
If you're still experiencing problems, there should be a converted version of your .eps
in the working folder. Rename this to an appropriate .pdf
name (say, xy.pdf
) and then include this verbatim
\includegraphics{xy.pdf}
Use pdftops
rather than convert
(from ImageMagick). The command is
pdftops -f <first-page> -l <last-page> -eps <input.pdf> <output.eps>
For example,
pdftops -f 4 -l 4 -eps input.pdf output.pdf
Simulator
Try the following to diagnose your problem.
% simulator.tex
\documentclass[preview,border=12pt]{standalone}
\usepackage{filecontents}
\begin{filecontents*}{input.tex}
\documentclass[preview,border=12pt]{standalone}
\usepackage{tikz}
\begin{document}
This is a TikZ output.
\begin{tikzpicture}
\draw (0,0) circle (2);
\end{tikzpicture}
\tikz\fill[red] (0,0) ellipse (3pt and 5pt); is an ellipse.
\end{document}
\end{filecontents*}
\immediate\write18{pdflatex input}
\immediate\write18{pdftops -f 1 -l 1 -eps input.pdf output.eps}
\usepackage{graphicx}
\begin{document}
I am importing EPS image.\\
\includegraphics{output}
\end{document}

Compile the code above with
latex -shell-escape simulator
dvips simulator
ps2pdf -dAutoRotatePages=/None simulator.ps
As ps2pdf
sometimes rotates the output automatically, please use -dAutoRotatePages=/None
to prevent it from doing such an unwanted rotation.
If you are using Windows, use #
instead of =
in -dAutoRotatePages=/None
because =
has a special meaning for batch files in Windows.
Very important notes
If you use opacity
in your TikZ code (PSTricks code as well), for example,
\documentclass[preview,border=12pt]{standalone}
\usepackage{tikz}
\begin{document}
This is a TikZ output.
\begin{tikzpicture}
\draw (0,0) circle (2);
\end{tikzpicture}
\tikz\fill[red,fill opacity=.5] (0,0) ellipse (3pt and 5pt); is an ellipse.
\end{document}
then you will get a rasterized output as follows.

Best Answer
I suspect the shadowing uses PDF features, which are not available in PostScript. From the documentations,
pgf-blur
:And from the PGF manual:
Export the image as PDF and pdfTeX can include it directly without the need to run a converter for the down-graded PostScript file (the conversion is actually done by ghostscript).