[pstricks] trouble with pst-poly

Michael Sharpe mchl.sharpe at gmail.com
Sat Dec 19 18:58:11 CET 2009

On Dec 19, 2009, at 8:56 AM, Herbert Voss wrote:

> Am 19.12.2009 09:57, schrieb Patrice Mégret:
>> When I tried to compile this file with \PstPolygon, I get the following error: (10): Erreur: ! Argument of \special at length has an extra }.
>> \documentclass{article}
>> \usepackage{pstricks}
>> \usepackage{pst-poly}
>> \listfiles
>> \begin{document}
>> \begin{pspicture}(0,0)(15,15)
>> %\PstPolygon
>> \end{pspicture}
>> \end{document}
>> Here is the log file when \PstPolygon is preceded by %:
>> The strange thing is that v1.60 of Pst-poly is charged but after xkeyval it is indicated v1.41 and it appears on the listfiles. So I don't see my mistake.
> I cannot see it, maybe others can confirm.
> Herbert

The file


gave me first the error message

! Argument of \special at length has an extra }.

After hitting <return>, it added

<inserted text> 
Runaway argument?
{\PstPoly at IntermediatePointDim }\ignorespaces  \ifx \PstPoly at Name \@empty \ETC.
! Paragraph ended before \special at length was complete.

I'm using pstricks.tex 1.31 (2009/11/27). I also see the strange behavior of the date and version of pst-poly. While loading, I get the message

`PST-Polygon' v1.60, 2004/11/20 (DG/hv)

but the \listfiles gives

pst-poly.sty    2004/11/20 package wrapper for pst-poly.tex (hv)
pst-poly.tex    2004/05/18 v1.41 `PST-poly' (DG)

I checked every version of pst-poly.tex on my machine. There was no version 1.41 among them.


More information about the PSTricks mailing list