Next: , Previous: GUI, Up: Top


11 PostScript to Asymptote

The excellent PostScript editor pstoedit (version 3.45 or later; available from http://pstoedit.net) includes an Asymptote backend. Unlike virtually all other pstoedit backends, this driver includes native clipping, even-odd fill rule, PostScript subpath, and full image support.

For full functionality, the patch pstoedit-3.45asy.patch in the patches directory should be applied. On UNIX systems, as the root user, place

http://prdownloads.sourceforge.net/pstoedit/pstoedit-3.45.tar.gz
in the Asymptote source directory, and type:
tar -zxf pstoedit-3.45.tar.gz
cd pstoedit-3.45
patch -p1 < ../patches/pstoedit-3.45asy.patch
autoconf
./configure --prefix=/usr
make install

Then try:

asy -V /usr/share/doc/asymptote/examples/venn.asy

pstoedit -f asy venn.eps test.asy
asy -V test

If the line widths aren't quite correct, try giving pstoedit the -dis option. If the fonts aren't typeset correctly, try giving pstoedit the -dt option.