diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-11 22:01:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-11 22:01:19 +0000 |
commit | e698ff58e2c4dcafb8deb631619a2dc91913cd28 (patch) | |
tree | f34115a727f26928f29ade4fd0f3d0a75f0f2196 /Master/texmf-dist/tex/platex | |
parent | be1b7760343e4919fbf0435303f2c53de8c18993 (diff) |
platex (11may18)
git-svn-id: svn://tug.org/texlive/trunk@47683 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r-- | Master/texmf-dist/tex/platex/base/plcore.ltx | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/platex/base/plcore.ltx b/Master/texmf-dist/tex/platex/base/plcore.ltx index 5725e1c5cf4..5d4fc36f743 100644 --- a/Master/texmf-dist/tex/platex/base/plcore.ltx +++ b/Master/texmf-dist/tex/platex/base/plcore.ltx @@ -34,10 +34,18 @@ \def\pfmtname{pLaTeX2e} \def\pfmtversion {2018-04-01} -\def\ppatch@level{1} -\edef\platexBANNER{\the\everyjob\noexpand\typeout{}\relax}% save LaTeX banner +\def\ppatch@level{2} +\edef\platexBANNER{\noexpand\platexNILa + \the\everyjob % LaTeX banner and delayed codes + \noexpand\platexNILb} \begingroup - \def\parse@@BANNER\typeout#1\typeout#2#3\relax{#1} + \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#1} + \toks0=\expandafter\expandafter\expandafter{% + \expandafter\parse@@BANNER\platexBANNER} + \global\everyjob\expandafter{\the\toks0}% +\endgroup +\begingroup + \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#2} \toks0=\expandafter\expandafter\expandafter{% \expandafter\parse@@BANNER\platexBANNER} \ifnum\ppatch@level=0 @@ -47,15 +55,15 @@ \else \toks2={\pfmtname\space<\pfmtversion>-pre\ppatch@level\space}% \fi\fi - \edef\platexBANNER{\the\toks2 (based on \the\toks0)} - \global\everyjob\expandafter{% - \expandafter\typeout\expandafter{\platexBANNER}}% + \edef\platexBANNER{\the\everyjob + \noexpand\typeout{\the\toks2 (based on \the\toks0)}} + \global\everyjob\expandafter{\platexBANNER}% \endgroup \begingroup - \def\parse@@BANNER\typeout#1\typeout#2#3\relax{#2} + \def\parse@@BANNER\platexNILa#1\typeout#2#3\platexNILb{#3} \toks0=\expandafter\expandafter\expandafter{% \expandafter\parse@@BANNER\platexBANNER} - \edef\platexBANNER{\the\everyjob \noexpand\typeout{\the\toks0}} + \edef\platexBANNER{\the\everyjob \the\toks0} \global\everyjob\expandafter{\platexBANNER}% \endgroup \let\platexBANNER=\@undefined @@ -208,13 +216,6 @@ \global\@namedef{M@#1}{\default@M#3}% \xdef\LastDeclaredEncoding{#1}% } -\ifx\UTFviii@two@octets@@\@undefined\else - \everyjob\expandafter{\the\everyjob - \let\UTFviii@two@octets\UTFviii@two@octets@@ - \let\UTFviii@three@octets\UTFviii@three@octets@@ - \let\UTFviii@four@octets\UTFviii@four@octets@@ - } -\fi \fi \def\DeclareKanjiEncoding#1{% \@latex@warning{% |