summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luatexja/src/patches/lltjp-everyshi.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/generic/luatexja/src/patches/lltjp-everyshi.sty')
-rw-r--r--macros/luatex/generic/luatexja/src/patches/lltjp-everyshi.sty21
1 files changed, 21 insertions, 0 deletions
diff --git a/macros/luatex/generic/luatexja/src/patches/lltjp-everyshi.sty b/macros/luatex/generic/luatexja/src/patches/lltjp-everyshi.sty
new file mode 100644
index 0000000000..e9510e2487
--- /dev/null
+++ b/macros/luatex/generic/luatexja/src/patches/lltjp-everyshi.sty
@@ -0,0 +1,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