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

Patrick Drechsler patrick at pdrechsler.de
Sun Apr 17 21:07:22 CEST 2005


Patrick Drechsler wrote on 17 Apr 2005 18:38:16 MET:

> --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---

I just noticed that Herbert updated pstricks-add beta to version
2.42. The above example now compiles without any problem. But
trying to view the result now gives me this error:

,----
| Error: /undefined in some
| Operand stack:
|    --nostringval--
| Execution stack:
|    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--
| Dictionary stack:
|    --dict:1056/1417(ro)(G)--   --dict:0/20(G)--   --dict:72/200(L)--   --dict:175/300(L)--   --dict:38/200(L)--   --dict:79/200(L)--
| Current allocation mode is local
| Last OS error: 2
| ESP Ghostscript 7.05.6: Unrecoverable error, exit code 1
`----

Cheers

Patrick
-- 
Die Menschen werden geboren, die Menschen sterben, und die Zeit
dazwischen verbringen sie mit dem Tragen der Digitaluhren. 
(Douglas Adams)




More information about the PSTricks mailing list