[latex3-commits] [git/LaTeX3-latex3-latex2e] develop, master: Allow for 'pre-release-0' in ltvers (743690e5)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jan 31 18:31:31 CET 2020


Repository : https://github.com/latex3/latex2e
On branches: develop,master
Link       : https://github.com/latex3/latex2e/commit/743690e54bdd4c7aa1d490cbd689ac1871fc609d

>---------------------------------------------------------------

commit 743690e54bdd4c7aa1d490cbd689ac1871fc609d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jan 31 17:31:31 2020 +0000

    Allow for 'pre-release-0' in ltvers


>---------------------------------------------------------------

743690e54bdd4c7aa1d490cbd689ac1871fc609d
 base/ltvers.dtx | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index 2818f7fd..ef87c9bf 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltvers.dtx}
-             [2020/01/12 v1.1d LaTeX Kernel (Version Info)]
+             [2020/01/31 v1.1e LaTeX Kernel (Version Info)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltvers.dtx}
@@ -177,8 +177,9 @@
 % \changes{v1.0p}{2015/01/22}{Preserve any \cs{everyjob} material inserted
 %   by a loader (\texttt{.ini} file)}
 % \changes{v1.0v}{2015/08/23}{Allow negative patchlevel for pre-release}
+% \changes{v1.1e}{2020/01/31}{Allow for upcoming format as pre-release 0}
 %    \begin{macrocode}
-  \ifnum\patch at level=0
+  \ifnum0\ifnum\patch at level=0 \ifx\development at branch@name\@empty 1\fi\fi>0 %
     \everyjob\expandafter{\the\everyjob
       \typeout{\fmtname \space<\fmtversion>}}
     \immediate
@@ -190,7 +191,7 @@
     \write16{\fmtname \space<\fmtversion> patch level \patch at level}
   \else
     \everyjob\expandafter{\the\everyjob
-      \typeout{\fmtname \space<\fmtversion> pre-release\patch at level
+      \typeout{\fmtname \space<\fmtversion> pre-release-\number-\patch at level\space
         \ifx\development at branch@name\@undefined  \else
           \ifx\development at branch@name\@empty  \else
             \space (\development at branch@name\space branch)%
@@ -198,7 +199,7 @@
         \fi
     }}
     \immediate
-    \write16{\fmtname \space<\fmtversion> pre-release\patch at level
+    \write16{\fmtname \space<\fmtversion> pre-release-\number-\patch at level\space
         \ifx\development at branch@name\@undefined  \else
           \ifx\development at branch@name\@empty  \else
             \space (\development at branch@name\space branch)%





More information about the latex3-commits mailing list.