From: Hironori Kitagawa Date: Thu, 19 Jan 2017 08:26:16 +0000 (+0900) Subject: Update lltjp-stfloats.sty (ticket #36937) X-Git-Tag: 20170124.0~9 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9384c7ada7247761e4fa00191ea997121f781b07;p=luatex-ja%2Fluatexja.git Update lltjp-stfloats.sty (ticket #36937) --- diff --git a/src/patches/lltjp-stfloats.sty b/src/patches/lltjp-stfloats.sty index e90cef4..794db15 100644 --- a/src/patches/lltjp-stfloats.sty +++ b/src/patches/lltjp-stfloats.sty @@ -3,45 +3,16 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjp-stfloats}[2014/11/23 Patch to stfloats for LuaTeX-ja] +\ProvidesPackage{lltjp-stfloats}[2017/01/19 Patch to stfloats for LuaTeX-ja] \RequirePackage{stfloats,luatexja} +\RequirePackage{etoolbox} \let\ltj@fn@makecol=\fn@makecol -\gdef\fn@makecol{% - \setbox\@outputbox \box\@cclv - \let\@elt\relax - \xdef\@freelist{\@freelist\@midlist}% - \global \let \@midlist \@empty - \@combinefloats - \ifvoid\footins - \else - \setbox\@outputbox \vbox {% - \boxmaxdepth \@maxdepth - \unvbox \@outputbox - \vskip \skip\footins - \color@begingroup - \normalcolor - \footnoterule - \unvbox \footins - \color@endgroup - }% - \fi - \ifvbox\@kludgeins - \@makespecialcolbox - \else - \setbox\@outputbox \vbox to\@colht {% - \@texttop - \dimen@ \ltjgetdp\@outputbox - \unvbox \@outputbox - \ifnum\ltjgetparameter{direction}=3 \hskip\z@\fi %%% LuaTeX-ja - \vskip -\dimen@ - \@textbottom - }% - \fi - \global \maxdepth \@maxdepth - } +\patchcmd\fn@makecol{\vskip -\dimen@}% + {\ifnum\ltjgetparameter{direction}=4\else\vbox{\hskip\z@}\fi %%% LuaTeX-ja + \vskip -\dimen@}{}{} \ifx\@makecol\ltj@fn@makecol \global\let\@makecol\fn@makecol diff --git a/src/patches/lltjp-xunicode.sty b/src/patches/lltjp-xunicode.sty index bff08c3..1803cad 100644 --- a/src/patches/lltjp-xunicode.sty +++ b/src/patches/lltjp-xunicode.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjp-xunicode}[2013/05/14 Patch to xunicode for LuaTeX-ja] +\ProvidesPackage{lltjp-xunicode}[2017/01/19 Patch to xunicode for LuaTeX-ja] \def\XeTeXpicfile{} \RequirePackage{xunicode,luatexja} @@ -82,7 +82,7 @@ \let\ltj@tmpb\iftipaonetoken \let\iftipaonetoken\relax -\typeout{UTFencname: \UTFencname} +%\typeout{UTFencname: \UTFencname} \let\ltj@temp=\@temp \edef\@temp{\noexpand\ReloadXunicode{\UTFencname}}\@temp \makeatletter