OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4dd4683
)
lltjcore.sty: use \patchcmd for patching \@tabular
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Thu, 5 May 2016 12:52:56 +0000
(21:52 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Thu, 5 May 2016 12:52:56 +0000
(21:52 +0900)
src/patches/lltjcore.sty
patch
|
blob
|
history
diff --git
a/src/patches/lltjcore.sty
b/src/patches/lltjcore.sty
index
b1ef812
..
2d577fc
100644
(file)
--- a/
src/patches/lltjcore.sty
+++ b/
src/patches/lltjcore.sty
@@
-200,11
+200,12
@@
\gdef\@stopfield{\null\color@endgroup\egroup}
\newcount\hour
\newcount\minute
\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
\let\@parboxto\@empty
\long\def\@iiiparbox#1#2[#3]#4#5{%
\leavevmode