| 1 |
# The `everypage` package |
| 2 |
|
| 3 |
## Warning |
| 4 |
|
| 5 |
This package is now in *legacy status*. Functionality similar to that provided |
| 6 |
by this package is directly implemented in LaTeX since its 2020 Fall |
| 7 |
release. Do not use everypage in new documents and do not rely on it in new |
| 8 |
packages or classes of yours. |
| 9 |
|
| 10 |
When running on a pre-2020-10-01 version of LaTeX, `everypage` will now fall |
| 11 |
back to `everypage-1x`, its own past code base. |
| 12 |
|
| 13 |
When running on a modern LaTeX, `everypage` will strive to provide its legacy |
| 14 |
interfaces by using the newer LaTeX facilities. However, full equivalence is |
| 15 |
not possible and breakage may occur. Load `everypage-1x` in place of |
| 16 |
`everypage` if you really want to force usage of the old code base (that might |
| 17 |
keep working for a few more LaTeX release cycles). |
| 18 |
|
| 19 |
|
| 20 |
## Historic behavior |
| 21 |
|
| 22 |
The `everypage` package extends LaTeX providing hooks to do actions on every |
| 23 |
page or on the current page. Specifically, actions are performed before the page |
| 24 |
is shipped, so they can be used to put watermarks in the background of a page, |
| 25 |
or to set the page layout. The package reminds in some sense `bobhook` by |
| 26 |
Karsten Tinnefeld, but it differs in the way in which the hooks are |
| 27 |
implemented, as detailed in the package documentation. In some sense it may |
| 28 |
also be related to the package `everyshi` by Martin Schroeder, but again the |
| 29 |
implementation is different. |
| 30 |
|
| 31 |
The `everypage` package is copyright 2006, 2007, 2020. |
| 32 |
by Sergio Callegari <[email protected]> |
| 33 |
|
| 34 |
It comprises this `README.md` file, as well as files |
| 35 |
- `everypage.dtx` |
| 36 |
- `everypage.ins` |
| 37 |
|
| 38 |
To install the package, run LaTeX on the installation script `everypage.ins` |
| 39 |
and follow the instructions provided by the script itself. |
| 40 |
|
| 41 |
|
| 42 |
## Notes |
| 43 |
|
| 44 |
This is version 2.0 of the `everypage` package, suitable for LaTeX releases |
| 45 |
post Fall 2020. |
| 46 |
|
| 47 |
Version 1.2 might keep working for a few more LaTeX release cycles. It is now |
| 48 |
available as `everypage-1x`. It fixed a minor issue with the ordering of |
| 49 |
operations, in version 1.1. |
| 50 |
|
| 51 |
Version 1.1 fixed a bug in version 1.0 that caused LaTeX to exceed its capacity |
| 52 |
or to hang. Such behaviour was particularly evident in conjunction with the |
| 53 |
draftwatermark package. |
| 54 |
|
| 55 |
UPGRADE IS RECOMMENDED |
| 56 |
|
| 57 |
## License |
| 58 |
|
| 59 |
Package `everypage` may be distributed and/or modified under the conditions of |
| 60 |
the LaTeX Project Public License, version 1.3c. This license is available at |
| 61 |
https://www.latex-project.org/lppl/lppl-1-3c/. |
| 62 |
|
| 63 |
This work has the LPPL maintenance status "maintained". |