• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: コミット

ソースコードの管理場所


コミットメタ情報

リビジョン51ffc6ee77fd6f1429c386cf38171c4db0fd19a9 (tree)
日時2020-09-30 23:30:24
作者Hironori Kitagawa <h_kitagawa2001@yaho...>
コミッターHironori Kitagawa

ログメッセージ

date

変更サマリ

差分

--- a/src/patches/lltjcore.sty
+++ b/src/patches/lltjcore.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{lltjcore}[2020-09-27 Patch to LaTeX2e Kernel for LuaTeX-ja]
6+\ProvidesPackage{lltjcore}[2020-09-28 Patch to LaTeX2e Kernel for LuaTeX-ja]
77 \RequirePackage{etoolbox}
88
99 %%% expl3
--- a/src/patches/lltjdefs.sty
+++ b/src/patches/lltjdefs.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{lltjdefs}[2020-08-08 Default font settings of LuaTeX-ja]
6+\ProvidesPackage{lltjdefs}[2020-09-30 Default font settings of LuaTeX-ja]
77
88 \ifdefined\ltj@stdmcfont\else\def\ltj@stdmcfont{file:HaranoAjiMincho-Regular.otf}\fi
99 \ifdefined\ltj@stdgtfont\else\def\ltj@stdgtfont{file:HaranoAjiGothic-Medium.otf}\fi
--- a/src/patches/lltjfont.sty
+++ b/src/patches/lltjfont.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{lltjfont}[2020-09-26 Patch to NFSS2 for LuaTeX-ja]
6+\ProvidesPackage{lltjfont}[2020-09-30 Patch to NFSS2 for LuaTeX-ja]
77
88 %% patching \DeclareTextComposite
99 \def\ltj@chardef@text@cmd#1{%
--- a/src/patches/lltjp-atbegshi.sty
+++ b/src/patches/lltjp-atbegshi.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{lltjp-atbegshi}[2020-09-27 Patching \string\shipout\space hooks for LuaTeX-ja]
6+\ProvidesPackage{lltjp-atbegshi}[2020-09-30 Patching \string\shipout\space hooks for LuaTeX-ja]
77
88 % concept: execute all hooks inside yoko direction \vbox
99
@@ -18,27 +18,27 @@
1818 {
1919 % if \l_shipout_box is not a \yoko-box (= horizontal writing),
2020 % then make it a \yoko-box behorehand.
21- \unless\ifnum\ltjgetparameter{boxdir}{\l_shipout_box}=4
22- \vbox_set:Nn \l_shipout_box { \yoko \box_use:N \l_shipout_box }
23- \fi
21+ \platex_if_box_yoko:NF \l_shipout_box {
22+ \vbox_set:Nn \l_shipout_box { \platex_direction_yoko: \box_use:N \l_shipout_box }
23+ }
2424 % if the current direction is not \yoko,
2525 % then enclose \__shipout_execute_cont: with
2626 % a dummy \yoko-box named \l__platex_shipout_dummy_box.
27- \ifnum\ltjgetparameter{direction}=4
27+ \platex_if_direction_yoko:TF {
2828 \__platex_original_shipout_execute_cont:
29- \else
29+ }{
3030 \vbox_set:Nn \l__platex_shipout_dummy_box {
31- \yoko \__platex_original_shipout_execute_cont:
31+ \platex_direction_yoko: \__platex_original_shipout_execute_cont:
3232 }
3333 % [Limitation] the code above may discard some contents,
3434 % so we'd like to put it back by \box\l__platex_shipout_dummy_box.
3535 % however, an infinite loop occurs if we uncomment the line below
3636 % so we can't.
3737 %\box_use:N \l__platex_shipout_dummy_box
38- \fi
38+ }
3939 }
4040 %</ltshipout>-----------------------------------
41-
41+\ExplSyntaxOff
4242 \expandafter\endinput
4343 \fi
4444 \RequirePackage{atbegshi}
旧リポジトリブラウザで表示