[pstricks] dataread in a table... - arrayjob fails

Hensh, Richard hensh at math.msu.edu
Thu May 13 06:00:12 CEST 2010


A simple test of the arrayjob package was not successful with PSTricks. The minimal example below fails with the error:

! Argument of \lists has an extra }.
<inserted text> 
                \par 
l.8 \psline(\lists(1)
                             ,2)

I tried using the \lists(1) call in several other pstricks macros but none were successful.

%%%%%%%%%%%%%%%
\documentclass[10pt]{minimal}
\usepackage{arrayjobx}
\usepackage{pstricks-add}
\begin{document}
\newarray\lists
\readarray{lists}{1&3}
\begin{pspicture}(-3,3)(-3,3)
\psline(\lists(1),2)
\end{pspicture}
%% The following typesets with no problems.
$\lists(1) + \lists(2)$
\end{document}
%%%%%%%%%%%%%%%

Suggestions?

thanks
rick


More information about the PSTricks mailing list