[pstricks] Selcting \rput commands

Adam Fenn acwfenn at hotmail.com
Thu Feb 22 11:37:48 CET 2007


I have been using pstricks to create cartographic maps e.g.

{\psset{unit=1600pt}
\pspicture*(3.00000,2.30000)(3.26000,2.62000)
\input symbols.dat
\endpspicture
}

The file symbols.dat contains a list of records created from a database in 
the form

\rput(3.31667,2.34189){\mysymbol}

where \mysymbol is a custom symbol created in a \pspicture environment of 
which I have around fifty separate examples.

My problem is that when I zoom in on my map e.g.

{\psset{unit=5000pt}
\pspicture*(3.12700,2.48000)(3.20000,2.60500)
\input symbols.dat
\endpspicture
}

I get the error ‘dimension too large’ for obvious reasons. However since the 
offending \rput commands fall outside the range of the \pspicture 
environment I do not need them.

My question is, how can I read the file symbols.dat yet ignore all \rput 
commands which fall beyond the range of the \pspicture environment.

Yours,
Adam Fenn.

_________________________________________________________________
Click Here To Find Your Perfect Match This Valentines!  
http://msnuk.match.com/




More information about the PSTricks mailing list