[pstricks] pst-map2d
Poul Riis
Poul.Riis at skolekom.dk
Sat Oct 22 11:01:06 CEST 2011
I would like to use pst-map2d (see example - taken from the doc - below).
Latex seems to exit normally, dvi2ps seems to exit normally, and ps2pdf
(with -dNOSAFER) seems to exit normally. However, the pdf file seems to be
empty.
Loading the ps file only results in a lot of error messages:
GSview 4.9 2007-11-18
Unknown in Comments section at line 8:
%%DocumentFonts: CMR10
Unknown in Prolog section at line 65:
%% PostScript prologue for pstricks.tex.
Unknown in Prolog section at line 66:
%% Version 1.08, 2011/07/09
Unknown in Prolog section at line 67:
%%
Unknown in Prolog section at line 68:
%% This program can be redistributed and/or modified under the terms
Unknown in Prolog section at line 69:
%% of the LaTeX Project Public License Distributed from CTAN archives
Unknown in Prolog section at line 70:
%% in directory macros/latex/base/lppl.txt.
Unknown in Prolog section at line 903:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Unknown in Prolog section at line 986:
%%------------------ tvz/DG/hv (2004-05-10) end -------------------%%
I have changed the line \psset{path=data} in pst-map2d.tex to
\psset{path=c:/pstgeo/pst-geo/data} and also in the example file.
My folder c:/pstgeo/pst-geo/data contains the files aus.dat, c-cap.dat,
c-sub.dat etc.
What more should I do to make it work?
Poul Riis
\documentclass[10pt]{article}
\usepackage{pst-map2d}
\psset{path=c:/pstgeo/pst-geo/data}
\begin{document}
\begin{center}
\psset{xunit=4,yunit=4}%zoom4*
\psset{linewidth=1.25\pslinewidth}
\begin{pspicture}*(-6.5,1)(-3,3)
\WorldMap[rivers=true,city=true,USA=true]
\end{pspicture}
\end{center}
\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20111022/c6dcc737/attachment-0001.html>
More information about the PSTricks
mailing list