[OS X TeX] PStricks

Salvatore Enrico Indiogine hindiogine at gmail.com
Mon Apr 9 17:59:02 CEST 2007


Greetings!

I am trying to figure out PStricks which seems to be a very powerful tool.

After some Googling I produced this simple tex file using TeXShop:

=======================================================
%! program = pdflatex

\documentclass[12pt]{article}
\usepackage{geometry} % see geometry.pdf on how to lay out the page.
There's lots.
\geometry{letterpaper} % or letter or a5paper or ... etc

\usepackage{pstricks,pst-node,pst-tree}

\title{Prova PStricks}
\author{SEI}
\date{\today}

%%% BEGIN DOCUMENT
\begin{document}

\pstree[]{\TR{RootNode} }{
	\TR{D1}
        \pstree{ \TR{D2} }{
	             \TR{D2.1}
                     \TR{D2.2}
                              }
	\TR{D3}
	\TR{D4}
                    }

\end{document}
========================================================

I try to run it and obtain the following error message:


===============================================
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
(format=pdflatex 2007.3.19)  9 APR 2007 10:50
entering extended mode
\write18 enabled.
 %&-line parsing enabled.
**prova-pstricks-1.tex
(./prova-pstricks-1.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2002/07/08 v3.2 Page Geometry

(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV at toks@=\toks14
)
\Gm at cnth=\count87
\Gm at cntv=\count88
\c at Gm@tempcnt=\count89
\Gm at bindingoffset=\dimen103
\Gm at wd@mp=\dimen104
\Gm at odd@mp=\dimen105
\Gm at even@mp=\dimen106
\Gm at dimlist=\toks15

(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xetexconfig/geometry.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/latex/pstricks/pstricks.sty
Package: pstricks 2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)

(/usr/local/texlive/2007/texmf-dist/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.15  <2006/12/22> (tvz)
\pst at dima=\dimen107
\pst at dimb=\dimen108
\pst at dimc=\dimen109
\pst at dimd=\dimen110
\pst at dimg=\dimen111
\pst at dimh=\dimen112
\pst at hbox=\box26
\pst at boxg=\box27
\pst at cnta=\count90
\pst at cntb=\count91
\pst at cntc=\count92
\pst at cntd=\count93
\pst at cntg=\count94
\pst at cnth=\count95
\pst at toks=\toks16
(/usr/local/texlive/2007/texmf-dist/tex/generic/pstricks/pstricks.con)
\psunit=\dimen113
\psxunit=\dimen114
\psyunit=\dimen115
\pslinewidth=\dimen116
\pst at customdefs=\toks17
\pslinearc=\dimen117
\everypsbox=\toks18
\psframesep=\dimen118
\pslabelsep=\dimen119
\psk at shift=\dimen120
\pst at shift=\dimen121
\theoverlaybox=\box28
)
File: pstricks.tex 2006/12/22 v1.15 `PSTricks' (tvz)

(/usr/local/texlive/2007/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

(/usr/local/texlive/2007/texmf/tex/latex/config/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Package option `override' ignored on input line 216.
Package xcolor Info: Driver file: pdftex.def on input line 225.

(/usr/local/texlive/2007/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2007/03/15 v0.04e Graphics/color for pdfTeX
\Gread at gobject=\count96
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
Package xcolor Info: Model `RGB' extended on input line 1353.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
))
(/usr/local/texlive/2007/texmf-dist/tex/latex/pstricks/pst-node.sty
Package: pst-node 2006/01/01 package wrapper for pst-node.tex

(/usr/local/texlive/2007/texmf-dist/tex/generic/pstricks/pst-node.tex
 v97 patch 11, 2000/11/09
\psrow=\count97
\pscol=\count98
\psmatrixcnt=\count99
\psrowsep=\skip43
\pscolsep=\skip44
)
File: pst-node.tex 2000/11/09 97 patch 11 `pst-node' (tvz)
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/pstricks/pst-tree.sty
Package: pst-tree 2004/07/15 package wrapper for pst-tree.tex

(/usr/local/texlive/2007/texmf-dist/tex/generic/pstricks/pst-tree.tex
 v97 patch 6, 2004/07/24
\pstree at rootbox=\box29
\pstree at box=\box30
\psnodecnt=\count100
\pstreelevel=\count101
\pstreecnt=\count102
\pstree at cnt=\count103
\pstree at stop=\count104
)
File: pst-tree.tex 2004/07/24 97 patch 6 `pst-tree' (tvz)
) (./prova-pstricks-1.aux)
\openout1 = `prova-pstricks-1.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
-------------------- Geometry parameters
paper: letterpaper
landscape: --
twocolumn: --
twoside: --
asymmetric: --
h-parts: 92.14519pt, 0.7\paperwidth , 92.14519pt (default)
v-parts: 95.39737pt, 0.7\paperheight , 143.09605pt (default)
hmarginratio: 1:1
vmarginratio: 2:3
lines: --
heightrounded: --
bindingoffset: 0.0pt
truedimen: --
includehead: --
includefoot: --
includemp: --
driver: pdftex
-------------------- Page layout dimensions and switches
\paperwidth  614.295pt
\paperheight 794.96999pt
\textwidth  430.00462pt
\textheight 556.47656pt
\oddsidemargin  19.8752pt
\evensidemargin 19.8752pt
\topmargin  -13.87262pt
\headheight 12.0pt
\headsep    25.0pt
\footskip   30.0pt
\marginparwidth 44.0pt
\marginparsep   10.0pt
\columnsep  10.0pt
\skip\footins  10.8pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000

(1in=72.27pt, 1cm=28.45pt)
-----------------------

(/usr/local/texlive/2007/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count105
\scratchdimen=\dimen122
\scratchbox=\box31
\nofMPsegments=\count106
\nofMParguments=\count107
\MPscratchCnt=\count108
\MPscratchDim=\dimen123
\MPnumerator=\count109
\everyMPtoPDFconversion=\toks19
)
! Undefined control sequence.
<recently read> \c at lor@to at ps

l.24                     }

?
! Emergency stop.
<recently read> \c at lor@to at ps

l.24                     }

End of file on the terminal!


Here is how much of TeX's memory you used:
 2955 strings out of 94073
 35612 string characters out of 1162984
 107775 words of memory out of 1500000
 6281 multiletter control sequences out of 10000+50000
 3938 words of font info for 15 fonts, out of 1200000 for 2000
 645 hyphenation exceptions out of 8191
 30i,2n,37p,214b,104s stack positions out of 5000i,500n,6000p,200000b,5000s
!  ==> Fatal error occurred, no output PDF file produced!

===============================================

I am using TeXlive-2007-dev and the latest TeXShop.  Thanks for you help.

Enrico


-- 
Enrico Indiogine

Mathematics Education
Texas A&M University
hindiogine at gmail.com

------------------------- 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 macostex-archives mailing list