texlive[57326] Master/texmf-dist: bookcover (4jan21)

commits+karl at tug.org commits+karl at tug.org
Mon Jan 4 22:59:11 CET 2021


Revision: 57326
          http://tug.org/svn/texlive?view=revision&revision=57326
Author:   karl
Date:     2021-01-04 22:59:11 +0100 (Mon, 04 Jan 2021)
Log Message:
-----------
bookcover (4jan21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf
    trunk/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdf
    trunk/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
    trunk/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdf
    trunk/Master/texmf-dist/source/latex/bookcover/bookcover.dtx
    trunk/Master/texmf-dist/tex/latex/bookcover/bookcover.cls

Modified: trunk/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/bookcover/bookcover.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bookcover/bookcover.dtx	2021-01-04 21:58:54 UTC (rev 57325)
+++ trunk/Master/texmf-dist/source/latex/bookcover/bookcover.dtx	2021-01-04 21:59:11 UTC (rev 57326)
@@ -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}
 %</driver>
 %<class>
-%<class>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-%<class>\ProvidesClass{bookcover}[2020/12/26 v3.2 class for book covers and dust jackets]
+%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<class>\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}
 

Modified: trunk/Master/texmf-dist/tex/latex/bookcover/bookcover.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookcover/bookcover.cls	2021-01-04 21:58:54 UTC (rev 57325)
+++ trunk/Master/texmf-dist/tex/latex/bookcover/bookcover.cls	2021-01-04 21:59:11 UTC (rev 57326)
@@ -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}
 



More information about the tex-live-commits mailing list.