On Tue, 2006-11-28 at 08:35 -0800, YONG WANG wrote:
> 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.

There is a fix in current CVS (not 0.95.1, alas) that uses \psscalebox
instead of \scalebox, which apparently is The Right Thing[tm].  Whether
you want to backport this fix, use current CVS or fix your postscript
files are your choice, depending on your familiarity with compilation
and dependencies.

-Lars


_______________________________________________
Dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia

Reply via email to