From: Hironori Kitagawa Date: Wed, 30 Sep 2020 14:30:24 +0000 (+0900) Subject: date X-Git-Tag: 20201001.0~3 X-Git-Url: http://git.osdn.net/view?p=luatex-ja%2Fluatexja.git;a=commitdiff_plain;h=51ffc6ee77fd6f1429c386cf38171c4db0fd19a9 date --- diff --git a/src/patches/lltjcore.sty b/src/patches/lltjcore.sty index bb12ea1..2af2503 100644 --- a/src/patches/lltjcore.sty +++ b/src/patches/lltjcore.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjcore}[2020-09-27 Patch to LaTeX2e Kernel for LuaTeX-ja] +\ProvidesPackage{lltjcore}[2020-09-28 Patch to LaTeX2e Kernel for LuaTeX-ja] \RequirePackage{etoolbox} %%% expl3 diff --git a/src/patches/lltjdefs.sty b/src/patches/lltjdefs.sty index 7940d3f..03366c2 100644 --- a/src/patches/lltjdefs.sty +++ b/src/patches/lltjdefs.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjdefs}[2020-08-08 Default font settings of LuaTeX-ja] +\ProvidesPackage{lltjdefs}[2020-09-30 Default font settings of LuaTeX-ja] \ifdefined\ltj@stdmcfont\else\def\ltj@stdmcfont{file:HaranoAjiMincho-Regular.otf}\fi \ifdefined\ltj@stdgtfont\else\def\ltj@stdgtfont{file:HaranoAjiGothic-Medium.otf}\fi diff --git a/src/patches/lltjfont.sty b/src/patches/lltjfont.sty index 8807c35..564a1b6 100644 --- a/src/patches/lltjfont.sty +++ b/src/patches/lltjfont.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjfont}[2020-09-26 Patch to NFSS2 for LuaTeX-ja] +\ProvidesPackage{lltjfont}[2020-09-30 Patch to NFSS2 for LuaTeX-ja] %% patching \DeclareTextComposite \def\ltj@chardef@text@cmd#1{% diff --git a/src/patches/lltjp-atbegshi.sty b/src/patches/lltjp-atbegshi.sty index 07f1673..a9ca6a2 100644 --- a/src/patches/lltjp-atbegshi.sty +++ b/src/patches/lltjp-atbegshi.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjp-atbegshi}[2020-09-27 Patching \string\shipout\space hooks for LuaTeX-ja] +\ProvidesPackage{lltjp-atbegshi}[2020-09-30 Patching \string\shipout\space hooks for LuaTeX-ja] % concept: execute all hooks inside yoko direction \vbox @@ -18,27 +18,27 @@ { % if \l_shipout_box is not a \yoko-box (= horizontal writing), % then make it a \yoko-box behorehand. - \unless\ifnum\ltjgetparameter{boxdir}{\l_shipout_box}=4 - \vbox_set:Nn \l_shipout_box { \yoko \box_use:N \l_shipout_box } - \fi + \platex_if_box_yoko:NF \l_shipout_box { + \vbox_set:Nn \l_shipout_box { \platex_direction_yoko: \box_use:N \l_shipout_box } + } % if the current direction is not \yoko, % then enclose \__shipout_execute_cont: with % a dummy \yoko-box named \l__platex_shipout_dummy_box. - \ifnum\ltjgetparameter{direction}=4 + \platex_if_direction_yoko:TF { \__platex_original_shipout_execute_cont: - \else + }{ \vbox_set:Nn \l__platex_shipout_dummy_box { - \yoko \__platex_original_shipout_execute_cont: + \platex_direction_yoko: \__platex_original_shipout_execute_cont: } % [Limitation] the code above may discard some contents, % so we'd like to put it back by \box\l__platex_shipout_dummy_box. % however, an infinite loop occurs if we uncomment the line below % so we can't. %\box_use:N \l__platex_shipout_dummy_box - \fi + } } %----------------------------------- - +\ExplSyntaxOff \expandafter\endinput \fi \RequirePackage{atbegshi}