Introduction | Catalog | Tutorial | LaTeX2e 
MetaPost LaTeX2e Import Details MetaPost




PDF Version (53 KB)


The table shows how MetaPost-generated graphics can be imported in LATEX2e . Let mpsimage.1 be an image generated by MetaPost, and let mpsimage.eps be obtained by renaming mpsimage.1.


$\langle$file$\rangle$ latex + dvips latex2html
2002 - 1
pdflatex
3.14159-1.00a
 
$\backslash$usepackage$\{$graphicx$\}$
$\backslash$includegraphics$\{\langle$file$\rangle\}$
    $\backslash$usepackage$\{$color$\}$
$\backslash$pagecolor$\{$white$\}$
$\backslash$DeclareGraphicsRule
$\{\ast\}\{$mps $\}\{\ast\}\{\}$
mpsimage.1 + + +
mpsimage.eps + + +
mpsimage only for mpsimage.eps only for mpsimage.eps -
  PS HTML + PNG PDF



Using package color with latex2html

While latex2html version 2002-1 produces transparent images, many browsers cannot deal correctly with transparent png images (one exception: mozilla).

Earlier versions of latex2html showed some deficiencies (black borders). The newest versions can be downloaded from http://www.latex2html.org. .



Bibliography

1
Keith Reckdahl, Using Imported Graphics in LATEX2e
ftp://ftp.dante.de/tex-archive/info/epslatex.ps (784 KB)
ftp://ftp.dante.de/tex-archive/info/epslatex.pdf (1665 KB)