summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-26 21:06:08 +0000
committerKarl Berry <karl@freefriends.org>2023-02-26 21:06:08 +0000
commit46e1638b28ce37028fc72a00dcd683bc1d092bfa (patch)
treedfbe20103601e3c579f1c2317f1c6f200e7f8aaf /Master/texmf-dist/tex/platex
parent22b04eaefd1d9ce259ddc0d4da20687a8754c5ed (diff)
platex (26feb23)
git-svn-id: svn://tug.org/texlive/trunk@66186 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r--Master/texmf-dist/tex/platex/base/platexrelease.sty13
-rw-r--r--Master/texmf-dist/tex/platex/base/plcore.ltx13
2 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/platex/base/platexrelease.sty b/Master/texmf-dist/tex/platex/base/platexrelease.sty
index 5fb54b5c8e1..c58ee150476 100644
--- a/Master/texmf-dist/tex/platex/base/platexrelease.sty
+++ b/Master/texmf-dist/tex/platex/base/platexrelease.sty
@@ -149,6 +149,7 @@ of this package available from CTAN}
some critical bugs. We advise you to\MessageBreak
select another format date}
\plIncludeInRelease{2017/10/28}{\PackageWarning}{pLaTeX Info}%
+ % * <2023-02-14>+1
% * <2023-02-14>
% * <2021-11-15>+1
% * <2021-11-15>
@@ -3111,6 +3112,7 @@ of this package available from CTAN}
% do nothing
\plEndIncludeInRelease
\plIncludeInRelease{2023/02/14}{\@floatboxreset}
+ {Mention \layoutcaption}%
\def\@floatboxreset{%
\pltx@save@float@dir % pLaTeX
\reset@font
@@ -3152,15 +3154,16 @@ of this package available from CTAN}
\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}
\plEndIncludeInRelease
\plIncludeInRelease{0000/00/00}{\pltx@check@float@dir}
{Mention \layoutcaption}%
diff --git a/Master/texmf-dist/tex/platex/base/plcore.ltx b/Master/texmf-dist/tex/platex/base/plcore.ltx
index 0b3d432b9da..ee93fd99e90 100644
--- a/Master/texmf-dist/tex/platex/base/plcore.ltx
+++ b/Master/texmf-dist/tex/platex/base/plcore.ltx
@@ -35,7 +35,7 @@
\def\pfmtname{pLaTeX2e}
\def\pfmtversion
{2023-02-14}
-\def\ppatch@level{0}
+\def\ppatch@level{1}
\edef\platexBANNER{\noexpand\platexNILa
\the\everyjob % LaTeX banner and delayed codes
\noexpand\platexNILb}
@@ -2184,15 +2184,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}
\renewcommand\@makefnmark{%
\ifydir \hbox{}\hbox{\@textsuperscript{\normalfont\@thefnmark}}\hbox{}%
\else\hbox{\yoko\@textsuperscript{\normalfont\@thefnmark}}\fi}