[2066] | 1 | %% |
---|
| 2 | %% This is file `everyshi.sty', |
---|
| 3 | %% generated with the docstrip utility. |
---|
| 4 | %% |
---|
| 5 | %% The original source files were: |
---|
| 6 | %% |
---|
| 7 | %% everyshi.dtx (with options: `package') |
---|
| 8 | %% |
---|
| 9 | %% Copyright (C) [1994..1999] by Martin Schroeder. All rights reserved. |
---|
| 10 | %% |
---|
| 11 | %% This file is part of the EveryShi package |
---|
| 12 | %% |
---|
| 13 | %% This program may be redistributed and/or modified under the terms |
---|
| 14 | %% of the LaTeX Project Public License, either version 1.0 of this |
---|
| 15 | %% license, or (at your option) any later version. |
---|
| 16 | %% The latest version of this license is in |
---|
| 17 | %% CTAN:macros/latex/base/lppl.txt. |
---|
| 18 | %% |
---|
| 19 | %% Happy users are requested to send me a postcard. :-) |
---|
| 20 | %% |
---|
| 21 | %% The EveryShi package contains these files: |
---|
| 22 | %% |
---|
| 23 | %% everyshi.asc |
---|
| 24 | %% everyshi.dtx |
---|
| 25 | %% everyshi.dvi |
---|
| 26 | %% everyshi.ins |
---|
| 27 | %% everyshi.bug |
---|
| 28 | %% |
---|
| 29 | %% Error Reports in case of UNCHANGED versions to |
---|
| 30 | %% |
---|
| 31 | %% Martin Schr"oder |
---|
| 32 | %% Cr"usemannallee 3 |
---|
| 33 | %% D-28213 Bremen |
---|
| 34 | %% Martin.Schroeder@ACM.org |
---|
| 35 | %% |
---|
| 36 | %% File: everyshi.dtx Copyright (C) 1994 Martin Schr\"oder |
---|
| 37 | \NeedsTeXFormat{LaTeX2e} |
---|
| 38 | \ProvidesPackage{everyshi} |
---|
| 39 | [1999/06/08 v2.03 EveryShipout Package (MS)] |
---|
| 40 | %% \CharacterTable |
---|
| 41 | %% {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 |
---|
| 42 | %% Lower-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 |
---|
| 43 | %% Digits \0\1\2\3\4\5\6\7\8\9 |
---|
| 44 | %% Exclamation \! Double quote \" Hash (number) \# |
---|
| 45 | %% Dollar \$ Percent \% Ampersand \& |
---|
| 46 | %% Acute accent \' Left paren \( Right paren \) |
---|
| 47 | %% Asterisk \* Plus \+ Comma \, |
---|
| 48 | %% Minus \- Point \. Solidus \/ |
---|
| 49 | %% Colon \: Semicolon \; Less than \< |
---|
| 50 | %% Equals \= Greater than \> Question mark \? |
---|
| 51 | %% Commercial at \@ Left bracket \[ Backslash \\ |
---|
| 52 | %% Right bracket \] Circumflex \^ Underscore \_ |
---|
| 53 | %% Grave accent \` Left brace \{ Vertical bar \| |
---|
| 54 | %% Right brace \} Tilde \~} |
---|
| 55 | %% |
---|
| 56 | %% \iffalse meta-comment |
---|
| 57 | %% =================================================================== |
---|
| 58 | %% @LaTeX-package-file{ |
---|
| 59 | %% author = {Martin Schr\"oder}, |
---|
| 60 | %% version = "2.03", |
---|
| 61 | %% date = "8 June 1999", |
---|
| 62 | %% filename = "everyshi.sty", |
---|
| 63 | %% address = {Martin Schr\"oder |
---|
| 64 | %% Cr\"usemannallee 3 |
---|
| 65 | %% D-28213 Bremen |
---|
| 66 | %% telephone = "+49-421-2239425", |
---|
| 67 | %% email = "Martin.Schroeder@ACM.org", |
---|
| 68 | %% pgp-Key = "2048 bit / KeyID 292814E5", |
---|
| 69 | %% pgp-fingerprint = "7E86 6EC8 97FA 2995 82C3 FEA5 2719 090E", |
---|
| 70 | %% docstring = "LaTeX package which defines a new hook |
---|
| 71 | %% \EveryShipout. |
---|
| 72 | %% } |
---|
| 73 | %% =================================================================== |
---|
| 74 | %% \fi |
---|
| 75 | |
---|
| 76 | \let\@EveryShipout@Hook\@empty |
---|
| 77 | \newcommand{\EveryShipout}{\g@addto@macro\@EveryShipout@Hook} |
---|
| 78 | \newcommand{\@EveryShipout@Shipout}{% |
---|
| 79 | \afterassignment\@EveryShipout@Test |
---|
| 80 | \global\setbox\@cclv= % |
---|
| 81 | } |
---|
| 82 | \newcommand{\@EveryShipout@Test}{% |
---|
| 83 | \ifvoid\@cclv\relax |
---|
| 84 | \aftergroup\@EveryShipout@Output |
---|
| 85 | \else |
---|
| 86 | \@EveryShipout@Output |
---|
| 87 | \fi% |
---|
| 88 | } |
---|
| 89 | \newcommand{\@EveryShipout@Output}{% |
---|
| 90 | \@EveryShipout@Hook% |
---|
| 91 | \@EveryShipout@Org@Shipout\box\@cclv% |
---|
| 92 | } |
---|
| 93 | \newcommand{\@EveryShipout@Org@Shipout}{} |
---|
| 94 | \newcommand*{\@EveryShipout@Init}{% |
---|
| 95 | \let\@EveryShipout@Org@Shipout\shipout |
---|
| 96 | \let\shipout\@EveryShipout@Shipout |
---|
| 97 | } |
---|
| 98 | \AtBeginDocument{\@EveryShipout@Init} |
---|
| 99 | \endinput |
---|
| 100 | %% |
---|
| 101 | %% End of file `everyshi.sty'. |
---|