I tried your solution, but Adobe Reader refuses to open the generated PDF
file, saying "invalid restore".
I attach the LaTeX file (with the two lines you suggested in the preamble),
and the metapost files.
I compiled the file using "pdfelatex". Am I doing everything as I should?
----- Original Message -----
From: "Dekel Tsur" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, April 20, 2004 6:52 PM
Subject: Re: shading theorems
> On Tue, Apr 20, 2004 at 04:29:32PM +0300, Ron Artstein wrote:
> > On Tue, 20 Apr 2004, Eilon Solan wrote:
> > > There is a problem though, when one wants to use metapost
> > > figures. They simply do not appear in the output PDF file.
> > > Can one have both shaded theorems and metapost figures?
> > pdflatex does not support the importation of eps figures. You have
> > to convert them to PDF first, using for example ps2pdf or distill.
> The files generated by metapost are use a subset of the Postscript
> language, and can be included directly using pdflatex.
> In the preamble, put
> and in the text, use
> (the epsf package is obsolete!)