diff options
author | Norbert Preining <norbert@preining.info> | 2022-05-31 03:04:25 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-05-31 03:04:25 +0000 |
commit | 3edd04afa0bdf4e328d976fe85603e2421e36d2a (patch) | |
tree | 772b169a412a8479c33e330349b9e5508bf135ca /macros/luatex/generic/luatexja/src/patches/lltjcore.sty | |
parent | e86bbda34fc68baf4c550857dde06eb51a304c0d (diff) |
CTAN sync 202205310304
Diffstat (limited to 'macros/luatex/generic/luatexja/src/patches/lltjcore.sty')
-rw-r--r-- | macros/luatex/generic/luatexja/src/patches/lltjcore.sty | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/macros/luatex/generic/luatexja/src/patches/lltjcore.sty b/macros/luatex/generic/luatexja/src/patches/lltjcore.sty index 086771a200..af49aef7fa 100644 --- a/macros/luatex/generic/luatexja/src/patches/lltjcore.sty +++ b/macros/luatex/generic/luatexja/src/patches/lltjcore.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjcore}[2022-01-17 Patch to LaTeX2e Kernel for LuaTeX-ja] +\ProvidesPackage{lltjcore}[2022-05-30 Patch to LaTeX2e Kernel for LuaTeX-ja] \RequirePackage{etoolbox} %%% expl3 @@ -235,11 +235,16 @@ \hskip\@tempskipa\color@endgroup\egroup} \pretocmd{\footnote}{\inhibitglue}{}{} \pretocmd{\footnotemark}{\inhibitglue}{}{} -\patchcmd{\@footnotemark}{\@makefnmark}{% - \unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark% - \else\hbox to\z@{\hskip-.25\zw\raise.9\zh\@makefnmark\hss}\fi% -}{}{} -\let\@parboxto\@empty +\def\@ltj@process@makefnmark#1{% + \unless\ifnum\ltjgetparameter{direction}=3 #1% + \else\hbox to\z@{\hskip-.25\zw\raise.9\zh#1\hss}\fi% +}% +\ifdefined\@kernel@process@makefnmark %% 2022-06-01 latex-lab? + \let\ltj@orig@kernel@process@makefnmark=\@kernel@process@makefnmark + \def\@kernel@process@makefnmark#1{\ltj@orig@kernel@process@makefnmark{\@ltj@process@makefnmark#1}} +\else + \patchcmd{\@footnotemark}{\@makefnmark}{\@ltj@process@makefnmark\@makefnmark}{}{} +\fi \long\def\@iiiparbox#1#2[#3]#4#5{% \leavevmode \@pboxswfalse |