X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fpatches%2Flltjcore.sty;h=2d577fc687aa7d887776d392171b337fc5132f0a;hb=ed437f13e5e2fe4ffd25dc0176294908d9f86beb;hp=b1ef812652ffd877fdfe86d5a3d80e5c82fb66ac;hpb=4dd468350bc30a54bac2b7f533c7d1e1233b8653;p=luatex-ja%2Fluatexja.git diff --git a/src/patches/lltjcore.sty b/src/patches/lltjcore.sty index b1ef812..2d577fc 100644 --- a/src/patches/lltjcore.sty +++ b/src/patches/lltjcore.sty @@ -200,11 +200,12 @@ \gdef\@stopfield{\null\color@endgroup\egroup} \newcount\hour \newcount\minute -\def\@tabular{\leavevmode \null\hbox \bgroup $\let\@acol\@tabacol - \let\@classz\@tabclassz - \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray} -\def\endtabular{\crcr\egroup\egroup $\egroup\null} -\expandafter \let \csname endtabular*\endcsname = \endtabular +%%% etoolbox is loaded by everyhook +\ifltj@everyhook@avail + \patchcmd{\@tabular}{\leavevmode}{\leavevmode\null}{}{} + \apptocmd{\endtabular}{\null}{}{} + \expandafter \let \csname endtabular*\endcsname = \endtabular +\fi \let\@parboxto\@empty \long\def\@iiiparbox#1#2[#3]#4#5{% \leavevmode