[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks2: fix rollback to 2014 (I hope) (93a7442f)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sat Aug 15 20:14:55 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : lthooks2
Link : https://github.com/latex3/latex2e/commit/93a7442f3334ed7626095d5172174d29a58a4bbb
>---------------------------------------------------------------
commit 93a7442f3334ed7626095d5172174d29a58a4bbb
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sat Aug 15 20:14:55 2020 +0200
fix rollback to 2014 (I hope)
>---------------------------------------------------------------
93a7442f3334ed7626095d5172174d29a58a4bbb
base/ltmiscen.dtx | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/base/ltmiscen.dtx b/base/ltmiscen.dtx
index 8e29d4aa..427ae56b 100644
--- a/base/ltmiscen.dtx
+++ b/base/ltmiscen.dtx
@@ -732,8 +732,18 @@
% \begin{macrocode}
%<latexrelease>\IncludeInRelease{0000/00/00}%
%<latexrelease> {\begin}{Making \begin/\end robust}%
-%<latexrelease>\kernel at make@fragile\begin
-%<latexrelease>\kernel at make@fragile\end
+%<latexrelease>\def\begin#1{%
+%<latexrelease> \@ifundefined{#1}%
+%<latexrelease> {\def\reserved at a{\@latex at error{Environment #1 undefined}\@eha}}%
+%<latexrelease> {\def\reserved at a{\def\@currenvir{#1}%
+%<latexrelease> \edef\@currenvline{\on at line}%
+%<latexrelease> \csname #1\endcsname}}%
+%<latexrelease> \@ignorefalse
+%<latexrelease> \begingroup\@endpefalse\reserved at a}
+%<latexrelease>\def\end#1{%
+%<latexrelease> \csname end#1\endcsname\@checkend{#1}%
+%<latexrelease> \expandafter\endgroup\if at endpe\@doendpe\fi
+%<latexrelease> \if at ignore\@ignorefalse\ignorespaces\fi}
%<latexrelease>
%<latexrelease>\EndIncludeInRelease
%<*2ekernel>
More information about the latex3-commits
mailing list.