[pstricks] pst-pdf and readdata: long compilation time

Antoine Pairet lists at pairet.be
Sun May 10 11:41:50 CEST 2009


> no problem here with
> 
> $(mainPDF) : $(pstricksPDF)
> 	pdflatex "\AtBeginDocument{\def\readdata#1#2{}} \input{supraMain.tex}"

It still fails here. 
! Undefined control sequence.
l.16    \readdata[ignoreLines=2]{\testData
                                        }{toBeRead.dat}
?

Removing the optional argument of the readdata command solves part of
the problem. Indeed, if one removes the manually the 2 first lines of
the toBeRead.dat file and suppress the optional argument:
\readdata{\testData}{toBeRead.dat}
It will complain with the lisplot command telling that the command
\testData is undefined.

Using:
pdflatex "\AtBeginDocument{\def\readdata#1#2{} \def\listplot#1{}}
\input{supraMain.tex}
solves the second problem. However, the first one is still present!

Could have a look at the complete minimal example attached? 
Thanks a lot!

Antoine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainTest.tex
Type: text/x-tex
Size: 583 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20090510/222302eb/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 693 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20090510/222302eb/attachment-0001.bin 
-------------- next part --------------
1 2
2 4



More information about the PSTricks mailing list