[metapost] how to use mpfile.1, mpfile.2 or other in latex file

Oleg Katsitadze olegkat at gmail.com
Tue Sep 25 11:02:08 CEST 2007


On Tue, Sep 25, 2007 at 02:47:59PM +0800, liuqiang wrote:
> 2. If I want to use temp.1 and temp.2 directly in tex file, how should I do?

I believe the following should work:

  \DeclareGraphicsRule{*}{mps}{*}{}

Or you can list the extensions one-by-one:

  \DeclareGraphicsRule{.1}{mps}{*}{}
  \DeclareGraphicsRule{.2}{mps}{*}{}
  \DeclareGraphicsRule{.3}{mps}{*}{}
  ...

HTH,
Oleg


More information about the metapost mailing list