[metapost] How to insert MeTaPost into MS Word? Urgent.
lfinsto1 at gwdg.de
Sat Nov 20 15:39:23 CET 2004
> How one can insert metapost picture into ms word
> I tried:
> dvips -E -o figure.eps figure.dvi
> Does any one have any idea to help me?
I don't know if this will help, and I don't use MS Word, but I've had good
results from converting EPS to structured PostScript in a similar way to the
one you've described. I've included my figures individually in TeX files (I
don't use LaTeX) using `\epsffile' in nested boxes (an \hbox in a \vbox),
measured the outer box, set \vsize, \hsize, \voffset, and \hoffset
accordingly, run TeX on it, and then converted the resulting dvi file to
structured PostScript using dvips in the normal way. I've written a trivial
Emacs-Lisp program to automate this. I also convert the PS files to PNG,
which works fine, except that they are, of course, not scalable.
I'll be happy to give you the Emacs-Lisp code if you want it, and whatever
other bits and pieces I've forgotten about, but unfortunately I won't have
access to the machine it's on until Monday. It might actually be in the GNU
3DLDF distribution; I don't remember:
It would be in 3DLDF-22.214.171.124/DOC/TEXINFO/, or in a subdirectory.
More information about the metapost