pouziti MetaPostovych obrazku v pdfTeXu - konverze

Pavel Janik ml. pavel at inet.cz
Mon Nov 23 16:40:23 CET 1998


   From: "Jakub Zlamal" <ZLAMAL at fyzika.fme.vutbr.cz>
   Date: Mon, 23 Nov 1998 15:00:30 +0100

Dobry den,

   > Jak mam z MetaPostoveho obrazku udelat eps. MetaPost nedava odkazy na
   > fonty. To bych musel nejak pres DVIPS? Nezmenilo by mi to ale
   > bounding box?

vytah z xdvi-FAQ, kde se odpovida na podobny problem:

    8.  Why can't xdvi correctly display metapost files containing text?

The problem is that the PS files created by MP are (normally) not
self-contained.  xdvi delegates the display of PS files to
ghostscript, which fails to handle those files.

A solution is to instruct MP to create true EPS files, by including
        prologues:=2;
at the top of the document.  If you have the CM postscript fonts
installed so that ghostscript can find them, you can continue to use
the CM fonts, otherwise you'll have to switch to Times or such for the
illustrations.

Switching the fonts can be done setting 'defaultfont' to something
like "ptmr8r" (for Times).  For the TeX material in 'btex .. etex'
blocks, it is best to set up the fonts once in a 'verbatimtex .. etex'
block.  (And same for LaTeX of course.)
--
Pavel Janik ml.
Pavel.Janik at inet.cz



More information about the csTeX mailing list