<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%%
%% This is file `everypage.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% everypage.dtx 
%% This is file `everypage.sty',
%% generated with the docstrip utility.
%% 
%% The original source files were:
%% 
%% everypage.dtx
%% 
%%  IMPORTANT NOTICE:
%% 
%% Copyright 2006
%% Sergio Callegari &lt;sergio.callegari@gmail.com&gt;
%% 
%% ---------------------------------------------
%% This file is part of the everypage package,
%% a contribution to the LaTeX2e system.
%% ---------------------------------------------
%% 
%% This program consists of the files listed in the README file included
%% in the package.
%% 
%% Any modified versions of this file must be renamed with new filenames
%% distinct from everypage.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file everypage.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{everypage}%
  [2007/06/20 1.1 Hooks to run on every page]
\newcommand{\sc@everypage@hook}{}
\newcommand{\sc@thispage@hook}{}
\newcommand*{\AddEverypageHook}[1]{%
  \g@addto@macro\sc@everypage@hook{#1}}
\newcommand*{\AddThispageHook}[1]{%
  \g@addto@macro\sc@thispage@hook{#1}}
\newcommand*{\sc@ep@init}{%
  \let\sc@op@saved\@outputpage
  \def\@outputpage{%
    \sc@op@preamble
    \sc@op@saved
    \sc@op@postamble}}
\newcommand*{\sc@op@preamble}{%
  \let\sc@begindvi\@begindvi
  \def\@begindvi{%
    \sc@everypage@hook
    \sc@thispage@hook
    \gdef\sc@thispage@hook{}
    \sc@begindvi}}
\newcommand*{\sc@op@postamble}{%
  \let\@begindvi\sc@begindvi}
\AtBeginDocument{\sc@ep@init}
\endinput
%%
%% End of file `everypage.sty'.
</pre></body></html>