diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-24 22:30:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-24 22:30:07 +0000 |
commit | c52f027c13ec66d348548a8fc0508a69f3e6d86e (patch) | |
tree | 3316d9aad881e7d98f4292081aa96d17d2e87bd9 /Master/texmf-dist | |
parent | 331851c24408f471980c330a0f7a5676f5a62991 (diff) |
ean13isbn (24jan21)
git-svn-id: svn://tug.org/texlive/trunk@57514 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/ean13isbn/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.pdf | bin | 323269 -> 311973 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ean13isbn/ean13isbn.sty | 13 |
4 files changed, 18 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/ean13isbn/README b/Master/texmf-dist/doc/latex/ean13isbn/README index 15b7a47d341..06220a4ce99 100644 --- a/Master/texmf-dist/doc/latex/ean13isbn/README +++ b/Master/texmf-dist/doc/latex/ean13isbn/README @@ -1,6 +1,8 @@ ============================================================================= -Package: ean13isbn Version 1.0 22 June 2008 +Package: ean13isbn Version 2021-01-24 24 January 2021 ============================================================================= -The package generates EAN13 bar codes with ISBN as uaed after 1 January 2007. +The package generates EAN13 bar codes with ISBN as used after 1 January 2007. The package makes use of ean13.tex developed by Petr Olsak. + +This version reflects recent changes in PSNFSS. diff --git a/Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.pdf b/Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.pdf Binary files differindex dad9dec06ee..8fd77cd087b 100644 --- a/Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.pdf +++ b/Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.pdf diff --git a/Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.tex b/Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.tex index fc7125776bd..9d84fc143a9 100644 --- a/Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.tex +++ b/Master/texmf-dist/doc/latex/ean13isbn/ean13isbn.tex @@ -1,9 +1,8 @@ -%% $Id: ean13isbn.tex 203 2008-06-14 18:56:59Z zw $ +%% $Id: ean13isbn.tex 341 2010-12-03 22:33:52Z zw $ \input utf8-t1 % encTeX required \documentclass[11pt]{article} \usepackage{zwgetfdate} -% The following package will be made available soon. -\usepackage[footskip=30pt]{zwpagelayout} +\usepackage[footskip=30pt,nopdfinfo]{zwpagelayout} \usepackage[T1]{fontenc} \usepackage{lmodern,array} \usepackage[protrusion=false,expansion=true,stretch=8,shrink=24,step=4]{microtype} @@ -192,6 +191,9 @@ The plain \TeX\ file \texttt{ean13.tex} uses the following ``unprotected'' macro \cmd{ocrb}, \cmd{ocrbsmall}, \cmd{barheight}, \cmd{bcorr}, \cmd{numlines}, \cmd{numdigit}, \cmd{A}, \cmd{B}, \cmd{EANbox} and others. Do not redefine them. +\section{History} +The version of 24 January 2021 reflects recent changes in PSNFSS. + \section{License} The package can be used and distributed according to the LaTeX Project Public License version~1.3 or later the text of which can be found at the \texttt{License.txt} file in the \texttt{doc} directory or at diff --git a/Master/texmf-dist/tex/latex/ean13isbn/ean13isbn.sty b/Master/texmf-dist/tex/latex/ean13isbn/ean13isbn.sty index d55517db90d..821ac862dc1 100644 --- a/Master/texmf-dist/tex/latex/ean13isbn/ean13isbn.sty +++ b/Master/texmf-dist/tex/latex/ean13isbn/ean13isbn.sty @@ -1,7 +1,7 @@ -\ProvidesPackage{ean13isbn}[2008/06/20 EAN13 with ISBN] -\PackageInfo{ean13isbn}{$Id: ean13isbn.sty 208 2008-06-19 23:25:37Z zw $\@gobble} +\ProvidesPackage{ean13isbn}[2021/01/24 EAN13 with ISBN] +\PackageInfo{ean13isbn}{$Id: ean13isbn.sty 550 2021-01-23 23:47:58Z zw $\@gobble} -%% Copyright 2008 Z. Wagner, http://icebearsoft.euweb.cz +%% Copyright 2008, 2021 Z. Wagner, http://icebearsoft.euweb.cz % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -77,6 +77,7 @@ \zw@mubytein \newdimen\zw@isbnfsize +\newbox\zw@test@box \def\zw@eansetup@params{\X\zw@xm \font\ocrb ocrb9 scaled \zw@scale @@ -88,7 +89,11 @@ \def\zw@next##1##2##3##4.{\zw@isbnfsize ##1.##2##3##4\zw@isbnfsize} \expandafter\zw@next\zw@scale. \fi - \def\zw@isbnfont{\usefont{OT1}{phv}{mc}{n}\fontsize{\zw@isbnfsize}{\zw@isbnfsize}\selectfont}} + \def\zw@isbnfont{\usefont{OT1}{phv}{c}{n}\fontsize{\zw@isbnfsize}{\zw@isbnfsize}\selectfont} + \setbox\zw@test@box=\hbox{\zw@isbnfont0}% + \ifdim\wd\zw@test@box>.65\ht\zw@test@box + \def\zw@isbnfont{\usefont{OT1}{phv}{mc}{n}\fontsize{\zw@isbnfsize}{\zw@isbnfsize}\selectfont} + \fi} \zw@eansetup@params \def\zw@EANisbn{\def\ISBNnum{\let\ocrbsmall\relax |