summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/bookcover/bookcover.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/bookcover/bookcover.dtx')
-rw-r--r--macros/latex/contrib/bookcover/bookcover.dtx24
1 files changed, 9 insertions, 15 deletions
diff --git a/macros/latex/contrib/bookcover/bookcover.dtx b/macros/latex/contrib/bookcover/bookcover.dtx
index 55f03e82ac..47ddeb2314 100644
--- a/macros/latex/contrib/bookcover/bookcover.dtx
+++ b/macros/latex/contrib/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}
%</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}