[pstricks] pst-tree problem
mathias legrand
legrand.mathias at gmail.com
Thu Apr 14 03:45:29 CEST 2011
Hi all,
I'm having a problem with the following simple code. I suspect a stupid
mistake but I cannot find it. This code used to compile. An update of
pst-tree may be the problem. Thanks for helping.
\documentclass{book}
\usepackage{pst-tree}
\usepackage{pstricks-add}
\newcommand{\TF}[1]{\Tr{\psframebox[fillstyle=solid,linewidth=1pt,linecolor=white]{\makebox[1.3cm][l]{#1}}}}
\newcommand{\TM}[1]{\Tr{\psframebox[fillstyle=solid,linewidth=1pt,linecolor=white]{\makebox[1.5cm][l]{#1}}}}
\renewcommand{\psedge}{\ncangle[arm=0.2cm,angleB=180]}
\listfiles
\begin{document}
\begin{figure}[h!]\centering
\psset{linecolor=black,treemode=R,treeflip=false,treesep=0.15cm,levelsep=*0.6cm}
\pstree{\TF{plo}}
{\pstree{\TM{plo}}
{\TF{plo}\TF{plo}}
\pstree{\TM{plo}}
{\TF{plo}\TF{plo}}
}
\end{figure}
\end{document}
with the following error message :
! Undefined control sequence.
\Tr at ii ...\pst at dima sp\relax }}\Pst at nodealigntrue
\setbox \pstree at box
\hbox ...
l.24 \pstree{\TF{plo}}
and the following list of files:
*File List*
book.cls 2007/10/19 v1.4h Standard LaTeX document class
bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
pst-tree.sty 2009/01/25 package wrapper for pst-tree.tex
pstricks.sty 2011/03/27 v0.49 LaTeX wrapper for `PSTricks' (RN,HV)
ifpdf.sty 2010/01/28 v2.1 Provides the ifpdf switch (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
pstricks.tex 2011/03/25 v2.19 `PSTricks' (tvz,hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
pst-fp.tex 2011/03/25 v2.19 `PST-fp' (hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-tree.tex 2011/02/28 1.12 `pst-tree' (tvz,hv)
pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for
pstricks-add.tex (hv)
pstricks-add.tex 2010/11/03 v3.45 `PSTricks-add' (hv)
***********
More information about the PSTricks
mailing list