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 --- Master/texmf-dist/source/latex/gridpapers/gridpapers.dtx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/source/latex/gridpapers') 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}}} -- cgit v1.2.3