Graphics, Figures & Tablespst-tree won't compile

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Harmont
Posts: 13
Joined: Tue Aug 31, 2010 3:52 pm

pst-tree won't compile

Post by Harmont »

Hello guys,

Just installed pst-tree package from http://ctan.uni-altai.ru/graphics/pstri ... /pst-tree/ into my local texmf tree (I'm using WinEdt). I put 'pst-tree.sty' into 'texmf\tex\latex\pstricks' and 'pst-tree.tex' into 'texmf\tex\generic\pstricks'. Then I ran 'mo.exe' and clicked 'Refresh FNDB' and 'Update Formats' from 'General' configuration tab.

Then when I try to compile any example from documentation I get something like that:

Code: Select all

! Undefined control sequence.
\Tr@ii ...\pst@dima sp\relax }}\Pst@nodealigntrue 
                                                  \setbox \pstree@box \hbox ...
l.5 \pstree[]{\TR{RootNode} }
                             {
What I did wrong? All other parts of pstricks (which were already integrated into installation) works fine.

Regards.
Last edited by Harmont on Wed Mar 23, 2011 7:52 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

pst-tree won't compile

Post by localghost »

Packages are usually installed by the package manager of your LaTeX distribution. Furthermore it requires a minimal example to comprehend the problem. Otherwise it is impossible to give specific help here.


Thorsten
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

pst-tree won't compile

Post by CrazyHorse »

Harmont wrote: Just installed pst-tree package from http://ctan.uni-altai.ru/graphics/pstri ... /pst-tree/ into my local texmf tree (I'm using WinEdt). I put 'pst-tree.sty' into 'texmf\tex\latex\pstricks' and 'pst-tree.tex' into 'texmf\tex\generic\pstricks'. Then I ran 'mo.exe' and clicked 'Refresh FNDB' and 'Update Formats' from 'General' configuration tab.

Then when I try to compile any example from documentation I get something like that:

Code: Select all

! Undefined control sequence.
\Tr@ii ...\pst@dima sp\relax }}\Pst@nodealigntrue 
                                                  \setbox \pstree@box \hbox ...
l.5 \pstree[]{\TR{RootNode} }
                             {
What I did wrong? All other parts of pstricks (which were already integrated into installation) works fine.
update also pst-node.tex from http://texnik.dante.de/tex/generic/pst-node/

Herbert
Harmont
Posts: 13
Joined: Tue Aug 31, 2010 3:52 pm

pst-tree won't compile

Post by Harmont »

localghost wrote:Packages are usually installed by the package manager of your LaTeX distribution.
Unfortunately I'm using old MikTeX 2.7 which is no longer supported and hence can't update on-line via mpm.
Harmont
Posts: 13
Joined: Tue Aug 31, 2010 3:52 pm

Re: pst-tree won't compile

Post by Harmont »

Herbert, you're a genius! It did the trick. Thanks.
Post Reply