• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: コミット

ソースコードの管理場所


コミットメタ情報

リビジョン1a7298447f6ef6ef7c2c619a9bf9046d4357d192 (tree)
日時2021-04-20 22:35:33
作者Hironori Kitagawa <h_kitagawa2001@yaho...>
コミッターHironori Kitagawa

ログメッセージ

fix #42039

変更サマリ

差分

--- a/src/lltjext.sty
+++ b/src/lltjext.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{lltjext}[2020-09-30 v1.2k-ltj-12 Macros for vertical writing]
6+\ProvidesPackage{lltjext}[2021-04-20 v1.2k-ltj-13 Macros for vertical writing]
77 \RequirePackage{luatexja}
88 \newcount\ltj@ext@dir
99 \let\ltj@lltjext@orig@tabular=\tabular
@@ -28,7 +28,7 @@
2828 \setlength\dimen@{#2}%
2929 \edef\@halignto{to\the\dimen@}\p@tabular<#1>}
3030 \def\p@tabular<#1>{\leavevmode \hbox \bgroup
31- \ltj@ext@dir=\ltjgetparameter{direction}
31+ \ltj@ext@dir=\ltjgetparameter{direction}\relax
3232 $\let\@acol\@tabacol
3333 \let\@classz\@tabclassz
3434 \let\@classiv\@tabclassiv \let\\\@tabularcr\p@tabarray<#1>}
@@ -36,6 +36,7 @@
3636 {\p@array<#1>}{\p@array<#1>[c]}}
3737
3838 \def\p@array<#1>[#2]#3{%
39+ \ifnum\ltj@ext@dir=0 \ltj@ext@dir=\ltjgetparameter{direction}\relax\fi
3940 \let\box@dir\relax
4041 \if #1z\relax
4142 \ifnum\ltj@ext@dir=3\relax
@@ -674,7 +675,7 @@
674675
675676 \def\ltj@lltjext@patch@array{%
676677 \patchcmd{\@tabular}{\hbox\bgroup}{%
677- \hbox\bgroup\ltj@ext@dir=\ltjgetparameter{direction}}{}{}
678+ \hbox\bgroup\ltj@ext@dir=\ltjgetparameter{direction}\relax}{}{}
678679 \pretocmd{\array}%
679680 {\ltj@ext@dir=\ltjgetparameter{direction}\relax}{}{}
680681 \expandafter\let\csname tabular*\endcsname=\ltj@lltjext@orig@tabularS
@@ -702,6 +703,7 @@
702703 }%
703704 \def\@tabarray{\@ifnextchar<\p@tabarray{\p@tabarray<Z>}}
704705 \def\p@array<##1>[##2]##3{%
706+ \ifnum\ltj@ext@dir=0 \ltj@ext@dir=\ltjgetparameter{direction}\relax\fi
705707 \let\box@dir\relax
706708 \if ##1z\relax
707709 \ifnum\ltj@ext@dir=3\relax
@@ -734,7 +736,7 @@
734736 \fork@array@option<##1>[##2]%
735737 \begingroup
736738 \@mkpream{##3}%
737- \xdef\@preamble{\ialign \noexpand \@halignto
739+ \xdef\@preamble{\noexpand\ialign \noexpand \@halignto
738740 \bgroup \tabskip \z@skip \@arstrut \@preamble
739741 \tabskip \z@ \cr}%
740742 \endgroup
旧リポジトリブラウザで表示