[latex3-commits] [git/LaTeX3-latex3-latex2e] robustness: naming development branch formats for internal used (c12c60c1)
Frank Mittelbach
frank.mittelbach at latex-project.org
Thu Aug 29 16:22:05 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : robustness
Link : https://github.com/latex3/latex2e/commit/c12c60c1f3817ea95c0f9a74148b66ea9f25556f
>---------------------------------------------------------------
commit c12c60c1f3817ea95c0f9a74148b66ea9f25556f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Thu Aug 29 16:22:05 2019 +0200
naming development branch formats for internal used
>---------------------------------------------------------------
c12c60c1f3817ea95c0f9a74148b66ea9f25556f
base/ltvers.dtx | 27 +++++++++++++++++++++++++--
1 file changed, 25 insertions(+), 2 deletions(-)
diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index 7e8af085..0d878b91 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -117,6 +117,17 @@
%<*2ekernel>
\def\patch at level{-2}
% \end{macrocode}
+%
+% \begin{macro}{\development at branch@name}
+% For more fine grain control there is the possibility to name the
+% current development branch. This is only used when the
+% \cs{patch at level} is negative (i.e., a pre-release format) and is
+% intended to help help us internally when we locally install a
+% format out of some development branch.
+% \begin{macrocode}
+\def\development at branch@name{robustness}
+% \end{macrocode}
+% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
@@ -179,9 +190,21 @@
\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\patch at level
+ \ifx\development at branch@name\@undefined \else
+ \ifx\development at branch@name\@empty \else
+ \space (\development at branch@name\space branch)%
+ \fi
+ \fi
+ }}
\immediate
- \write16{\fmtname \space<\fmtversion> pre-release\patch at level}
+ \write16{\fmtname \space<\fmtversion> pre-release\patch at level
+ \ifx\development at branch@name\@undefined \else
+ \ifx\development at branch@name\@empty \else
+ \space (\development at branch@name\space branch)%
+ \fi
+ \fi
+ }
\fi
\fi
%</2ekernel>
More information about the latex3-commits
mailing list