PostScript
to Asymptote
The excellent PostScript
editor pstoedit
(version 3.42 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,
and PostScript
subpath support.
For example, 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.
Full image support can be added to the Asymptote
backend
with the patch pstoedit-3.42asy.patch
.
Denoting the location of the Asymptote
source directory by
ASYMPTOTE_SOURCE
, one can install this patch with the commands
(as the UNIX
root user):
tar -zxf pstoedit-3.42.tar.gz cd pstoedit-3.42 patch -p1 < ASYMPTOTE_SOURCE/patches/pstoedit-3.42asy.patch autoconf ./configure --prefix=/usr make install