diff options
Diffstat (limited to 'macros/luatex/generic/luatexja/src/patches/lltjcore.sty')
-rw-r--r-- | macros/luatex/generic/luatexja/src/patches/lltjcore.sty | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/macros/luatex/generic/luatexja/src/patches/lltjcore.sty b/macros/luatex/generic/luatexja/src/patches/lltjcore.sty index fff34327c7..1c8f9cba4e 100644 --- a/macros/luatex/generic/luatexja/src/patches/lltjcore.sty +++ b/macros/luatex/generic/luatexja/src/patches/lltjcore.sty @@ -176,6 +176,7 @@ \ifnum\ltjgetparameter{direction}=4\else \dimen\z@\textwidth \textwidth\textheight \textheight\dimen\z@ \fi + \directlua{luatexja.lineskip.setting_backup()} \let \protect \noexpand }{}{} \patchcmd\@outputpage{% supply \yoko @@ -200,6 +201,8 @@ \patchcmd\@outputpage{\vskip\topmargin}{\vskip\topmargin\iftombow\vskip1in\fi}{}{} \patchcmd\@outputpage{\reset@font}{\@tombowreset@@paper\reset@font}{}{} \patchcmd\@outputpage{\@begindvi}{\@begindvi\@outputtombow}{}{} +\patchcmd\@outputpage{\stepcounter{page}}% + {\stepcounter{page}\directlua{luatexja.lineskip.setting_restore()}}{}{} % \pretocmd\@floatboxreset{\pltx@save@float@dir}{}{} |