# [texworks] graphics problem

Bruno Voisin bvoisin at me.com
Wed Feb 24 13:18:13 CET 2010

Le 24 févr. 2010 à 13:05, Benny Lautrup a écrit :

> If I understand you right, I should ask Mathematica to produce eps-figures
> and convert them on the fly using the epstopdf package?

I think that would work, yes. epspdf or epstopdf would use the Times etc clones included in Ghostscript as substitutes for the missing original Times etc, and embed them when creating the PDF files.

You can try with the PDF files attached to my last message, see if the TeXworks problem persists with test-math-pdf.pdf and is cured by test-math-epstopdf or test-math-epspdf.pdf. For example you can save the attachments to disk, create alongside them a test file

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\pagestyle{empty}
\centering
\includegraphics[scale=.9]{test-math-pdf} \\
\includegraphics[scale=.9]{test-math-epspdf} \\
\includegraphics[scale=.9]{test-math-epstopdf}
\end{document}

and see whether the problem shows up for the first graphics on recompilation and whether the other two graphics solve this problem.

Hope this works,

Bruno

PS As soon as there's transparency, though, the above wouldn't work since the EPS format doesn't support transparency (or in any case Mathematica's EPS output doesn't).