From eac1f38abfc60725d59b31a3a8161540cad9571b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 4 Jan 2021 21:59:11 +0000 Subject: bookcover (4jan21) git-svn-id: svn://tug.org/texlive/trunk@57326 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/bookcover/bookcover-example1.pdf | Bin 715916 -> 715916 bytes .../doc/latex/bookcover/bookcover-example2.pdf | Bin 78361 -> 78361 bytes .../texmf-dist/doc/latex/bookcover/bookcover.pdf | Bin 1547814 -> 1551946 bytes .../latex/bookcover/figures/bookcover-barcode.pdf | Bin 7400 -> 12109 bytes .../source/latex/bookcover/bookcover.dtx | 24 ++++++++------------- .../texmf-dist/tex/latex/bookcover/bookcover.cls | 5 +++-- 6 files changed, 12 insertions(+), 17 deletions(-) diff --git a/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf b/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf index a3016225cc8..eff10290d90 100644 Binary files a/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf and b/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf differ diff --git a/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdf b/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdf index 86cbd0a572a..3dc0f4642e2 100644 Binary files a/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdf and b/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdf differ diff --git a/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf b/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf index 9c9f2efa3c0..29aac35547f 100644 Binary files a/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf and b/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf differ diff --git a/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdf b/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdf index fbd7fc3208a..f648d9295c9 100644 Binary files a/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdf and b/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdf differ diff --git a/Master/texmf-dist/source/latex/bookcover/bookcover.dtx b/Master/texmf-dist/source/latex/bookcover/bookcover.dtx index 55f03e82ace..47ddeb2314e 100644 --- a/Master/texmf-dist/source/latex/bookcover/bookcover.dtx +++ b/Master/texmf-dist/source/latex/bookcover/bookcover.dtx @@ -17,12 +17,12 @@ % \iffalse %<*driver> \ProvidesFile{bookcover.dtx} -\newcommand{\eifiledate}{2020/12/26} -\newcommand{\eifilever}{v3.2} +\newcommand{\eifiledate}{2021/01/04} +\newcommand{\eifilever}{v3.3} % % -%\NeedsTeXFormat{LaTeX2e}[2020/10/01] -%\ProvidesClass{bookcover}[2020/12/26 v3.2 class for book covers and dust jackets] +%\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%\ProvidesClass{bookcover}[2021/01/04 v3.3 class for book covers and dust jackets] % %<*driver> \documentclass{ltxdoc} @@ -616,10 +616,7 @@ % % \begin{examplelst} % \documentclass[spinewidth=15mm]{bookcover} -% % The pdflatex or lualatex should be called with the -shell-escape option. -% % The next line is only required for pdflatex and lualatex. -% \usepackage{pst-barcode} -% \usepackage[pdfcrop={-hires}]{auto-pst-pdf} +% \usepackage{GS1,qrcode} % % \begin{document} % @@ -630,14 +627,10 @@ % \bookcovercomponent{normal}{back}[,1cm,,]{ % \vfill % \centering -% \setlength{\fboxsep}{2mm} +% \savebox0{\EANBarcode[module_height=25mm]{ISBN 978-615-5297-19-9}} % \colorbox{white}{% -% \begin{pspicture}(1.5in,1in) -% \psbarcode{1787-6117}{includetext width=1.5 height=1}{issn} -% \end{pspicture}\qquad -% \begin{pspicture}(1.2in,1.2in) -% \psbarcode{https://www.ctan.org/pkg/bookcover}{includetext width=1.2 height=1.2}{qrcode} -% \end{pspicture}}} +% \usebox0 +% \raisebox{\depth}{\qrcode[height=\ht0]{https://www.ctan.org/pkg/bookcover}}}} % % \end{bookcover} % @@ -924,6 +917,7 @@ %% CLASS AND PACKAGES \LoadClass{article} +\@ifundefined{AddToHook}{\RequirePackage{lthooks,picture}}{}% for LaTeX format older than 2020/10/01 \RequirePackage{geometry,graphicx,calc,tikz,xparse,etoolbox} \RequirePackage[nonefgrulers]{fgruler} diff --git a/Master/texmf-dist/tex/latex/bookcover/bookcover.cls b/Master/texmf-dist/tex/latex/bookcover/bookcover.cls index 86b6ff8b5bb..fee5457773e 100644 --- a/Master/texmf-dist/tex/latex/bookcover/bookcover.cls +++ b/Master/texmf-dist/tex/latex/bookcover/bookcover.cls @@ -18,8 +18,8 @@ %% LaTeX version 1999/12/01 or later. %% -\NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesClass{bookcover}[2020/12/26 v3.2 class for book covers and dust jackets] +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesClass{bookcover}[2021/01/04 v3.3 class for book covers and dust jackets] %% OPTIONS @@ -48,6 +48,7 @@ %% CLASS AND PACKAGES \LoadClass{article} +\@ifundefined{AddToHook}{\RequirePackage{lthooks,picture}}{}% for LaTeX format older than 2020/10/01 \RequirePackage{geometry,graphicx,calc,tikz,xparse,etoolbox} \RequirePackage[nonefgrulers]{fgruler} -- cgit v1.2.3