[pstricks] Difficulties with pst-pdf

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat May 16 19:59:41 CEST 2009


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


More information about the PSTricks mailing list