[pstricks] \@pstrickserr

Richard Hensh henshric at msu.edu
Mon Dec 6 10:29:15 CET 2004


I use TeX4ht to convert TeX into html. 

>From time to time, the following warning is generated:

	\@pstrickserr{Extraneous space in the pspicture environment}

Can anyone help me track this error down in general?

This is what I have discovered:

\newpsobject{showgrid}{psgrid}{%
   gridlabels=0pt%
   ,griddots=0%
   ,gridwidth=0.5pt%
   ,gridcolor=gray%
   ,subgriddiv=0%
   ,subgridwidth=0.25pt%
   ,subgridcolor=red}

Now if I include the command below inside of a pspicture environment I get
the error mentioned above.

	\myaxes{<->}(0,0)(\xmin,\ymin)(\xmax,\ymax)

If I change it to 

	\myaxes{<->}(0,0)(\xmin,\ymin)(\xmax,\ymax)%

The error goes away. It has taken me several months to track down this
error. I'm asking this question more for future reference. 

Thanks
ricky




More information about the PSTricks mailing list