[metapost] question
Troy Henderson
thenders at gmail.com
Thu May 16 02:30:39 CEST 2019
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/metapost/attachments/20190515/92993062/attachment.html>
More information about the metapost
mailing list