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

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Apr 25 10:18:29 CEST 2009


Antoine Pairet schrieb:

> I use pst-pdf in order to mix PStricks code and jpegs in the same
> document. In this document great amount of data is plotted. What I mean
> is that large files are read with readdata and then plotted with
> PStricks. What I would like to achieve is that data are only read once.
> 
> I use a Makefile to handle this compilation scheme:
> latex MAIN.tex
> dvips -o MAIN-pics.ps MAIN.dvi
> ps2pdf MAIN-pics.ps
> pdflatex MAIN.tex

try

pdflatex `\AtBeginDocument{\def\readdata#1#2{}} \input{MAIN.tex}`

Herbert


More information about the PSTricks mailing list