[metapost] How to insert MeTaPost into MS Word ? Urgent. - mptopdf

h h extern pragma at wxs.nl
Sun Nov 28 21:44:04 CET 2004


stefan knorr wrote:
> hi list,
> i made some very good experiences using metapost. i includes the 
> graphics with latex and used pdflatex fot direct pdf output.
> 
> for other applications i'd like to have the pure graphics as independent 
> .pdf or other vector graphic file with all the embedded latex texts. is 
> 'mptopdf' the right tool for direct conversion? does it only work in 
> combination with context?
> how to use it for my file figures.mp?

just try it -)

   mptopdf figures.mp

should work; if you're code is not that latex specific,

\setupcolors[state=start]
\starttext
\startMPpage
   fill fullcircle scaled 10cm withcolor red ;
\stopMPpage
\stoptext

and "texexec --pdf thatfile.tex" is an option as well. In that case you also 
have access to features like shading, transparency, etc

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the metapost mailing list