Consider an image created by the following fig.tex:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[thick,solid,->] (0,0) -- (1,0);
\draw[thick,solid,->] (0,0) -- (0,1);
\draw[thick,solid,->] (0,0) -- (-1,-1);
\end{tikzpicture}
\end{document}
Let's compile it with latex -> dvips -> ps2pdf to create fig_latex.pdf and with pdflatex to create fig_pdflatex.pdf.
Then include these figures in the following:
\documentclass{standalone}
\usepackage{graphicx}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) node[draw] {regular: \includegraphics{fig_latex.pdf}};
\draw (0,-3) node[draw, dashed] {dashed latex: \includegraphics{fig_latex.pdf}};
\draw (0,-6) node[draw, dashed] {dashed pdflatex: \includegraphics{fig_pdflatex.pdf}};
\end{tikzpicture}
\end{document}
All we're doing is defining TikZ nodes and including the images inside. Now the problem is that for the image compiled with latex the enclosing dashed specification gets transferred to the image itself, something that doesn't happen with the image compiled with pdflatex:
Is there a way to protect the contents of the image on the enclosing level, without having to, say, recompile the existing image file using pdflatex?

