diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-11 23:06:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-11 23:06:18 +0000 |
commit | 95b471835523e634d7a1a09c433dbd827d3af0ef (patch) | |
tree | 8e1c39f3c53a06451694de32a64f14b3ed735acb /Master/texmf-dist/tex/platex/base/plcore.ltx | |
parent | 9e59fe5cbd2d8d2eb3abb95254ead13c5334bad2 (diff) |
platex (11jun16)
git-svn-id: svn://tug.org/texlive/trunk@41369 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex/base/plcore.ltx')
-rw-r--r-- | Master/texmf-dist/tex/platex/base/plcore.ltx | 62 |
1 files changed, 28 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/platex/base/plcore.ltx b/Master/texmf-dist/tex/platex/base/plcore.ltx index 9da789532ed..a96ce8a7da0 100644 --- a/Master/texmf-dist/tex/platex/base/plcore.ltx +++ b/Master/texmf-dist/tex/platex/base/plcore.ltx @@ -34,7 +34,7 @@ %% \def\pfmtname{pLaTeX2e} \def\pfmtversion - {2016/05/07} + {2016/06/10} \def\plIncludeInRelease#1{\kernel@ifnextchar[% {\@plIncludeInRelease{#1}} {\@plIncludeInRelease{#1}[#1]}} @@ -1048,41 +1048,35 @@ \def\patch@level{0}\fi \ifx\ppatch@level\@undefined % fallback if undefined in pLaTeX \def\ppatch@level{0}\fi -\ifnum\patch@level=0 - \ifnum\ppatch@level=0 - \everyjob{\typeout{% +\begingroup + \def\parse@BANNER#1{\expandafter\parse@@BANNER#1} + \def\parse@@BANNER#1#2#3#4{#2} + \edef\platexTMP{% + \ifnum\ppatch@level=0 + \everyjob{\noexpand\typeout{% \pfmtname\space<\pfmtversion>\space - (based on \fmtname\space<\fmtversion>)}} - \else - \everyjob{\typeout{% - \pfmtname\space<\pfmtversion>+\ppatch@level\space - (based on \fmtname\space<\fmtversion>)}} - \fi -\else\ifnum\patch@level>0 - \ifnum\ppatch@level=0 - \everyjob{\typeout{% - \pfmtname\space<\pfmtversion>\space - (based on \fmtname\space<\fmtversion>\space - patch level \patch@level)}} - \else - \everyjob{\typeout{% - \pfmtname\space<\pfmtversion>+\ppatch@level\space - (based on \fmtname\space<\fmtversion>\space - patch level \patch@level)}} - \fi -\else - \ifnum\ppatch@level=0 - \everyjob{\typeout{% - \pfmtname\space<\pfmtversion>\space - (based on \fmtname\space<\fmtversion>\space - pre-release\patch@level)}} - \else - \everyjob{\typeout{% + (based on \parse@BANNER{\platexBANNER})}}% + \else + \everyjob{\noexpand\typeout{% \pfmtname\space<\pfmtversion>+\ppatch@level\space - (based on \fmtname\space<\fmtversion>\space - pre-release\patch@level)}} - \fi -\fi\fi + (based on \parse@BANNER{\platexBANNER})}}% + \fi + } +\expandafter +\endgroup \platexTMP +\begingroup + \def\parse@BANNER#1{\expandafter\parse@@BANNER#1} + \def\parse@@BANNER#1#2#3#4{#4} + \edef\platexTMP{% + \the\everyjob\noexpand\typeout{\parse@BANNER{\platexBANNER}}% + } + \everyjob=\expandafter{\platexTMP}% + \edef\platexTMP{% + \noexpand\let\noexpand\platexBANNER=\noexpand\@undefined + \noexpand\everyjob={\the\everyjob}% + } + \expandafter +\endgroup \platexTMP \AtBeginDocument{% \@ifpackageloaded{latexrelease}{% \@ifpackageloaded{platexrelease}{}{% |