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

DIA & Pstricks, error?



Hi,

I have read through the mailing list archives and I can't find an answer 
to this problem.

I made a very simple diagram and exported as .tex , the generated file is 
sil2.tex (see below).

Then I made sil.tex as follows:

\documentclass{article}
\usepackage{graphicx}
\usepackage{pstricks}


\begin{document}
\include{sil2}
\end{document}

when I LaTeX this file:

"
! Undefined control sequence.
<argument> \pst@tempa \pst@tempb \pst@tempc
                                            curveto
l.38 }
      \endpspicture
"

is returned. 

I do not know how to debug this. The diagram is very simple (a bezeierline).

Since psfrag does not seem to do the job of adding equations/greek letters 
etc. I thought I can use this but that does not work either.

Below is the generated .tex file from export.

turgut

% PSTricks TeX macro
% Title: /home/matlabuser/sil.dia
% Creator: Dia v0.92
% CreationDate: Fri Mar 19 21:40:26 2004
% For: matlabuser
% \usepackage{pstricks}
% The following commands are not supported in PSTricks at present
% We define them conditionally, so when they are implemented,
% this pstricks file will use them.
\ifx\setlinejoinmode\undefined
  \newcommand{\setlinejoinmode}[1]{}
\fi
\ifx\setlinecaps\undefined
  \newcommand{\setlinecaps}[1]{}
\fi
% This way define your own fonts mapping (for example with ifthen)
\ifx\setfont\undefined
  \newcommand{\setfont}[2]{}
\fi
\pspicture(3.950000,-11.767212)(14.760152,-5.550000)
\scalebox{1.000000 -1.000000}{
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\newrgbcolor{diafillcolor}{1.000000 1.000000 1.000000}
\psset{fillcolor=diafillcolor}
\psset{linewidth=0.100000}
\psset{linestyle=solid}
\psset{linestyle=solid}
\setlinejoinmode{0}
\setlinecaps{0}
\newrgbcolor{dialinecolor}{0.000000 0.000000 0.000000}
\psset{linecolor=dialinecolor}
\pscustom{
\newpath
\moveto(4.000000,5.600000)
\curveto(7.552400,5.600000)(13.000000,16.450000)(14.700000,9.250000)
\stroke}
}\endpspicture



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK