[pstricks] pst-fill.tex: can't reproduce example from User's Guide

bill franzsen b.franzsen at mary.acu.edu.au
Mon May 26 06:06:03 CEST 2008


Trying to construct a hexagonal pattern, I started with the example given 
on p117 of the User's Guide 25/7/2003. Using the file below with plain 
tex:


---------------------
\input pstricks
\input pst-fill

\def\PstTiling{true}

\def\Tiling#1#2{%
\edef\Temp{#1}%
\pspicture#2
  \ifx\Temp\empty
    \psframe[fillstyle=boxfill]#2
  \else
    \psframe[fillstyle=boxfill,#1]#2
  \fi
\endpspicture}

\def\Hexagon{%
\pspicture(0.866,0.75)%
  \SpecialCoor
 
\pspolygon[dimen=middle](0.5;30)(0.5;90)(0.5;150)(0.5;210)(0.5;270)(0.5;330)%
\endpspicture}

\psboxfill{\Hexagon}
\Tiling{fillcyclex=2,fillloopaddy=1}{(5,5)}
%\Tiling{fillsepx=0,fillsepy=0}{(5,5)}

\bye

---------------------

When I TeX this using TeXShop I get the following error message:

! xkeyval error: `fillcyclex' undefined in families `,pst-fill'.
\XKV at err #1->\errmessage {xkeyval error: #1}
 
\XKV at s@tk at ys ...ndefined in families `\XKV at fams '}
                                                  \fi \fi \else 
\ifXKV at inpox...

\XKV at f@r ...nnil \expandafter \@gobbletwo \else #2
                                                  \expandafter \XKV at f@r 
\fi ...
<argument> fillstyle=boxfill,fillcyclex=2,
                                          fillloopaddy=1
\XKV at for@n ...e \expandafter \XKV at f@r \fi #2{#3}#1
                                                  ,\@nil ,
\XKV at setkeys ...keys \expandafter {\XKV at resb }{#1}
                                                  \XKV at usepresetkeys 
{#1}{pr...
...
l.23 \Tiling{fillcyclex=2,fillloopaddy=1}{(5,5)}
 
? 

Any ideas? Please accept my apologies if there's a typo in my file above.

Cheers

Bill

Senior Lecturer in Mathematics
Course Coordinator Graduate Certificate in Mathematics

Australian Catholic University Ltd
ABN 15 050 192 660
CRICOS Registration: 00004G, 00112C, 00873F, 00885B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080526/d00a39e2/attachment.html 


More information about the PSTricks mailing list