texlive[45117] Master/texmf-dist: pst-poker (24aug17)

commits+karl at tug.org commits+karl at tug.org
Fri Aug 25 00:02:21 CEST 2017


Revision: 45117
          http://tug.org/svn/texlive?view=revision&revision=45117
Author:   karl
Date:     2017-08-25 00:02:21 +0200 (Fri, 25 Aug 2017)
Log Message:
-----------
pst-poker (24aug17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pst-poker/Changes
    trunk/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.pdf
    trunk/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex
    trunk/Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty

Modified: trunk/Master/texmf-dist/doc/latex/pst-poker/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pst-poker/Changes	2017-08-24 22:02:05 UTC (rev 45116)
+++ trunk/Master/texmf-dist/doc/latex/pst-poker/Changes	2017-08-24 22:02:21 UTC (rev 45117)
@@ -1,7 +1,8 @@
-%% $Id: Changes 459 2017-05-17 20:09:46Z herbert $
+%% $Id: Changes 524 2017-08-23 09:24:14Z herbert $
 %%
 
 pst-poker.sty ----------- 
+0.02 2017-08-23   - do not load txfonts by default
 0.01 2017-05-16   - first CTAN version
 
 

Modified: trunk/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex	2017-08-24 22:02:05 UTC (rev 45116)
+++ trunk/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex	2017-08-24 22:02:21 UTC (rev 45117)
@@ -1,4 +1,4 @@
-%% $Id: pst-poker-doc.tex 459 2017-05-17 20:09:46Z herbert $
+%% $Id: pst-poker-doc.tex 524 2017-08-23 09:24:14Z herbert $
 %
 \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings,
     headexclude,footexclude,oneside]{pst-doc}
@@ -41,7 +41,9 @@
 (\url{http://web.mit.edu/foley/games/Arcadia/sr/poker/pokersty}).
 \vfill
 \noindent
-Thanks to:  
+Thanks to:  \\
+Karl Berry
+
 \end{abstract}
 
 \clearpage
@@ -55,8 +57,8 @@
 \section{Inline Poker symbols}
 
 There are several possible styles for inline cards. The default way is as small cards, i.e. 
-{\Ac\Kh\Qd\Js\tenc}. They can also be displayed as simple symbols 
-{\psset{inline=symbol}\Ac\Kh\Qd\Js\tenc} or as boxed symbols {\psset{inline=boxed}\Ac\Kh\Qd\Js\tenc}. 
+{\Ac{} \Kh{} \Qd{} \Js{} \tenc}. They can also be displayed as simple symbols 
+{\psset{inline=symbol}\Ac{} \Kh{} \Qd{} \Js{} \tenc} or as boxed symbols {\psset{inline=boxed}\Ac{} \Kh{} \Qd{} \Js{} \tenc}. 
 A card back {\crdback[inline=symbol,backcolor=green]} is available, too.
 
 
@@ -63,8 +65,8 @@
 It is also possible to variate the used colorset. In addition to the standard red/black colors, a 
 four color set {\psset{inline=card,colorset=4c}\Ac\Kh\Qd\Js\tenc} as often used in online 
 poker can be chosen. When colors are not desired, i.e. for printing purposes, the possible 
-alternatives are a grayscale version {\psset{inline=symbol,colorset=gs}\Ac\Kh\Qd\Js\tenc} or 
-complete black/white {\psset{inline=boxed,colorset=bw}\Ac\Kh\Qd\Js\tenc} with outlined red symbols.
+alternatives are a grayscale version {\psset{inline=symbol,colorset=gs}\Ac{} \Kh{} \Qd{} \Js{}\tenc} or 
+complete black/white {\psset{inline=boxed,colorset=bw}\Ac{} \Kh{} \Qd{} \Js{} \tenc} with outlined red symbols.
 
 %\psset{inline=card,colorset=2c}
 \section{Poker cards}

Modified: trunk/Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty	2017-08-24 22:02:05 UTC (rev 45116)
+++ trunk/Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty	2017-08-24 22:02:21 UTC (rev 45117)
@@ -1,4 +1,4 @@
-%% $Id: pst-poker.sty 459 2017-05-17 20:09:46Z herbert $
+%% $Id: pst-poker.sty 524 2017-08-23 09:24:14Z herbert $
 %%
 %    pst-poker.sty - LaTeX poker package
 %    Copyright (C) 2017  Herbert Voß <hvoss at tug.org> 
@@ -22,12 +22,12 @@
 %%%
 \NeedsTeXFormat{LaTeX2e}
 
-\RequirePackage{txfonts}
+%\RequirePackage{txfonts}
 \RequirePackage{pstricks,pst-blur,multido}
 \RequirePackage[tiling]{pst-fill}
 
-\def\filedate{2017/05/16}
-\def\fileversion{0.01}
+\def\filedate{2017/08/23}
+\def\fileversion{0.02}
 \ProvidesFile{pst-poker}[\filedate\ v\fileversion\ [LaTeX poker package (HV)]
 %
 % basic definitions
@@ -35,6 +35,8 @@
 %\newlength\xyunit
 %\newlength\cprunit
 
+
+
 \newcommand\pkr at val{A}
 \newcommand\pkr at suit{\pspade}
 \newcommand\pkr at col{\crd at Colors}
@@ -130,6 +132,18 @@
 \newcommand\colorbackname{pkrblue}
 %
 % initialize suit variables
+
+\@ifundefined{varclubsuit}{%
+  \def\re at DeclareMathSymbol#1#2#3#4{%
+    \let#1=\undefined
+    \DeclareMathSymbol{#1}{#2}{#3}{#4}}%
+  \DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}%
+  \SetSymbolFont{symbolsC}{bold}{U}{txsyc}{bx}{n}%
+  \re at DeclareMathSymbol{\varclubsuit}{\mathord}{symbolsC}{112}%
+  \re at DeclareMathSymbol{\vardiamondsuit}{\mathord}{symbolsC}{113}%
+  \re at DeclareMathSymbol{\varheartsuit}{\mathord}{symbolsC}{114}%
+  \re at DeclareMathSymbol{\varspadesuit}{\mathord}{symbolsC}{115}%
+}{}
 \newcommand{\pspade}{\ensuremath{\spadesuit}}
 \newcommand{\pheart}{\ensuremath{\varheartsuit}}
 \newcommand{\pdiamond}{\ensuremath{\vardiamondsuit}}



More information about the tex-live-commits mailing list