[pstricks] strange conflict (?)

Michael Sharpe msharpe at ucsd.edu
Wed Nov 12 01:25:50 CET 2008


The use of \pstVerb here seems to conflict with \caption whenever  
there are math accents used in the caption. It's easy to rewrite your  
code without the use of \pstVerb.

\begin{figure}[htbp]
\centering
	\begin{pspicture}(-2,-2)(2,2)
		\psline{<->}(-1.5,0)(1.5,0)
		\psline{<->}(0,-1.5)(0,1.5)
		\multido{\rx=-1+0.25}{9}{%
				\multido{\ry=-1+0.25}{9}{%
\psline{->}(!\rx\space \ry)(!\rx\space \ry\space 2 div add \ry\space  
\rx\space 2 div add)
		}}
	\end{pspicture}
\caption{The vector field $\vec{F}(x,y)=y\vec{\imath}+x\vec{\jmath}$}
%\label{fig: vfieldyx}
\end{figure}%
\
Michael


On Nov 11, 2008, at 2:05 PM, Zbigniew Nitecki wrote:

> Putting in \SpecialCoor, whether immediately preceding or  
> immediately after the \begin{pspicture} line, still crashes, with  
> this error message:
> ************************************************************************************************
> Hardcore2.pdf
> Error: /invalidrestore in --restore--
> Operand stack:
>    (\feld)   1751   4702   1.0   (!)   1761   4764   1.0   (y)    
> 2222   4725   1.0   (!)   2252   4764   1.0   (x)   2476   4725    
> 1.0   (!)   2504   4764   1.0   (|)   664   4959   1.0   -- 
> nostringval--   --nostringval--
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--   -- 
> nostringval--   2   %stopped_push   --nostringval--   -- 
> nostringval--   --nostringval--   false   1   %stopped_push   1905    
> 1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3    
> %oparray_pop   1771   1   3   %oparray_pop   --nostringval--    
> %errorexec_pop   .runexec2   --nostringval--   --nostringval--   -- 
> nostringval--   2   %stopped_push   --nostringval--   -- 
> nostringval--   1834   29   4   %oparray_pop   --nostringval--    
> 1818   29   4   %oparray_pop   --nostringval--
> Dictionary stack:
>    --dict:1148/1684(ro)(G)--   --dict:0/20(G)--   --dict: 
> 115/200(L)--   --dict:227/300(L)--
> Current allocation mode is local
> Last OS error: 2
> Current file position is 8962801
> GPL Ghostscript 8.62: Unrecoverable error, exit code 1
> ### FAILED to generate /tmp/altpdflatex.10196-1226440949/ 
> Hardcore2.pdf ()
> ****************************************************************************************************
>
>
>
> Zbigniew Nitecki
> Department of Mathematics
> Tufts University
> Medford, MA 02155
>
> telephones:
> Office    (617)627-3843
> Dept.    (617)627-3234
> Dept. fax    (617)627-3966
> http://www.tufts.edu/~znitecki/
>
> On Nov 11, 2008, at 16:15, Herbert Voss wrote:
>
>> Zbigniew Nitecki schrieb:
>>> The following pspicture prints fine when it is the complete text  
>>> of a
>>> short test file, but when run in the context of a larger file, it  
>>> yields
>>> no error messages while texing, but then yields the error which  
>>> follows
>>> the *****
>>>
>>> *****************************************************************************************************
>>>
>>> \begin{figure}[htbp]
>>> \begin{center}
>>
>> \SpecialCoor
>>
>>>    \begin{pspicture}(-2,-2)(2,2)
>>>        \psline{<->}(-1.5,0)(1.5,0)
>>>        \psline{<->}(0,-1.5)(0,1.5)
>>>        \multido{\rx=-1+0.25}{9}{%
>>
>> [ ... ]
>>
>>
>> Herbert
>> _______________________________________________
>> PSTricks mailing list
>> PSTricks at tug.org
>> http://tug.org/mailman/listinfo/pstricks
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks



More information about the PSTricks mailing list