[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks: better fixfor tabularx (26b6222c)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Jul 10 17:07:38 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : lthooks
Link       : https://github.com/latex3/latex2e/commit/26b6222ca4534c28e4f13c980ff6d161b9b2cd23

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

commit 26b6222ca4534c28e4f13c980ff6d161b9b2cd23
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Jul 10 17:07:38 2020 +0200

    better fixfor tabularx


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

26b6222ca4534c28e4f13c980ff6d161b9b2cd23
 base/lthooks.dtx | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 8add392d..432278fe 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -17,8 +17,8 @@
 % for those people who are interested or want to report an issue.
 %
 %    \begin{macrocode}
-\providecommand\lthooksversion{v0.8s}
-\providecommand\lthooksdate{2020/07/09}
+\providecommand\lthooksversion{v0.8t}
+\providecommand\lthooksdate{2020/07/10}
 %    \end{macrocode}
 %
 %<*driver>
@@ -3215,11 +3215,14 @@
 %    \pkg{tabularx} instead.
 %    \begin{macrocode}
 \@namedef{end~}#1{%
-  \romannumeral-`f\UseHook{env/#1/end}\expandafter\space
-  \csname end#1\endcsname\@checkend{#1}%
-  \expandafter\endgroup\if at endpe\@doendpe\fi
-  \UseHook{env/#1/after}%
-  \if at ignore\@ignorefalse\ignorespaces\fi}
+\romannumeral
+\IfHookEmptyTF{env/#1/end}%
+  {\expandafter\z@}%
+  {\z@\UseHook{env/#1/end}}%
+\csname end#1\endcsname\@checkend{#1}%
+\expandafter\endgroup\if at endpe\@doendpe\fi
+\UseHook{env/#1/after}%
+\if at ignore\@ignorefalse\ignorespaces\fi}%
 %    \end{macrocode}
 %    
 %    





More information about the latex3-commits mailing list.