[tex-live] pstricks

George N. White III gnwiii at gmail.com
Wed Apr 22 16:19:10 CEST 2009


On Tue, Apr 21, 2009 at 9:55 PM, Daniel Becker
<daniel.becker at uni-rostock.de> wrote:

> Hallo - is anyone else using pstricks seeing problems? (non-functionality,
> essentially)
>
> The example below (from the www.tug.or/pstricks site) works in TL2007 but
> not in my updated TL2008 ...

What does "not" mean?  On my system:

! I can't find file `pst-fp'.
l.31 ...STFPloaded\endinput\else    \input pst-fp

pst-fp.tex was installed to the wrong place:

$ locate pst-fp.tex
/usr/local/texlive/2008/texmf-dist/doc/generic/pstricks-add/pst-fp.tex


$ tlmgr show --list pstricks-add
Package:    pstricks-add
Category:   Package
ShortDesc:  A collection of add-ons and bugfixes for PSTricks.
LongDesc:   Collects together examples that have been posted to the
pstricks mailing list, together with some additional features for
pstricks, including: – bugfixes; – new options for pspicture
environment; – ellipses and parts of ellipses; – arrows; –
braces as node connection/linestyle; – arrows; – dashed/dotted
lines; and – CMYK colour support. The package also includes
additions and bugfixes for packages pst- plot and pst-node (each of
which is a part of the pstricks distribution).
Installed:  Yes
Revision:   12748
Collection: collection-pstricks
Included files, by type:
run files:
  texmf-dist/dvips/pstricks-add/pstricks-add.pro
  texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
  texmf-dist/tex/latex/pstricks-add/pstricks-add.sty
source files:
  texmf-dist/source/generic/pstricks-add/Makefile
doc files:
  texmf-dist/doc/generic/pstricks-add/Changes
  texmf-dist/doc/generic/pstricks-add/README details="Package README"
  texmf-dist/doc/generic/pstricks-add/pst-fp.tex
  texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.bib
  texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.dat
  texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.ltx
  texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
details="Package documentation"
  texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex

The workaround is to put pst-fp.tex in tex/generic/pstricks-add where
it belongs.  This is
an all too easily made packaging error.


> \documentclass[12pt]{article}
> \usepackage{pst-func}
> \SpecialCoor
> \pagestyle{empty}
>
> \def\coeff{0 -5 0 1}
>
> \begin{document}
>
> \begin{center}
> \begin{pspicture*}(-5,-5)(5,5)
>  \psgrid[subgriddiv=0,griddots=10]
>  \psset{yunit=0.5}
>  \psaxes[Dy=2.5]{->}(0,0)(-5,-10)(5,10)
>  \psPolynomial[dotscale=2,linewidth=2pt,linecolor=red,markZeros,coeff=0 -5 0
> 1]{-5}{5}
>
> \end{pspicture*}
>  \end{center}
>
> \end{document}



-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia


More information about the tex-live mailing list