[metapost] Using Metapost on Ubuntu 9.10

Franck Pastor franck.pastor at mac.com
Thu Feb 4 16:47:06 CET 2010


Le 4 févr. 10 à 16:04, Andrew Hays a écrit :

> Both of these solutions work.  Why is that?  The mptopdf solution I  
> can see working, but what about the prologues := 3?
> ------------------
> http://andrewhays.net
> http://ashays.livejournal.com

Setting "prologues" to 3 makes MetaPost embed the fonts (or a relevant  
subset of them) in the resulting eps file, making it standalone. It is  
a rather recent feature.

See the MetaPost "User's Manual", pp 26--27. http://www.tug.org/docs/metapost/mpman.pdf

Franck Pastor


>
>
> On Wed, Feb 3, 2010 at 11:19 PM, Franck Pastor  
> <franck.pastor at mac.com> wrote:
>
> Le 3 févr. 10 à 19:39, Andrew Hays a écrit :
>
> For some reason under Ubuntu 9.10 (x86 and x64), MetaPost refuses to  
> render any images that contain text. If you open the file for Image. 
> 1, it opens evince and it hangs indefinitely. I can create images  
> perfectly fine and render this as long as there is no text. Am I  
> missing any specific font packages or something that I should be  
> using? I know that it works under Windows. I also know that on a  
> different machine I had a while back (running Ubuntu 8.04, I  
> believe), I had it working then.
>
> Am I missing anything? Has anyone else had this problem and knows  
> how to fix it?  I appreciate any and all available help.
> ------------------
> http://andrewhays.net
> http://ashays.livejournal.com
> --
> http://tug.org/metapost/
>
> What if you add
>
>       prologues := 3;
>
> at the beginning of your mp file?
>
> Or you may use mptopdf instead of mpost at the command line.
>
> Franck Pastor
>
>
>




More information about the metapost mailing list