Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have downloaded this package that allows to me to include poker card symbols in my LaTeX document. I followed this post to install the new package, except that I installed the package into /usr/share/texmf-texlive/tex/latex/poker. Following the doc inside the package I have tried to compile these few lines

\documentclass[11pt,twoside,a4paper]{article}
\usepackage{poker}
\begin{document}
\begin{cards}
\crdAs 
\end{cards}
\end{document}

LaTeX localizes the package, but is unable to understand new commands

(/usr/share/texmf-texlive/tex/latex/txfonts/ot1txr.fd)
! Undefined control sequence.
<argument> \scaleboxto 
                   (\pkr@pvw ,\pkr@pvh ){\pkr@col \sf \pkr@val }
l.5 \crdAs

returning me weird output. Have I made some mistake? Where is the error?

>latex --version
pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
kpathsea version 5.0.0
Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.46; using libpng 1.2.46
Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
Compiled with poppler version 0.18.2
share|improve this question

closed as too localized by egreg, Martin Schröder, Speravir, Kurt, Qrrbrbirlbel Apr 6 '13 at 22:19

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
The page you refer to says "switch from \scaleboxto to \psscaleboxto"; saying \let\scaleboxto\psscaleboxto after \usepackage{poker} may possibly solve the issue. –  egreg Dec 26 '12 at 13:55
    
thanx for the tip, no more error during compilation but persisting weird output :( –  emanuele Dec 26 '12 at 13:58
    
After downloading the latest version from the site I get no error (there's no trace of \scaleboxto in the package) –  egreg Dec 26 '12 at 14:07
    
How do you translate your file? The package uses PS-Tricks, so pdflatex may not work, you need latex. –  knut Dec 26 '12 at 14:18
    
I have tryied. Still weird output. –  emanuele Dec 26 '12 at 14:19

Browse other questions tagged or ask your own question.