diff options
author | Norbert Preining <norbert@preining.info> | 2020-10-01 03:04:13 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-10-01 03:04:13 +0000 |
commit | d2a6bb90e56a2836bb59477b8f27248aab9149f5 (patch) | |
tree | 5d6be29a531495452688a3c8456355fa58d485f2 /macros/luatex/generic/luatexja/src/patches/lltjp-preview.sty | |
parent | 36f406d8d1fc994af516d837e6a87c68839cdb2d (diff) |
CTAN sync 202010010304
Diffstat (limited to 'macros/luatex/generic/luatexja/src/patches/lltjp-preview.sty')
-rw-r--r-- | macros/luatex/generic/luatexja/src/patches/lltjp-preview.sty | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/macros/luatex/generic/luatexja/src/patches/lltjp-preview.sty b/macros/luatex/generic/luatexja/src/patches/lltjp-preview.sty index 00602884ea..b850ec34cd 100644 --- a/macros/luatex/generic/luatexja/src/patches/lltjp-preview.sty +++ b/macros/luatex/generic/luatexja/src/patches/lltjp-preview.sty @@ -3,20 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjp-preview}[2018/01/20 Patch to preview for LuaTeX-ja] - -\RequirePackage{etoolbox,preview} -\newbox\ltj@preview@box - -\patchcmd\pr@endbox{% - \pr@ship@end -}{% - \setbox\ltj@preview@box=\box\AtBeginShipoutBox - \setbox\AtBeginShipoutBox=\vbox{\yoko\box\pr@box}% - \directlua{luatexja.direction.finalize()}% - \setbox\pr@box=\box\AtBeginShipoutBox - \setbox\AtBeginShipoutBox=\box\ltj@preview@box - \pr@ship@end -}{}{} - +\ProvidesPackage{lltjp-preview}[2020-10-01 Patch to preview for LuaTeX-ja] +\RequirePackage{preview} +\let\pr@shipout=\ltj@shipout \endinput |