From 55097199d5a72bdb3cbe219ff0509e8daac93a3c Mon Sep 17 00:00:00 2001 From: Hironobu Yamashita Date: Sat, 29 Feb 2020 14:51:29 +0000 Subject: emergency update again: r53974 fails 'fmtutil-sys --byfmt (u)platex-dev' git-svn-id: svn://tug.org/texlive/trunk@53975 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/platex/base/plfonts.dtx | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/source/platex') diff --git a/Master/texmf-dist/source/platex/base/plfonts.dtx b/Master/texmf-dist/source/platex/base/plfonts.dtx index 78ab72ff991..7163f9a5644 100644 --- a/Master/texmf-dist/source/platex/base/plfonts.dtx +++ b/Master/texmf-dist/source/platex/base/plfonts.dtx @@ -1941,13 +1941,22 @@ %<*plcore|platexrelease> \ifx\fontseriesforce\@undefined % old \else % 2020-02-02 - \ifx\series@maybe@drop@one@m\@undefined % patch level 0--4 + \ifx\@forced@seriestrue\@undefined % patch level 0, 1, 2 \@latex@error {Please update LaTeX2e!^^J\space\space - At least LaTeX2e 2020-02-02 patch level 5 is required} - {LaTeX2e 2020-02-02 patch level 2 and 4 has a bug.} + At least LaTeX2e 2020-02-02 patch level 3 is required} + {LaTeX2e 2020-02-02 patch level 2 has a bug.} % \@@end \fi + % actually we'd like to check the below too, + % but commented out for TL19 frozen since + % platex-dev format generation fails + %\ifx\series@maybe@drop@one@m\@undefined % patch level 0--4 + % \@latex@error + % {Please update LaTeX2e!^^J\space\space + % At least LaTeX2e 2020-02-02 patch level 5 is required} + % {LaTeX2e 2020-02-02 patch level 2 and 4 has a bug.} + %\fi \fi % % \end{macrocode} @@ -2040,11 +2049,18 @@ \fi \fi } +\ifx\series@maybe@drop@one@m\@undefined % patch level 0--4 +\def\set@target@series@kanji#1{% + \edef\k@series{#1}% + \edef\k@series{\expandafter\series@drop@one@m\k@series mm\series@drop@one@m}% +} +\else % patch level 5 \def\set@target@series@kanji#1{% \edef\k@series{#1}% \expandafter\series@maybe@drop@one@m\expandafter{\k@series}\k@series } \fi +\fi % \end{macrocode} % \end{macro} % \end{macro} -- cgit v1.2.3