From 23900c051e7b84903aa30fec02996f955184bed9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 8 Aug 2022 20:59:31 +0000 Subject: bookcover (8aug22) git-svn-id: svn://tug.org/texlive/trunk@64078 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/bookcover/README | 2 +- .../doc/latex/bookcover/bookcover-example1.pdf | Bin 715916 -> 717536 bytes .../doc/latex/bookcover/bookcover-example2.pdf | Bin 78361 -> 82335 bytes .../texmf-dist/doc/latex/bookcover/bookcover.pdf | Bin 1551946 -> 1572789 bytes .../latex/bookcover/figures/bookcover-ruler.pdf | Bin 11551 -> 12332 bytes .../source/latex/bookcover/bookcover.dtx | 18 +++++++++--------- .../source/latex/bookcover/bookcover.ins | 4 ++-- .../texmf-dist/tex/latex/bookcover/bookcover.cls | 12 ++++++------ 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Master/texmf-dist/doc/latex/bookcover/README b/Master/texmf-dist/doc/latex/bookcover/README index e8b3bac744b..8c6a2a48da1 100644 --- a/Master/texmf-dist/doc/latex/bookcover/README +++ b/Master/texmf-dist/doc/latex/bookcover/README @@ -1,4 +1,4 @@ -bookcover class, 2015-2020 by Tibor Tomacs +bookcover class, 2015-2022 by Tibor Tomacs This class helps typesetting book covers and dust jackets. diff --git a/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf b/Master/texmf-dist/doc/latex/bookcover/bookcover-example1.pdf index eff10290d90..f8839cf0f19 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 3dc0f4642e2..8b0d47f8047 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 29aac35547f..f0cd230c661 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-ruler.pdf b/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-ruler.pdf index 48f54d211ee..f987d3ee360 100644 Binary files a/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-ruler.pdf and b/Master/texmf-dist/doc/latex/bookcover/figures/bookcover-ruler.pdf differ diff --git a/Master/texmf-dist/source/latex/bookcover/bookcover.dtx b/Master/texmf-dist/source/latex/bookcover/bookcover.dtx index 47ddeb2314e..06a364f0079 100644 --- a/Master/texmf-dist/source/latex/bookcover/bookcover.dtx +++ b/Master/texmf-dist/source/latex/bookcover/bookcover.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2015-2020 by Tibor Tomacs +% Copyright (C) 2015-2022 by Tibor Tomacs % % This file may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.2 @@ -17,19 +17,19 @@ % \iffalse %<*driver> \ProvidesFile{bookcover.dtx} -\newcommand{\eifiledate}{2021/01/04} -\newcommand{\eifilever}{v3.3} +\newcommand{\eifiledate}{2022/08/08} +\newcommand{\eifilever}{v3.4} % % %\NeedsTeXFormat{LaTeX2e}[1999/12/01] -%\ProvidesClass{bookcover}[2021/01/04 v3.3 class for book covers and dust jackets] +%\ProvidesClass{bookcover}[2022/08/08 v3.4 class for book covers and dust jackets] % %<*driver> \documentclass{ltxdoc} \OnlyDescription \usepackage[T1]{fontenc} +\AddToHook{begindocument/before}[doc/hyperref]{\hypersetup{pdfstartview=FitH,bookmarksnumbered,colorlinks,allcolors=teal}} \usepackage[paperwidth=210mm,paperheight=295mm,textwidth=160mm,top=25mm,bottom=25mm,outer=25mm]{geometry} -\usepackage[unicode,pdfstartview=FitH,bookmarksnumbered,colorlinks,allcolors=teal]{hyperref} \usepackage[english]{babel} \usepackage{graphicx,listings,calc,multirow,array,paralist,eso-pic,tikz} @@ -1226,17 +1226,17 @@ \def\bookcover@tikz@content#1{% \begin{tikzpicture}[overlay,yshift=-\bookcover@partheight@] - \begin{scope}[transparent,line width=0pt] + \begingroup \pgfset{minimum width=\bookcover@partwidth@,minimum height=\bookcover@partheight@} - \pgfnode{rectangle}{south west}{}{part}{\pgfusepath{draw}} + \pgfnode{rectangle}{south west}{}{part}{\pgfusepath{}} \pgfset{minimum width=\bookcover@partwidth@-\bookcover@tikz@trimmed@part@width@minus, minimum height=\bookcover@partheight@-\bookcover@tikz@trimmed@part@height@minus} \pgftransformshift{\pgfpoint{\bookcover@tikz@trimmed@part@push@right} {\bookcover@tikz@trimmed@part@push@up}} - \pgfnode{rectangle}{south west}{}{trimmed part}{\pgfusepath{draw}} + \pgfnode{rectangle}{south west}{}{trimmed part}{\pgfusepath{}} \pgfnodealias{current trimmed part}{trimmed part}% for old method \pgfnodealias{current part}{part}% for old method - \end{scope} + \endgroup #1 \end{tikzpicture}} diff --git a/Master/texmf-dist/source/latex/bookcover/bookcover.ins b/Master/texmf-dist/source/latex/bookcover/bookcover.ins index d92a4d38dc2..c621cb15869 100644 --- a/Master/texmf-dist/source/latex/bookcover/bookcover.ins +++ b/Master/texmf-dist/source/latex/bookcover/bookcover.ins @@ -1,5 +1,5 @@ -% Copyright (C) 2015-2020 Tibor Tomacs +% Copyright (C) 2015-2022 Tibor Tomacs % This file may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.2 of this license or (at your option) any later @@ -15,7 +15,7 @@ \usedir{tex/latex/bookcover} \preamble This is a generated file. -Copyright (C) 2015-2020 Tibor Tomacs +Copyright (C) 2015-2022 Tibor Tomacs This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.2 of this license or (at your option) any later diff --git a/Master/texmf-dist/tex/latex/bookcover/bookcover.cls b/Master/texmf-dist/tex/latex/bookcover/bookcover.cls index fee5457773e..bac36610801 100644 --- a/Master/texmf-dist/tex/latex/bookcover/bookcover.cls +++ b/Master/texmf-dist/tex/latex/bookcover/bookcover.cls @@ -6,7 +6,7 @@ %% %% ./bookcover.dtx (with options: `class') %% This is a generated file. -%% Copyright (C) 2015-2020 Tibor Tomacs +%% Copyright (C) 2015-2022 Tibor Tomacs %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.2 of this license or (at your option) any later @@ -19,7 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesClass{bookcover}[2021/01/04 v3.3 class for book covers and dust jackets] +\ProvidesClass{bookcover}[2022/08/08 v3.4 class for book covers and dust jackets] %% OPTIONS @@ -357,17 +357,17 @@ \def\bookcover@tikz@content#1{% \begin{tikzpicture}[overlay,yshift=-\bookcover@partheight@] - \begin{scope}[transparent,line width=0pt] + \begingroup \pgfset{minimum width=\bookcover@partwidth@,minimum height=\bookcover@partheight@} - \pgfnode{rectangle}{south west}{}{part}{\pgfusepath{draw}} + \pgfnode{rectangle}{south west}{}{part}{\pgfusepath{}} \pgfset{minimum width=\bookcover@partwidth@-\bookcover@tikz@trimmed@part@width@minus, minimum height=\bookcover@partheight@-\bookcover@tikz@trimmed@part@height@minus} \pgftransformshift{\pgfpoint{\bookcover@tikz@trimmed@part@push@right} {\bookcover@tikz@trimmed@part@push@up}} - \pgfnode{rectangle}{south west}{}{trimmed part}{\pgfusepath{draw}} + \pgfnode{rectangle}{south west}{}{trimmed part}{\pgfusepath{}} \pgfnodealias{current trimmed part}{trimmed part}% for old method \pgfnodealias{current part}{part}% for old method - \end{scope} + \endgroup #1 \end{tikzpicture}} -- cgit v1.2.3