[pstricks] bug in pstricks-add BETA: \readdata needs ignoreLines

Patrick Drechsler patrick at pdrechsler.de
Sun Apr 17 19:38:16 CEST 2005


Hi,

just wanted to let you know that when using the current
pstricks-add *BETA*[1] the new option "ignoreLines" can't be
omitted.

Minimal example (taken from page 87 of pstricks-add-doc):

--8<------------------------schnipp------------------------->8---
\listfiles
\documentclass[12pt]{article}
\usepackage{pstricks-add}
\begin{filecontents*}{pstricks-add-data9.dat}
some nonsense in this line äöüÖÜß
time forcex forcey
0 0.2
1 1
2 4
\end{filecontents*}
\begin{document}
\readdata{\data}{pstricks-add-data9.dat} % <- error
% \readdata[ignoreLines=2]{\data}{pstricks-add-data9.dat}
\pspicture(2 ,4)
\listplot[showpoints=true]{\data}
\psaxes{->}(2,4)
\endpspicture
\end{document}
--8<------------------------schnapp------------------------->8---

This results in following error message:

,----
| ERROR: Undefined control sequence.
| 
| --- TeX said ---
| \iterate ...fnum \the \pst at cnta <\psk at ignoreLines 
|                                                   \advance \pst at cnta by 1\re...
| l.12 \readdata{\data}{pstricks-add-data9.dat}
|                                               % <- error
`----
 
,----[ *File List* ]
|     junk.tex
|  article.cls    2004/02/16 v1.4f Standard LaTeX document class
|   size12.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
| pstricks-add.sty    2005/03/03 package wrapper for pstricks-add.tex (hv)
| pstricks.sty    2004/05/12 v0.2l LaTeX wrapper for `PSTricks' (RN,HV)
| pstricks.tex    2004/06/22 v1.04 `PSTricks' (tvz)
|   xcolor.sty    2004/07/04 v2.00 LaTeX color extensions (UK)
|    color.cfg    2001/08/31 v1.1 color configuration of teTeX/TeXLive
|    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
| pstricks-add.tex    2005/04/17 v2.41 `PSTricks-add' (hv)
| pst-xkey.tex    2005/02/22 v1.5 PSTricks specialization of xkeyval (HA)
|  xkeyval.sty    2005/03/31 v2.4 package option processing (HA)
|  xkeyval.tex    2005/03/31 v2.4 key=value parser (HA)
`----


Cheers

Patrick

Footnotes: 
[1] v 2.41 2005-04-17 new option ignoreLines for  \readdata

-- 
A: Schopenhauer hatte immer Angst lebendig begraben zu werden...
B: Findest du tot begraben besser?
[der schlaffe Haro]




More information about the PSTricks mailing list