summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-04 21:59:11 +0000
committerKarl Berry <karl@freefriends.org>2021-01-04 21:59:11 +0000
commiteac1f38abfc60725d59b31a3a8161540cad9571b (patch)
tree10e65bef14114ddb3f799e93dd24263ffab22819
parentb058ac8f1d027704faaa4b1302bd75ee2a8b20d8 (diff)
bookcover (4jan21)
git-svn-id: svn://tug.org/texlive/trunk@57326 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdfbin715916 -> 715916 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdfbin78361 -> 78361 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bookcover/bookcover.pdfbin1547814 -> 1551946 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdfbin7400 -> 12109 bytes
-rw-r--r--Master/texmf-dist/source/latex/bookcover/bookcover.dtx24
-rw-r--r--Master/texmf-dist/tex/latex/bookcover/bookcover.cls5
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
--- a/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf
+++ b/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdf
+++ b/Master/texmf-dist/doc/latex/bookcover/bookcover-example2.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
+++ b/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdf
+++ b/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-barcode.pdf
Binary files 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}
%</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}
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}