summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luatexja/src/patches/lltjp-everyshi.sty
blob: e9510e248705c54e0c9d734c2874efed8182c1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%
% lltjp-everyshi.sty 2020-07-27
% almost the same as pxeveryshi package by ZR
%

\NeedsTeXFormat{LaTeX2e}
\RequirePackage{everyshi}

\def\@EveryShipout@Output{%
  \setbox8\vbox{%
    \yoko
    \@EveryShipout@Hook
    \@EveryShipout@AtNextHook
    \global\setbox\luatexoutputbox=\box\luatexoutputbox
  }%
  \gdef\@EveryShipout@AtNextHook{}%
  \@EveryShipout@Org@Shipout\box\luatexoutputbox
}


\endinput