From 8c0844204a3fbad2c755beca8c0b1edc6ae33601 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 2 Jul 2015 22:14:43 +0000
Subject: latex (2jul15)

git-svn-id: svn://tug.org/texlive/trunk@37737 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/base/ltvers.dtx | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

(limited to 'Master/texmf-dist/source/latex/base/ltvers.dtx')

diff --git a/Master/texmf-dist/source/latex/base/ltvers.dtx b/Master/texmf-dist/source/latex/base/ltvers.dtx
index 44f437c64c8..55573527b54 100644
--- a/Master/texmf-dist/source/latex/base/ltvers.dtx
+++ b/Master/texmf-dist/source/latex/base/ltvers.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltvers.dtx}
-             [2015/02/21 v1.0r LaTeX Kernel (Version Info)]
+             [2015/06/23 v1.0t LaTeX Kernel (Version Info)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltvers.dtx}
@@ -55,7 +55,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{110}
+% \CheckSum{131}
 %
 % \section{Version Identification}
 % First we identify the date and version number of this release of
@@ -80,9 +80,12 @@
 % \changes{v1.0a}{1994/03/04}
 %     {Initial version, split from latex.dtx}
 % \changes{v1.0r}{2015/02/21}{Removed autoload code}
+% \changes{v1.0t}{2015/06/23}
+%     {set \cs{patch@level} in ltvers rather than in ltfinal/ltpatch}
 %
 % \begin{macro}{\fmtname}
 % \begin{macro}{\fmtversion}
+% \begin{macro}{\patcj@level}
 %    \begin{macrocode}
 %<*2ekernel>
 \def\fmtname{LaTeX2e}
@@ -93,9 +96,11 @@
    {2015/01/01}
 %</2ekernel|latexrelease>
 %<*2ekernel>
+\def\patch@level{1}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
+% \end{macro}
 %
 % Check that the format being made is not too old.
 % The error message complains about `more than 5 years'
@@ -140,13 +145,16 @@
 %
 % \changes{v1.0p}{2015/01/22}{Preserve any \cs{everyjob} material inserted
 %   by a loader (\texttt{.ini} file)}
-% This startup banner may be further modified by the code in
-% |ltfinal.dtx| if a patch file is present.
 %    \begin{macrocode}
-\everyjob\expandafter{%
-  \the\everyjob
-  \typeout{\fmtname \space<\fmtversion>}}
-\immediate\write16{\fmtname \space<\fmtversion>}
+  \ifnum\patch@level=0
+    \everyjob\expandafter{\the\everyjob
+      \typeout{\fmtname \space<\fmtversion>}}
+    \immediate\write16{\fmtname \space<\fmtversion>}
+  \else
+    \everyjob\expandafter{\the\everyjob
+      \typeout{\fmtname \space<\fmtversion> patch level \patch@level}}
+    \immediate\write16{\fmtname \space<\fmtversion> patch level \patch@level}
+  \fi
 %</2ekernel>
 %    \end{macrocode}
 %
-- 
cgit v1.2.3

