summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-15 22:11:39 +0000
committerKarl Berry <karl@freefriends.org>2016-05-15 22:11:39 +0000
commita95642771b5b92f47491360fc9844cd171f71cde (patch)
treea7d17dcae09e30a9e7267c0b0ecd4cc5bbec91fd /Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
parent48121dcc91b2cbbccc5bbfbb1cc9c60ca2a695b2 (diff)
luatexja (15may16)
git-svn-id: svn://tug.org/texlive/trunk@41164 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty9
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
index 2d577fc687a..67d292381af 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty
@@ -171,11 +171,6 @@
\unless\ifnum\ltjgetparameter{direction}=3
\hbox{}\hbox{\@textsuperscript{\normalfont\@thefnmark}}\hbox{}%
\else\hbox{\yoko \@textsuperscript{\normalfont\@thefnmark}}\fi}
-\def\@footnotemark{\leavevmode
- \ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi
- \unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark
- \else\hbox to\z@{\hskip-.25\zw\raise.9\zh\@makefnmark\hss}\fi
- \ifhmode\spacefactor\@x@sf\fi\relax}
\begingroup
\@ifpackageloaded{hyperref}
{\def\ltj@setrefprefix{real}}
@@ -202,6 +197,10 @@
\newcount\minute
%%% etoolbox is loaded by everyhook
\ifltj@everyhook@avail
+ \patchcmd{\@footnotemark}{\@makefnmark}{%
+ \unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark%
+ \else\hbox to\z@{\hskip-.25\zw\raise.9\zh\@makefnmark\hss}\fi%
+ }{}{}
\patchcmd{\@tabular}{\leavevmode}{\leavevmode\null}{}{}
\apptocmd{\endtabular}{\null}{}{}
\expandafter \let \csname endtabular*\endcsname = \endtabular