[pstricks] problem running pst-electricfield

Kari Eloranta kari.eloranta at gmail.com
Thu Oct 13 12:02:53 CEST 2011


I have a problem running MacTeX 2011 in OS X Lion 10.7.1 and 10.7.2. The
files including commands from pst-electricfield that compiled OK previously,
do not convert to pdf any more.

For example,

\documentclass{memoir}

\usepackage[T1]{fontenc}
\usepackage[finnish, english]{babel}
\usepackage{etex}

\usepackage{pstricks}
\usepackage{pst-electricfield}

\begin{document}
 \begin{pspicture*}(-6,-6)(6,6)
   \psframe*[linecolor=lightgray!50](-6,-6)(6,6)
   \psgrid[subgriddiv=0,gridcolor=gray,griddots=10]
   \psElectricfield[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2 -2]},linecolor=red] 5
   \psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2
-2]},linecolor=blue](-6.1,-6.1)(6.1,6.1)
   \psEquipotential[Q={[-1 -2 2][1 2 2][-1 2 -2][1 -2
-2]},linecolor=green,linewidth=2
   \pslinewidth,Vmax=0,Vmin=0](-6.1,-6.1)(6.1,6.1) 7
 \end{pspicture*}
\end{document}

result in

### This is /usr/texbin/simpdftex, Version 20070809

### /usr/texbin/latex el.tex

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

 restricted \write18 enabled.

entering extended mode

(./el.tex

LaTeX2e <2011/06/27>

Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation,
ge

rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus,
arabi

c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech,
danis

h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi,
finnis

h, french, galician, german, ngerman, swissgerman, monogreek, greek,
hungarian,

 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi,
or

iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian,
kurmanji,

 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk,
pol

ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak,
sloven

ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh,
loaded

.

(/usr/local/texlive/2011/texmf-dist/tex/latex/memoir/memoir.cls

Document Class: memoir 2011/03/06 v3.6j configurable book, report, article
docu

ment class

(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty)

(/usr/local/texlive/2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty)

(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty)

(/usr/local/texlive/2011/texmf-dist/tex/latex/etex-pkg/etex.sty)

(/usr/local/texlive/2011/texmf-dist/tex/latex/memoir/mem10.clo)

(/usr/local/texlive/2011/texmf-dist/tex/latex/memoir/mempatch.sty))

(/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty

(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def))

(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.sty

(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/finnish.ldf

(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.def))

(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/english.ldf))

(/usr/local/texlive/2011/texmf-dist/tex/latex/pstricks/pstricks.sty

(/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.tex

(/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/pst-xkey.tex

(/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/xkeyval.sty

(/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/xkeyval.tex

(/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/keyval.tex))))

(/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex

`pst-fp' v0.05, 2010/01/17 (hv))

`PSTricks' v2.23  <2011/09/04> (tvz)

(/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pstricks.con))

(/usr/local/texlive/2011/texmf-dist/tex/generic/pstricks/pst-fp.tex)

(/usr/local/texlive/2011/texmf-dist/tex/latex/xcolor/xcolor.sty

(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg)

(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvips.def)))

(/Users/kari/Library/texmf/tex/latex/pst-electricfield/pst-electricfield.sty

(/Users/kari/Library/texmf/tex/latex/pst-electricfield/pst-electricfield.tex

(/usr/local/texlive/2011/texmf-dist/tex/generic/multido/multido.tex

 v1.42, 2010/05/14 <tvz>) `pst-electricfield' v0.13, 2010/06/09 (ml,jg,hv)))

(./el.aux)

Overfull \hbox (25.43048pt too wide) in paragraph at lines 18--19

[][]


Underfull \hbox (badness 10000) in paragraph at lines 18--19


[1] (./el.aux) )

(see the transcript file for additional information)

Output written on el.dvi (1 page, 2992 bytes).

Transcript written on el.log.

### /usr/texbin/dvips -R -Poutline  -o /tmp/altpdflatex.5075-1318499992/
el.ps el.dvi

This is dvips(k) 5.991 Copyright 2011 Radical Eye Software (
www.radicaleye.com)

' TeX output 2011.10.13:1259' -> /tmp/altpdflatex.5075-1318499992/el.ps

</usr/local/texlive/2011/texmf/dvips/base/tex.pro>

</usr/local/texlive/2011/texmf-dist/dvips/pstricks/pstricks.pro>

</usr/local/texlive/2011/texmf-dist/dvips/pstricks/pst-algparser.pro>

</usr/local/texlive/2011/texmf-dist/dvips/pstricks/pst-tools.pro>

</usr/local/texlive/2011/texmf-dist/dvips/pstricks/pst-dots.pro>

</usr/local/texlive/2011/texmf-dist/dvips/pst-electricfield/
pst-electricfield.pro>

</usr/local/texlive/2011/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc>

</usr/local/texlive/2011/texmf/dvips/base/texps.pro>

</usr/local/texlive/2011/texmf/dvips/base/special.pro>

</usr/local/texlive/2011/texmf/dvips/base/color.pro>.

</usr/local/texlive/2011/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>

[1]

### /usr/bin/pstopdf
/tmp/altpdflatex.5075-1318499992/el.ps/tmp/altpdflatex.5075-1318499992/el.pdf

/usr/bin/pstopdf failed on file /tmp/altpdflatex.5075-1318499992/el.ps with
error code -31000

%%[ Error: undefined; OffendingCommand: arrowscale ]%%

%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

%%[ Warning: PostScript error. No PDF file produced. ] %%

### FAILED to generate /tmp/altpdflatex.5075-1318499992/el.pdf ()

I would appreciate any help you can possibly provide.

Best regards,
  Kari
-- 
**************************************************************
Kari Eloranta
Ketunpolku 1
40400 JYVÄSKYLÄ FINLAND
Tel: +358 40 586 7654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20111013/3fb7325b/attachment.html>


More information about the PSTricks mailing list