[pdftex] Metapost and PDF files

Allin Cottrell cottrell at wfu.edu
Mon Apr 30 10:51:11 CEST 2001


On Sat, 28 Apr 2001, Christopher S. Swingley wrote:

> I'm having a devil of a time trying to figure out how to use Metapost
> in combination with PDFTeX and Ghostscript.  I believe the problem is
> that I want to use the Computer Modern fonts in my figures, but the
> only program that seems to understand how to deal with these fonts
> is dvips....

You may already have this figured, but here's one suggestion.  If you
use latex, you can let it handle the fonts.  Start your .mp source
file with

  verbatimtex
    \documentclass{article}
    \begin{document}
  etex

(and stick in \usepackage{whatever_font} if you wish).

Then make sure latex gets invoked when doing the processing.  I have
in a Makefile:

%.mps : %.ps
        mv $< $@

%.ps : %.mp
        TEX=latex mpost $<

Allin Cottrell.






More information about the pdftex mailing list