[OS X TeX] pstricks help
Vic Norton
vic at norton.name
Mon Oct 22 12:24:38 EDT 2007
If you are using TeXShop, you should start your file with the line
%%!TEX TS-program = latex
See "Alternate Typesetting Mode" in Help.
Regards,
Vic
On Oct 21, 2007, at 11:06 AM, Johann Spies wrote:
> I am fairly new to OS X and I am struggling to get some of my old
> latex-files to compile.
>
> Many problems were related to my usage of pstricks. So I tried an
> example from the pstricks-manual:
>
> \documentclass{article}
> \usepackage{pstricks}
> \usepackage{pst-node} % this automatically loads pstricks
> \begin{document}
> \def\psedge{\nccurve[angleB=180, nodesepB=3pt]}
> \pstree[treemode=R, treesep=1.5, levelsep=3.5]%
> {\Toval{root}}{\Tr(X} \Tr{Y} \Tr{Z}}
>
> \end{document}
>
> Which fails, like many of the other with
>
> (/usr/local/texlive/2007/texmf-dist/tex/generic/pstricks/pst-node.tex
> v97 patch 11, 2000/11/09)) (./Untitled.aux)
> ! Undefined control sequence.
> l.7 {\Toval
> {root}}{\Tr(X} \Tr{Y} \Tr{Z}}
> ? ?
>
>
> What am I missing?
>
> None of the files in the src-directory of pstricks compiles
> successfully.
>
> Regards
>
>
> Johann
> --
> J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)
> Posbus 4668, Tygervallei 7536
> Webblad: http://www.alterit.co.za
>
> "Yet if any man suffer as a Christian, let him not be
> ashamed; but let him glorify God on this behalf."
> I Peter 4:16
>
>
>
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list