summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-20 22:19:23 +0000
committerKarl Berry <karl@freefriends.org>2021-03-20 22:19:23 +0000
commitc0d3f9b102b2bb96146d19790b4dd0b73cde5e99 (patch)
tree3185fc16ec2b94375248b144030e7be92531a3fb /Master/texmf-dist/tex
parentaee629c82791eca01c580bd673d30c8677235806 (diff)
gridpapers (20mar21)
git-svn-id: svn://tug.org/texlive/trunk@58560 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/gridpapers/gridpapers.sty7
1 files changed, 5 insertions, 2 deletions
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}}}