
thanks very much for reading my post. This is my first post, so I'll try to make it as clear as possible. Please let me know if I missed a precious information. I really need your help guys regarding an issue I have got while using the package poker.sty
I downloaded this package on this website:
http://www.encke.net/UpDownload-req-vie ... 0.81a.html
Just for info, in case that's important, poker.sty uses the package PSTricks which makes the compilation impossible into PDF (I mean directly). Indeed, PSTricks uses PostScript \special commands, which are not supported by PDF(La)TeX. So, I compile into PS first, and then into PDF.
Anyway, I have got some error messages while compiling "LaTeX -> PS".
Here is my code:
Code: Select all
\documentclass{book}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{poker}%This package is based on PSTricks
%So the compilation has to be LaTeX=>DVI=>PS=>PDF
%This package uses PostScript \special commands, which are not supported by pfd compilation
\setkeys{poker}{cpr=8,colorset=4c,framebg=blue,corners=2,peek=right}
\begin{document}%On commence le document
Here is a Royal Flush:
\begin{cards}
\crdAs \crdKs \crdQs \crdJs \crdtens %That's where I get the error messages
\end{cards}
\end{document}

Code: Select all
! Package xkeyval Error: value '\pkr@shad' is not allowed. See the keyval package documentation for explanation. Type H <return> for immediate help. ... 1.19 \crdAs \crdKs \crdQs \crdJs \crdtens
Code: Select all
! Package xkeyval Error: value '\pkr@shad' is not allowed. See the keyval package documentation for explanation. Type H <return> for immediate help. ... 1.19 \crdAs \crdKs \crdQs \crdJs \crdtens <King-spade-color.eps>
Code: Select all
! Package xkeyval Error: value '\pkr@shad' is not allowed. See the keyval package documentation for explanation. Type H <return> for immediate help. ... 1.19 \crdAs \crdKs \crdQs \crdJs \crdtens <Queen-spade-color.eps>
Code: Select all
! Package xkeyval Error: value '\pkr@shad' is not allowed. See the keyval package documentation for explanation. Type H <return> for immediate help. ... 1.19 \crdAs \crdKs \crdQs \crdJs \crdtens <Queen-spade-color.eps>
Code: Select all
! Package xkeyval Error: value '\pkr@shad' is not allowed. See the keyval package documentation for explanation. Type H <return> for immediate help. ... 1.19 \crdAs \crdKs \crdQs \crdJs \crdtens <Queen-spade-color.eps>
\pkr@shad
thing, when I go into the package file "poker.sty", here is what I find:
Code: Select all
\newcommand{\pkr@shad}{true} % line 38
% set card shadow % from line 248
\define@choicekey{poker}{shadow}[\val\nr]{blurred,solid,none}[blurred]{%
\ifcase\nr\relax%
\renewcommand{\pkr@shad}{true}%
\renewcommand{\pkr@shadblur}{true}%
\or%
\renewcommand{\pkr@shad}{true}%
\renewcommand{\pkr@shadblur}{false}%
\or%
\renewcommand{\pkr@shad}{false}%
\renewcommand{\pkr@shadblur}{false}%
\fi%
}%
Thanks very much for your help.

All the best.
Sydney