Re: error using pstricks with Dia
- From: Lars Clausen <lars raeder dk>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: error using pstricks with Dia
- Date: Tue, 28 Nov 2006 20:09:34 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]