[OS X TeX] pstricks question

Sergei Mariev serguei.mariev at campus.lmu.de
Wed Mar 16 21:08:21 EST 2005


I use tex and ghostscript to typset this file. Here is another 
strange thing: If I use \psset{nodesep=2pt,levelsep=5ex} instead of 
the optional parameter _in preamble_ it typsets everything just the 
way I want it. If I use this command in the body of the document, it 
issues the same warning. Do you mean that even if I use tex and 
ghostscript instead of pdflatex, I  would not make it work? Why does 
it work if I include this line in the preamble?

>On Mar 16, 2005, at 7:06 PM, Sergei Mariev wrote:
>
>>I am trying to typeset a tree using  pstricks. I have the following code:
>>
>>
>>   \pstree[nodesep=2pt]{\Tr{EI}}{\Tr{P} \pstree{\Tr{a}}{\Tr{S}}}
>>
>>
>>
>>And I am getting the following error-message:
>>
>>
>>PSTricks error.  See User's Guide for further information.
>>                  Type  H <return>  for immediate help.
>>! Graphics parameter `nodesep=2pt' not defined..
>>\@pstrickserr ... immediate help.}\errmessage {#1}
>>                                                   \endgroup
>>l.7     \pstree[nodesep=2pt]{\Tr{EI}}
>>                                      {\Tr{P} \pstree{\Tr{a}}{\Tr{S}}}
>>? x
>>
>>
>>In other words, it does not recognize the optional parameter 
>>[nodesep=2pt] ...??? Do I need to load a  special package for this? 
>>(Initially I tried loading just 
>>\usepackage[]{pstricks,pst-plot,pst-node,pst-tree}) I also tried 
>>\usepackage{pst-all} ... but it still does not seem to recognize 
>>this optional nodesep parameter! Does anyone know what I am doing 
>>wrong?
>
>You can't use pdflatex to process file that use pdftricks, unless 
>you use pddftricks or ps4pdf.  This above example runs fine on my 
>computer if i use latex.
>
>Aaron
>
>--------------------- Info ---------------------
>Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
>TeX FAQ: http://www.tex.ac.uk/faq
>List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list