[OS X TeX] TeXShop doesn't open dvi-files

Franck Pastor pastor at fusl.ac.be
Fri Oct 21 17:27:56 EDT 2005


Le 21-oct.-05 à 22:18, Maarten Sneep a écrit :

> On 21 Oct 2005, at 11:44, Bruno Voisin wrote:
>
> pdftk can be used to compress these files after the fact. Let me  
> give an example. I commonly create figures in metapost, and some  
> are too large for mptopdf. Yes, that is large - the output of mpost  
> is 9 MB large, the input is about 5 MB (generated by a script,  
> mostly).
>
> Since I cannot use mptopdf (and hence no direct inclusion in  
> pdftex), I have to translate the mps file to pdf elsewhere. This  
> can be done with dvips, but I opted to use pstopdf - the figure  
> uses Lucida, and pstopdf could find those, gs couldn't. The output  
> of pstopdf is 6 MB, not exactly small. pdftk turns that into a 1 MB  
> file. Yes, the difference in speed is significant.
>
> Maarten
>

I'm possibly misundertanding something, but I include my Metapost  
figures directly in my PDF documents produced with pdfLaTeX, without  
using mptopdf, simply by putting these commands in the preambule:

\usepackage{graphicx}
\DeclareGraphicsRule{*}{mps}{*}{}

And then : \includegraphics{figure.1}, \includegraphics{figure.2}, etc.

You know (La)TeX much better than me, so where am I wrong ?


------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list