summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-19 20:59:23 +0000
committerKarl Berry <karl@freefriends.org>2024-02-19 20:59:23 +0000
commit6163c48b14156cef452b2ffcbd1fed06e10a27e5 (patch)
tree26166ada0eae50628b9672631e815cfebbbff8bb /Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
parent377205859d52e463b7d8187519aaeb5a7092875b (diff)
luatexja (19feb24)
git-svn-id: svn://tug.org/texlive/trunk@69987 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
index fff34327c77..1c8f9cba4ef 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/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}{}{}