summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luatexja/src/patches/lltjp-everyshi.sty
blob: c1c07441d488273b06a70e57781099f1cbf50897 (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
  }\setbox8\box\voidb@x%
  \gdef\@EveryShipout@AtNextHook{}%
  \@EveryShipout@Org@Shipout\box\luatexoutputbox
}


\endinput