[pstricks] DIA output and scaling (again)

Dan Bolser dmb at mrc-dunn.cam.ac.uk
Fri Jun 10 02:52:15 CEST 2005


Hello, 

I see a few messages on this list about using the pstricks export function
of the diagramming tool 'dia'.

I am finding the same problems as reported by other users, but I didn't
see a 'fix' yet?

http://tug.org/mailman/htdig/pstricks/2005/002591.html

Basically my symptoms are identical to those reported, 

The following works...


\documentclass{report}

\usepackage{ pstricks }

\psset{unit=0.5} % Scaling

\begin{document}

\input{1d4x-1}

\end{document}



(where 1d4x-1.tex is the file produced by dia), 

And the following fails...



\documentclass{report}

\usepackage{ pstricks }

\usepackage{ lscape }

\psset{unit=0.5} % Scaling

\begin{document}

\begin{landscape}

\input{1d4x-1}

\end{landscape}

\end{document}




And so does the following


\documentclass{report}

\usepackage{ pstricks }

\usepackage{ graphicx }

\begin{document}

\scalebox{0.5}{
  \input{1d4x-1}
}

\end{document}



I tried replacing dia's use of \scalebox in the output file with
\psscalebox as suggested by Herbert, but it isn't a recognized 'control
sequence'.


Can anyone help me with this problem?

All the best,
Dan.





More information about the PSTricks mailing list