[pstricks] Difficulties with pst-pdf

David Arnold dwarnold45 at suddenlink.net
Sun May 17 06:36:26 CEST 2009


Herbert,

Thanks. We'll test this out.

D.


On May 16, 2009, at 10:59 AM, Herbert Voss wrote:

David Arnold schrieb:

> We're using the macros of Donald Story (www.acrotex.net)  and they
> drive a lot of javascript into our final pdf files.  He uses
> Distiller from Acrobat for this purpose, but so far we've managed to
> use pdflatex.

David,
ok, then the best way is to define short macros for all
PSTricks commands which are not inside a pspicture environment.
For example:

\documentclass{article}
\usepackage{pstricks,pst-pdf}

\def\psFrame[#1](#2)(#3){%
   \begin{pspicture}(#2)(#3)\psframe[#1](#2)(#3)\end{pspicture}}

\begin{document}

foo \psFrame[](0,0)(0.5,0.5)\ bar

foo \psFrame[framearc=0.2](0,0)(1,1)\ bar

\end{document}


Herbert
_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks



More information about the PSTricks mailing list