OSDN Git Service

platex/#96 (\@makecol)
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Wed, 17 Mar 2021 00:20:52 +0000 (09:20 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Wed, 17 Mar 2021 00:20:52 +0000 (09:20 +0900)
src/patches/lltjcore.sty
src/patches/lltjp-footmisc.sty
src/patches/lltjp-stfloats.sty

index 82d6d2e..b501ec0 100644 (file)
@@ -3,7 +3,7 @@
 %
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjcore}[2021-03-14 Patch to LaTeX2e Kernel for LuaTeX-ja]
+\ProvidesPackage{lltjcore}[2021-03-17 Patch to LaTeX2e Kernel for LuaTeX-ja]
 \RequirePackage{etoolbox}
 
 %%% expl3
   \fi\fi}
 
 \patchcmd\@vtryfc{\global\setbox\@outputbox\vbox{}}
-  {\global\setbox\@outputbox\vbox{\unless\ifnum\ltjgetparameter{direction}=4\hskip\z@\fi}}{}{}
+  {\global\setbox\@outputbox\vbox{%
+     \unless\ifnum\ltjgetparameter{direction}=4
+       \primitive\everypar{}\hskip\z@\fi
+  }}{}{}
 
 \newif\iftombow \tombowfalse
 \newif\iftombowdate \tombowdatetrue
        \@texttop
        \dimen@ \dp\@outputbox
        \unvbox \@outputbox
-       \unless\ifnum\ltjgetparameter{direction}=4\vbox{\hskip\z@}\fi %%% LuaTeX-ja
+       \unless\ifnum\ltjgetparameter{direction}=4
+         \vbox{\primitive\everypar{}\hskip\z@}%
+       \fi %%% LuaTeX-ja
        \vskip -\dimen@
        \ifltj@ftn@unvboxed\iffnfixbottom\else\@textbottom\fi\else\@textbottom\fi
        }%
index f74c496..99ed190 100644 (file)
@@ -3,7 +3,7 @@
 %
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjp-footmisc}[2017/05/05 Patch to footmisc for LuaTeX-ja]
+\ProvidesPackage{lltjp-footmisc}[2021-03-17 Patch to footmisc for LuaTeX-ja]
 \RequirePackage{footmisc}
 
 \let  \if@tempswa  \ifFN@bottom
@@ -47,7 +47,9 @@
       \setbox\@outputbox \vbox to\@colht{%
         \@texttop \dimen@\dp\@outputbox
         \unvbox\@outputbox
-        \ifnum\ltjgetparameter{direction}=3 \vbox{\hskip\z@}\fi %%% LuaTeX-ja
+        \unless\ifnum\ltjgetparameter{direction}=4
+          \vbox{\primitive\everypar{}\hskip\z@}%
+        \fi %%% LuaTeX-ja
         \vskip -\dimen@\@textbottom
       }%
     \fi
index e7535bd..6ce9528 100644 (file)
@@ -1,5 +1,5 @@
 %
-% lltjp-stfloats.sty 2017-05-05
+% lltjp-stfloats.sty 2021-03-17
 %
 
 \NeedsTeXFormat{LaTeX2e}
@@ -14,7 +14,9 @@
 \global\let\org@makecol\ltj@orig@makecol
 
 \patchcmd\fn@makecol{\vskip -\dimen@\@textbottom}%
-  {\ifnum\ltjgetparameter{direction}=4\else\vbox{\hskip\z@}\fi %%% LuaTeX-ja
+  {\unless\ifnum\ltjgetparameter{direction}=4
+     \vbox{\primitive\everypar{}\hskip\z@}%
+   \fi %%% LuaTeX-ja
    \vskip -\dimen@
    \ifltj@ftn@unvboxed\iffnfixbottom\else\@textbottom\fi\else\@textbottom\fi}{}{}
 \patchcmd\fn@makecol{\vskip\skip\footins}{\iffnfixbottom\vskip\z@\@plus.0001fil\fi\vskip\skip\footins}{}{}