[metapost] question

Dag Langmyhr dag at ifi.uio.no
Thu May 16 13:36:43 CEST 2019


Yet another module for EPS inclusion is "epsincl"; see 
https://ctan.org/pkg/epsincl.

Best,
Dag Langmyhr


> The "exteps" module allows for direct EPS inclusion. 
> 
> On Wed, May 15, 2019, 7:28 PM Ariel Barton <origamist at gmail.com> wrote:
>       Metafun can do this. If I compile the following with "mptopdf -metafun
>       new.mp" (not "mpost new.mp"), I get what you want:
> 
> %%%%%%%%%%%
> beginfig(0);
> externalfigure "file.pdf" xscaled 100 yscaled 100 shifted (50,40);
> endfig;
> end
> %%%%%%%%%%%
> 
> This does mean that you have to convert file.eps to file.pdf. (You also need to
> look up the dimensions of your file.)
> 
> Best,
> Ariel Barton
> 
> On Wed, May 15, 2019 at 6:48 PM Walt Burkhard <burkhard at cs.ucsd.edu> wrote:
>       Is it possible to include/input an eps file (metapost generated)
>       within a 
> metapost file.   
> 
> e.g.   I create   file.eps   and  then in the middle of  new.mp  I wish to
> display/draw the file.eps.    Can I do this without recreating the
> file.eps?
> 
> Many thanks in advance.
> 
> Walt Burkhard 
> --
> http://tug.org/metapost/
> 
> --
> http://tug.org/metapost/
> 
> 
>


More information about the metapost mailing list