summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ean13isbn
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-01-25 03:03:10 +0000
committerNorbert Preining <norbert@preining.info>2021-01-25 03:03:10 +0000
commit31152d888efa58265aef8521042ad58c300f9576 (patch)
tree5b5e16b3adf4b13c00e7bb18f8221457cb3ba1b4 /macros/latex/contrib/ean13isbn
parent9456871cc89612c1f974af157f0ed08b9630c4c6 (diff)
CTAN sync 202101250303
Diffstat (limited to 'macros/latex/contrib/ean13isbn')
-rw-r--r--macros/latex/contrib/ean13isbn/License.txt (renamed from macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/License.txt)0
-rw-r--r--macros/latex/contrib/ean13isbn/README6
-rw-r--r--macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/ean13isbn.pdfbin323269 -> 0 bytes
-rw-r--r--macros/latex/contrib/ean13isbn/ean13isbn.pdfbin0 -> 311973 bytes
-rw-r--r--macros/latex/contrib/ean13isbn/ean13isbn.sty (renamed from macros/latex/contrib/ean13isbn/tex/latex/ean13isbn/ean13isbn.sty)13
-rw-r--r--macros/latex/contrib/ean13isbn/ean13isbn.tex (renamed from macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/ean13isbn.tex)8
6 files changed, 18 insertions, 9 deletions
diff --git a/macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/License.txt b/macros/latex/contrib/ean13isbn/License.txt
index 90e5e3ab79..90e5e3ab79 100644
--- a/macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/License.txt
+++ b/macros/latex/contrib/ean13isbn/License.txt
diff --git a/macros/latex/contrib/ean13isbn/README b/macros/latex/contrib/ean13isbn/README
index 15b7a47d34..06220a4ce9 100644
--- a/macros/latex/contrib/ean13isbn/README
+++ b/macros/latex/contrib/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/macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/ean13isbn.pdf b/macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/ean13isbn.pdf
deleted file mode 100644
index dad9dec06e..0000000000
--- a/macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/ean13isbn.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/ean13isbn/ean13isbn.pdf b/macros/latex/contrib/ean13isbn/ean13isbn.pdf
new file mode 100644
index 0000000000..8fd77cd087
--- /dev/null
+++ b/macros/latex/contrib/ean13isbn/ean13isbn.pdf
Binary files differ
diff --git a/macros/latex/contrib/ean13isbn/tex/latex/ean13isbn/ean13isbn.sty b/macros/latex/contrib/ean13isbn/ean13isbn.sty
index d55517db90..821ac862dc 100644
--- a/macros/latex/contrib/ean13isbn/tex/latex/ean13isbn/ean13isbn.sty
+++ b/macros/latex/contrib/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
diff --git a/macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/ean13isbn.tex b/macros/latex/contrib/ean13isbn/ean13isbn.tex
index fc7125776b..9d84fc143a 100644
--- a/macros/latex/contrib/ean13isbn/doc/latex/ean13isbn/ean13isbn.tex
+++ b/macros/latex/contrib/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