[Fwd: Re: [pstricks] pst-map2dII and Greece]

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Aug 10 19:22:24 CEST 2005


Herbert Voss wrote:

> because i was searching for a nice map of Greece i got curious when i
> saw the example by Marc and i tried to compile and view his example. I
> just installed pst-geo from CTAN after i read the chapter about pst-geo
> in Herbert's book. I copied Marc's example, changed the path according
> to my setting, double checked the path and compiled the file. Everything
> looks fine but if i try to view the ps or convert it to pdf ghostscript
> is complaining:
> 
> metallw08:~/Documents/TeX/pst-geo-test Martin$ ps2pdf pst-geo-test.ps
> Error: /invalidfileaccess in --file--
> Operand stack:
> 
> (/Users/Martin/Library/texmf/tex/generic/pstricks/pst-geo/dataII/europe-cil.dat) 

it is a problem with the ps2pdf scripts. What happens when
you use

gs -q -dBATCH -sDEVICE=pdfwrite "-sOutputFile=<file>.pdf" -c 
.setpdfwrite -f "<file>.ps"

which worked for me. Another solotion is to put the
tex file into the data base dir.

Herbert




More information about the PSTricks mailing list