summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pst-barcode
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-12 23:59:52 +0000
committerKarl Berry <karl@freefriends.org>2009-08-12 23:59:52 +0000
commitdc5141dcc0afae34b80bc9538a865a84dc4f7e20 (patch)
tree4ee283e8534e03c345b2c4b70eb28347ee1fb9d1 /Master/texmf-dist/tex/generic/pst-barcode
parent27a19abcb11fade54f7d0e9000f04ab4dff216c5 (diff)
pst-barcode update (12aug09)
git-svn-id: svn://tug.org/texlive/trunk@14633 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-barcode')
-rw-r--r--Master/texmf-dist/tex/generic/pst-barcode/pst-barcode.tex20
1 files changed, 9 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-barcode/pst-barcode.tex b/Master/texmf-dist/tex/generic/pst-barcode/pst-barcode.tex
index 9053a51196f..edf945d586b 100644
--- a/Master/texmf-dist/tex/generic/pst-barcode/pst-barcode.tex
+++ b/Master/texmf-dist/tex/generic/pst-barcode/pst-barcode.tex
@@ -19,8 +19,8 @@
\let\PSTBarcodeLoaded\endinput
\ifx\PSTricksLoaded\endinput\else\input pstricks.tex\fi
%
-\def\fileversion{0.05}
-\def\filedate{2008/07/28}
+\def\fileversion{0.07}
+\def\filedate{2009/08/12}
\message{`PST-barcode' v\fileversion, \filedate\space (tb,hv)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -29,14 +29,11 @@
\pstheader{pst-barcode.pro}
%
%
-\define@key[psset]{pst-barcode}{transx}{%
- \pst@getlength{#1}\psk@barcode@transx}
-\define@key[psset]{pst-barcode}{transy}{%
- \pst@getlength{#1}\psk@barcode@transy}
-\define@key[psset]{pst-barcode}{scalex}{\def\psk@barcode@scalex{#1}}
-\define@key[psset]{pst-barcode}{scaley}{\def\psk@barcode@scaley{#1}}
-\define@key[psset]{pst-barcode}{rotate}{%
- \pst@getangle{#1}\psk@barcode@rotate}
+\define@key[psset]{pst-barcode}{transx}[0]{\pst@getlength{#1}\psk@barcode@transx}
+\define@key[psset]{pst-barcode}{transy}[0]{\pst@getlength{#1}\psk@barcode@transy}
+\define@key[psset]{pst-barcode}{scalex}[1]{\def\psk@barcode@scalex{#1}}
+\define@key[psset]{pst-barcode}{scaley}[1]{\def\psk@barcode@scaley{#1}}
+\define@key[psset]{pst-barcode}{rotate}[0]{\pst@getangle{#1}\psk@barcode@rotate}
\psset[pst-barcode]{transx=0,transy=0,scalex=1,scaley=1,rotate=0}
%
\def\psbarcode{\pst@object{psbarcode}}
@@ -48,7 +45,8 @@
\psk@barcode@scalex\space \psk@barcode@scaley\space
\psk@barcode@transx\space \psk@barcode@transy\space
translate scale rotate
- 0 0 moveto (#1) (#2) #3\space barcode
+ 0 0 moveto (#1) (#2) #3
+%\space barcode % is no more needed
grestore
}%
\end@SpecialObj%