summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltvers.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltvers.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltvers.dtx76
1 files changed, 65 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltvers.dtx b/Master/texmf-dist/source/latex/base/ltvers.dtx
index 2ee57caced8..44f437c64c8 100644
--- a/Master/texmf-dist/source/latex/base/ltvers.dtx
+++ b/Master/texmf-dist/source/latex/base/ltvers.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2014
+% Copyright 1993-2015
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltvers.dtx}
- [2014/04/24 v1.0n LaTeX Kernel (Version Info)]
+ [2015/02/21 v1.0r LaTeX Kernel (Version Info)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltvers.dtx}
@@ -48,13 +48,14 @@
Chris Rowley\and
Rainer Sch\"opf}
\begin{document}
-\maketitle
+ \MaintainedByLaTeXTeam{latex}
+ \maketitle
\DocInput{\filename}
\end{document}
%</driver>
% \fi
%
-% \CheckSum{48}
+% \CheckSum{110}
%
% \section{Version Identification}
% First we identify the date and version number of this release of
@@ -78,13 +79,20 @@
% {Have version info generated automatically.}
% \changes{v1.0a}{1994/03/04}
% {Initial version, split from latex.dtx}
+% \changes{v1.0r}{2015/02/21}{Removed autoload code}
%
% \begin{macro}{\fmtname}
% \begin{macro}{\fmtversion}
% \begin{macrocode}
%<*2ekernel>
\def\fmtname{LaTeX2e}
-\edef\fmtversion{2014/05/01}
+\edef\fmtversion
+%</2ekernel>
+%<latexrelease>\edef\latexreleaseversion
+%<*2ekernel|latexrelease>
+ {2015/01/01}
+%</2ekernel|latexrelease>
+%<*2ekernel>
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -130,18 +138,64 @@
\fi
% \end{macrocode}
%
+% \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{\typeout{\fmtname
-%<autoload>\space(autoload version)%
- \space<\fmtversion>}}
-\immediate\write16{\fmtname
-%<autoload>\space(autoload version)%
- \space<\fmtversion>}
+\everyjob\expandafter{%
+ \the\everyjob
+ \typeout{\fmtname \space<\fmtversion>}}
+\immediate\write16{\fmtname \space<\fmtversion>}
%</2ekernel>
% \end{macrocode}
%
+% \begin{macro}{\IncludeInRelease}
+% \changes{v1.0n}{2015/01/07}{macro added}
+% \changes{v1.0m}{2015/01/17}{modified with \cs{@currname}}
+% \changes{v1.0o}{2015/01/19}{Optional argument}
+% \changes{v1.0q}{2015/02/19}{Swap argument order}
+% \begin{macrocode}
+%<*2ekernel|latexrelease>
+\def\IncludeInRelease#1{\kernel@ifnextchar[%
+ {\@IncludeInRelease{#1}}
+ {\@IncludeInRelease{#1}[#1]}}
+% \end{macrocode}
+%
+% If a specific date has not been specified in |latexrelease|
+% use `|#1|`.
+% \begin{macrocode}
+\def\@IncludeInRelease#1[#2]{\@IncludeInRele@se{#2}}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@IncludeInRele@se#1#2#3{%
+ \toks@{[#1] #3}%
+ \expandafter\ifx\csname\string#2+\@currname+IIR\endcsname\relax
+ \ifnum\expandafter\@parse@version#1//00\@nil
+ >\expandafter\@parse@version\fmtversion//00\@nil
+ \GenericInfo{}{Skipping: \the\toks@}%
+ \expandafter\expandafter\expandafter\@gobble@IncludeInRelease
+ \else
+ \GenericInfo{}{Applying: \the\toks@}%
+ \expandafter\let\csname\string#2+\@currname+IIR\endcsname\@empty
+ \fi
+ \else
+ \GenericInfo{}{Already applied: \the\toks@}%
+ \expandafter\@gobble@IncludeInRelease
+ \fi
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\long\def\@gobble@IncludeInRelease#1\EndIncludeInRelease{}
+\let\EndIncludeInRelease\relax
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</2ekernel|latexrelease>
+% \end{macrocode}
+% \end{macro}
% \Finale
%
\endinput