From c0d3f9b102b2bb96146d19790b4dd0b73cde5e99 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 20 Mar 2021 22:19:23 +0000 Subject: gridpapers (20mar21) git-svn-id: svn://tug.org/texlive/trunk@58560 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/gridpapers/gridpapers.pdf | Bin 220081 -> 222877 bytes .../source/latex/gridpapers/gridpapers.dtx | 11 ++++++++--- .../texmf-dist/tex/latex/gridpapers/gridpapers.sty | 7 +++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Master/texmf-dist/doc/latex/gridpapers/gridpapers.pdf b/Master/texmf-dist/doc/latex/gridpapers/gridpapers.pdf index 2204f6fd67c..9e810822399 100644 Binary files a/Master/texmf-dist/doc/latex/gridpapers/gridpapers.pdf and b/Master/texmf-dist/doc/latex/gridpapers/gridpapers.pdf differ diff --git a/Master/texmf-dist/source/latex/gridpapers/gridpapers.dtx b/Master/texmf-dist/source/latex/gridpapers/gridpapers.dtx index c3584ef59fd..20fa3ba4d62 100644 --- a/Master/texmf-dist/source/latex/gridpapers/gridpapers.dtx +++ b/Master/texmf-dist/source/latex/gridpapers/gridpapers.dtx @@ -50,7 +50,7 @@ % % \fi % -% \CheckSum{430} +% \CheckSum{432} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -70,6 +70,8 @@ % % % \changes{v1.0.0}{2021/03/13}{Converted to DTX file} +% \changes{v1.0.1}{2021/03/19}{Hotfix: old installs don't have +% everypage-1x, use everypage} % % \DoNotIndex{\newcommand,\newenvironment} % @@ -242,7 +244,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{gridpapers} - [2021/03/14 v1.0.0 Graph paper backgrounds] + [2021/03/19 v1.0.1 Graph paper backgrounds] \RequirePackage{xkeyval} \RequirePackage{kvoptions} @@ -254,7 +256,10 @@ %% approach, but fall back to everypage-1x if needed %% This code is roughly taken from the new everypage code \@ifundefined{AddToHook}{% - \RequirePackage{everypage-1x} + \IfFileExists{everypage-1x.sty}{% + %% If everypage is new enough to complain, avoid the complaints + \RequirePackage{everypage-1x} + }{\RequirePackage{everypage}} }{% \newcommand*{\AddEverypageHook}[1]{% \AddToHook{shipout/background}{\put(1in,-1in){#1}}} diff --git a/Master/texmf-dist/tex/latex/gridpapers/gridpapers.sty b/Master/texmf-dist/tex/latex/gridpapers/gridpapers.sty index 3a4a75f77ed..e5225a96c2c 100644 --- a/Master/texmf-dist/tex/latex/gridpapers/gridpapers.sty +++ b/Master/texmf-dist/tex/latex/gridpapers/gridpapers.sty @@ -21,7 +21,7 @@ \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{gridpapers} - [2021/03/14 v1.0.0 Graph paper backgrounds] + [2021/03/19 v1.0.1 Graph paper backgrounds] \RequirePackage{xkeyval} \RequirePackage{kvoptions} @@ -33,7 +33,10 @@ %% approach, but fall back to everypage-1x if needed %% This code is roughly taken from the new everypage code \@ifundefined{AddToHook}{% - \RequirePackage{everypage-1x} + \IfFileExists{everypage-1x.sty}{% + %% If everypage is new enough to complain, avoid the complaints + \RequirePackage{everypage-1x} + }{\RequirePackage{everypage}} }{% \newcommand*{\AddEverypageHook}[1]{% \AddToHook{shipout/background}{\put(1in,-1in){#1}}} -- cgit v1.2.3