summaryrefslogtreecommitdiff
path: root/macros/jptex/latex/platex/plcore.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/jptex/latex/platex/plcore.dtx')
-rw-r--r--macros/jptex/latex/platex/plcore.dtx16
1 files changed, 10 insertions, 6 deletions
diff --git a/macros/jptex/latex/platex/plcore.dtx b/macros/jptex/latex/platex/plcore.dtx
index afb26bcc5b..bff0ab675f 100644
--- a/macros/jptex/latex/platex/plcore.dtx
+++ b/macros/jptex/latex/platex/plcore.dtx
@@ -138,13 +138,14 @@
% \changes{v1.3k}{2021/06/28}{$BFbIt(BUnicode$B$N;~$N$_$r8!=P(B}
% \changes{v1.3l}{2021/12/08}{\LaTeXe~2021-11-15$B$KH<$&=$@5(B}
% \changes{v1.3m}{2023/02/14}{$B%U%m!<%H4D6-Fb$G$NAHJ}8~JQ99$r(Bplext$B$KM6F3(B}
+% \changes{v1.3n}{2023/02/24}{\cs{marginpar}$B$G%(%i!<$,=P$k%P%0=$@5(B}
% \fi
%
% \iffalse
%<*driver>
\NeedsTeXFormat{pLaTeX2e}
% \fi
-\ProvidesFile{plcore.dtx}[2023/02/14 v1.3m pLaTeX core file]
+\ProvidesFile{plcore.dtx}[2023/02/24 v1.3n pLaTeX core file]
% \iffalse
\RequirePackage{plautopatch}
\documentclass[dvipdfmx,a4paper]{jltxdoc}
@@ -1754,8 +1755,10 @@
% \begin{macro}{\@floatboxreset}
% $B85$O(Bltfloat.dtx$B$GDj5A$5$l$F$$$^$9!#(B
% \changes{v1.3m}{2023/02/14}{$B%U%m!<%H4D6-Fb$G$NAHJ}8~JQ99$r(Bplext$B$KM6F3(B}
+% \changes{v1.3n}{2023/02/24}{\cs{marginpar}$B$G%(%i!<$,=P$k%P%0=$@5(B}
% \begin{macrocode}
%<platexrelease>\plIncludeInRelease{2023/02/14}{\@floatboxreset}
+%<platexrelease> {Mention \layoutcaption}%
%<*plcore|platexrelease>
\def\@floatboxreset{%
\pltx@save@float@dir % pLaTeX
@@ -1815,15 +1818,16 @@
\def\pltx@save@float@dir{%
\edef\pltx@float@dir@first{\iftdir\tate\else\yoko\fi}}
\def\pltx@check@float@dir{%
- \edef\pltx@float@dir@last{\iftdir\tate\else\yoko\fi}%
- \ifx\pltx@float@dir@last\pltx@float@dir@first\else
- \pltx@err@float@dir
+ \ifx\pltx@float@dir@first\@undefined\else
+ \edef\pltx@float@dir@last{\iftdir\tate\else\yoko\fi}%
+ \ifx\pltx@float@dir@last\pltx@float@dir@first\else
+ \pltx@err@float@dir
+ \fi
\fi}
\def\pltx@err@float@dir{%
\@latex@error{Direction change inside float!?\MessageBreak
Use \noexpand\layoutcaption provided in
- \string\usepackage{plext}}\@ehc
-}
+ \string\usepackage{plext}}\@ehc}
%</plcore|platexrelease>
%<platexrelease>\plEndIncludeInRelease
%<platexrelease>\plIncludeInRelease{0000/00/00}{\pltx@check@float@dir}