summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/gridpapers/gridpapers.pdfbin220081 -> 222877 bytes
-rw-r--r--Master/texmf-dist/source/latex/gridpapers/gridpapers.dtx11
-rw-r--r--Master/texmf-dist/tex/latex/gridpapers/gridpapers.sty7
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
--- a/Master/texmf-dist/doc/latex/gridpapers/gridpapers.pdf
+++ b/Master/texmf-dist/doc/latex/gridpapers/gridpapers.pdf
Binary files 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 @@
%</driver>
% \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}}}