[pstricks] Problem with pst-map2d

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri May 22 09:10:05 CEST 2009


Venustiano Soancatl Aguilar schrieb:
> I try to compile the next code
> 
> \documentclass{article}
> \usepackage{pst-all}
> \usepackage{pst-map2d}
> 
> \begin{document}
>     \psset{linewidth=0.75\pslinewidth}
>     {\psset{xunit=0.5,yunit=0.5}
>     \begin{pspicture}*(-9,-9)(10,9)
>         \psframe*[linecolor=ocean](-9,-9)(10,9)
>         \psframe(-9,-9)(10,9)
>         \WorldMap[maillage=false]
>     \end{pspicture}}
> \end{document}
> 
> but I get the next error 
> 
> *****
> *****     PStoPDF output: 
> *****     cd '/media/disk/cursos/latex/pstricks/pst-map23d/examples'
> *****     ps2pdf 'world.ps' 'world.pdf'
> *****
> Error: /undefinedfilename in --run--
> Operand stack:
>    (river1.dat)   (r)


there are two important facts in usinf pst-geo:
- you have to define the correct path for the data files
  psset{data=...}
- you have to run ps2pdf -dNOSAFER ....


Herbert


More information about the PSTricks mailing list