summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luatexja/src/patches
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/generic/luatexja/src/patches')
-rw-r--r--macros/luatex/generic/luatexja/src/patches/lltjcore.sty3
-rw-r--r--macros/luatex/generic/luatexja/src/patches/lltjp-fontspec.sty2
2 files changed, 4 insertions, 1 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}{}{}
diff --git a/macros/luatex/generic/luatexja/src/patches/lltjp-fontspec.sty b/macros/luatex/generic/luatexja/src/patches/lltjp-fontspec.sty
index 617eedaf9d..589a3c5d6e 100644
--- a/macros/luatex/generic/luatexja/src/patches/lltjp-fontspec.sty
+++ b/macros/luatex/generic/luatexja/src/patches/lltjp-fontspec.sty
@@ -147,7 +147,7 @@
\__fontspec_setmonofont_hook:nn {#1} {#2}
\normalfont
}
-%% end of 2.7d
+%% end of 2.7c
}}
\cs_set:Nn \fontspec_visible_space: