<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello everyone:<br>
<br>
The following code compiles just fine, 0 errors or warnings. However,
GSView crashes when trying to display it. <br>
If I comment out the \uput[45](IT){$W^s$} statement, it works
perfectly and it can be seen on GSView without any problems.<br>
Replacing \uput by \rput also produces a crashing-producing result..<br>
<br>
What am I doing wrong? I'd appreciate any help.<br>
<br>
Hernando Diaz<br>
<br>
The file list and the GSView error report follow. <br>
<br>
<b>THE CODE</b><br>
\listfiles<br>
\documentclass{minimal} % Hernando Diaz <br>
% 2- Allele Population dynamics with sexual reproduction<br>
%<br>
\usepackage{pstricks,pst-plot,pstricks-add}<br>
\begin{document}<br>
\def\rthe{1.05}<br>
\def\reta{0.95}<br>
%\def\MaxMag{4.2}<br>
% Vector field computation<br>
% Based on a file at the PSTricks web site <br>
\def\MaxMag{1.1}<br>
\psset{unit=8cm,linewidth=0.5pt,linecolor=blue}<br>
\SpecialCoor<br>
\psset{arrows=->}<br>
\begin{pspicture*}(-0.05,-0.05)(1.05,1.05)<br>
\multido{\rx=0.00+0.05}{21}{%<br>
\multido{\ry=0.00+0.05}{21}{%<br>
\psset{linecolor=gray}<br>
\pstVerb{/x \rx\space def<br>
/y \ry\space def<br>
/eta \reta\space def<br>
/theta \rthe\space def<br>
/opu 1 x add y sub def<br>
/omu 1 x sub y add def<br>
/Fx opu dup mul 1 x sub mul omu dup mul x mul theta mul
sub omu opu mul x mul eta mul 2 mul sub def<br>
/Fy omu dup mul 1 y sub mul theta mul opu dup mul y mul
sub omu opu mul y mul eta mul 2 mul sub def <br>
/mag Fx dup mul Fy dup mul add sqrt def<br>
/MagF mag \MaxMag\space div 0.05 mul def<br>
mag 0 eq<br>
{/ValueTempx 0 def<br>
/ValueTempy 0 def}<br>
{/ValueTempx Fx mag div MagF mul 2 div def<br>
/ValueTempy Fy mag div MagF mul 2 div def}<br>
ifelse}<br>
\psline[arrowscale=0.8,linewidth=0.25pt](! x ValueTempx sub y
ValueTempy sub)<br>
(! x ValueTempx add y ValueTempy add)}}<br>
\psIntersectionPoint(0.452,0.119)(0.952,0.619)(0,1)(1,0){IT}<br>
\uput[45](IT){$W^s$}<br>
\qdisk(IT){3pt}<br>
\end{pspicture*}<br>
\end{document}<br>
<br>
<br>
<b>THE FILE LIST</b><br>
*File List*<br>
minimal.cls 2001/05/25 Standard LaTeX minimal class<br>
pstricks.sty 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)<br>
pstricks.tex 2010/04/26 v2.05 `PSTricks' (tvz,hv)<br>
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)<br>
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)<br>
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)<br>
pst-fp.tex 2010/04/26 v2.05 `PST-fp' (hv)<br>
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)<br>
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive<br>
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)<br>
pst-plot.sty 2010/01/22 package wrapper for pst-plot.tex<br>
pst-plot.tex 2010/04/29 1.15 `pst-plot' (tvz,hv)<br>
pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for
pstricks-add.tex (hv<br>
)<br>
pstricks-add.tex 2010/03/12 v3.39 `PSTricks-add' (hv)<br>
***********<br>
<br>
<b>ERROR REPORT</b><br>
The GSView Error message<br>
<br>
AFPL Ghostscript 8.14 (2004-02-20)<br>
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.<br>
This software comes with NO WARRANTY: see the file PUBLIC for details.<br>
Displaying DSC file C:/Documents and Settings/Todos/My
Documents/Biologia/Malaria/Expo_03_2010/VFieldPop.ps<br>
Displaying page 1<br>
Error: /invalidrestore in --restore--<br>
Operand stack:<br>
(W) 288 1982 1.00006 (s) 261 1984 1.00006
--nostringval-- --nostringval--<br>
Execution stack:<br>
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- false 1 %stopped_push 1 3 %oparray_pop
1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop
.runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- 9 4
%oparray_pop --nostringval-- 9 4 %oparray_pop --nostringval--<br>
Dictionary stack:<br>
--dict:1120/1686(ro)(G)-- --dict:0/20(G)-- --dict:116/200(L)--
--dict:186/300(L)--<br>
Current allocation mode is local<br>
Last OS error: No such file or directory<br>
<br>
--- Begin offending input ---<br>
beginspecial @setspecial<br>
tx@Dict begin STP newpath 0.5 SLW 0 0 1 setrgbcolor tx@NodeDict<br>
begin tx@NodeDict /N@IT known { /N@IT load GetCenter } { 0 0 } ifelse<br>
end 3.0 1. .setopacityalpha SD end<br>
<br>
@endspecial 2245 2079 a<br>
currentpoint initclip moveto<br>
<br>
2245 2079 a 0 TeXcolorgray 0 TeXcolorgray eop end<br>
<br>
--- End offending input ---<br>
file offset = 0<br>
gsapi_run_string_continue returns -101<br>
<br>
</body>
</html>