[OS X TeX] Mathematica fonts in graphics

Maarten Sneep maarten.sneep at xs4all.nl
Fri Aug 27 10:32:26 EDT 2004


On 27 aug 2004, at 16:13, Bruno Voisin wrote:

> Le 27 août 04, à 15:58, Bruno Voisin a écrit :
>
>> Is this a well-known issue in the Mathematica or TeX world? Is there 
>> an easy fix?
>
> Answering my own question: there is an easy fix, namely to use TeX + 
> dvips + Ghostscript instead of pdfTeX. I just hadn't tried. That 
> doesn't explain the origin of the problem, though, whether it's tied 
> to pdfTeX itself or to the EPS -> PDF conversion of the figures.

So dvips takes care of the correct inclusion of the fonts. In that case 
you might try the following simple tex file for each of the figures:

\documentclass{article}
% normal preamble here, font inclusion &c.
\usepackage{graphicx}
\pagestyle{empty}
\begin{document}
\includegraphics{yourfile}
\end{document}

and run it through latex and dvips:

latex figure.tex
dvips -E -o figure-out.eps figure.dvi

and translate into pdf now:

epstopdf --outfile=figure.pdf figure-out.eps

The fonts should now be included as expected (you can check the font 
information in Acrobat).

> Now I just hope the memory requirements of Ghostscript aren't too 
> stringent, cos' the document I'm working on, in its final version, 
> will include about 10 EPS files 50 Mb in size each, so that the final 
> PS file to be converted to PDF will be above 500 Mb!

Since you now handle one figure at a time, the solution given above 
(which also works rather nicely for metapost output), might be worth a 
try.

Maarten
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list