error using pstricks with Dia



Hello

I use Diag to draw a flowchart and export it as *.tex file (pstricks).

I download the pstricks.tex file as hinted on the website, my Dia
ver is 0.94. I use the sample code

\begin{figure}
\centering
\input{filename.tex}
\caption{A caption}
\label{figure:alabel}
\end{figure}
where filename.tex is the *.tex file Dia generated, in my own tex document,
when I compile it complains error


....<other text>...
\setfont{Helvetica}{1.300000}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\rput(10.255835,-3.950550){\scalebox{1 -1}{\$y\$}}
}\endpspicture

ERROR: Illegal unit of measure (pt inserted).

I have include pstricks package.

what is wrong? thanks.


Everyone is raving about the all-new Yahoo! Mail beta.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]