summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-03 21:37:28 +0000
committerKarl Berry <karl@freefriends.org>2017-11-03 21:37:28 +0000
commit4f1bd2da5c522f1390d895b591d0674eea6b7ebe (patch)
treefde3bc84ee70987bb9fbfff218c7afed820b3887 /Master/texmf-dist/tex/platex
parent592c25270ddc1358ebd06e93ebc24f8875709c29 (diff)
platex (3nov17)
git-svn-id: svn://tug.org/texlive/trunk@45680 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r--Master/texmf-dist/tex/platex/base/platexrelease.sty5
-rw-r--r--Master/texmf-dist/tex/platex/base/plcore.ltx5
2 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/platex/base/platexrelease.sty b/Master/texmf-dist/tex/platex/base/platexrelease.sty
index e217dc55694..8c0d78ad3bf 100644
--- a/Master/texmf-dist/tex/platex/base/platexrelease.sty
+++ b/Master/texmf-dist/tex/platex/base/platexrelease.sty
@@ -1003,8 +1003,9 @@ of this package available from CTAN}
\@latex@warning{Reference `#3' on page \thepage \space
undefined}%
\else
- \expandafter#2#1\spacefactor\@m{}% change \null to \spacefactor\@m{}
+ \expandafter#2#1\protect\@setref@{}% change \null to \protect\@setref@{}
\fi}
+\def\@setref@{\ifmmode\else\spacefactor\@m\fi}
\plEndIncludeInRelease
\plIncludeInRelease{2017/04/08}{\@setref}
{Spacing after \ref in moving arguments}%
@@ -1017,6 +1018,7 @@ of this package available from CTAN}
\else
\expandafter#2#1\relax{}% change \null to \relax{}
\fi}
+\let\@setref@\@undefined
\plEndIncludeInRelease
\plIncludeInRelease{0000/00/00}{\@setref}
{Spacing after \ref in moving arguments}%
@@ -1029,6 +1031,7 @@ of this package available from CTAN}
\else
\expandafter#2#1\relax% change \null to \relax
\fi}
+\let\@setref@\@undefined
\plEndIncludeInRelease
\plIncludeInRelease{2017/10/28}{\verb}
{Preserve beginning space characters}%
diff --git a/Master/texmf-dist/tex/platex/base/plcore.ltx b/Master/texmf-dist/tex/platex/base/plcore.ltx
index 1af9abb4060..ca212d7418b 100644
--- a/Master/texmf-dist/tex/platex/base/plcore.ltx
+++ b/Master/texmf-dist/tex/platex/base/plcore.ltx
@@ -19,7 +19,7 @@
\def\pfmtname{pLaTeX2e}
\def\pfmtversion
{2017/10/28}
-\def\ppatch@level{0}
+\def\ppatch@level{1}
\def\plIncludeInRelease#1{\kernel@ifnextchar[%
{\@plIncludeInRelease{#1}}
{\@plIncludeInRelease{#1}[#1]}}
@@ -1011,8 +1011,9 @@
\@latex@warning{Reference `#3' on page \thepage \space
undefined}%
\else
- \expandafter#2#1\spacefactor\@m{}% change \null to \spacefactor\@m{}
+ \expandafter#2#1\protect\@setref@{}% change \null to \protect\@setref@{}
\fi}
+\def\@setref@{\ifmmode\else\spacefactor\@m\fi}
\if@compatibility\else
\def\verb{\relax\ifmmode\hbox\else\leavevmode\vadjust{}\fi
\bgroup