summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty
blob: 8a534095d96fb9e4692a049f47ac895ae34e8707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%
% pxeveryshi.sty
% written by Takayuki Yato (ZR)
%
% This package is distributed as part of the platex-tools bundle
% maintained by Hironobu Yamashita
% by courtesy of the original author.
% https://github.com/aminophen/platex-tools
%

\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{pxeveryshi}
    [2012/05/19 v0.1 everyshi package for pLaTeX]
\RequirePackageWithOptions{everyshi}
%
\def\@EveryShipout@Output{%
  \setbox8\vbox{%
    \yoko
    \@EveryShipout@Hook
    \@EveryShipout@AtNextHook
    \global\setbox\@cclv=\box\@cclv
  }%
  \gdef\@EveryShipout@AtNextHook{}%
  \@EveryShipout@Org@Shipout\box\@cclv
}
%
\endinput
%% EOF