summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pst-barcode
diff options
context:
space:
mode:
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%