[pstricks] pstricks-add and arrayjob

Bernd Sellentin b.sellentin at t-online.de
Sun Mar 4 17:51:11 CET 2007


Dear Herbert,

the following code works fine as long as pstricks-add is commented out:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,10pt]{article}
\usepackage{pstricks}% v1.15
%needed for other drawings in document
%but does not work here
%\usepackage{pstricks-add}% v2.82
\usepackage{pst-plot}% 1.41
\usepackage{arrayjob}% v1.03
\listfiles

\begin{document}

\section{Ionisierungsenergien}

\newarray{\Elements}
\readarray{Elements}{ & H & He & Li & Be & B & C & N & O & F & Ne & Na & Mg & 
Al & Si & P & S & Cl & Ar & K & Ca}

\savedata{\dataIon}[(1 13.6)(2 24.6)(3 5.4)(4 9.3)(5 8.3)(6 11.3)(7 14.5)(8 
13.6)(9 17.4)(10 21.6)(11 5.1)(12 7.6)(13 6.0)(14 8.1)(15 10.5)(16 10.4)(17 
13.0)(18 15.8)(19 4.3)(20 6.1)]

\def\pshlabel#1{\small\Elements(#1)}

\pspicture(-1,-1)(10,12.5)
\psset{yunit=0.5,xunit=0.5}
\psaxes[Ox=1](20,25)
\dataplot[showpoints=true]{\dataIon}
\endpspicture

\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Uncommenting pstricks-add gives the error :
./test.tex:24:Missing number, treated as zero. \dataplot

As I need the pstricks-add package for other drawings in this document, so how 
to bring things together?

Thanks
Bernd




More information about the PSTricks mailing list