[latex3-commits] [latex3/latex2e] array: added missing \MaintainedBy defs (a3fd27ea)

github at latex-project.org github at latex-project.org
Wed Dec 6 12:46:06 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : array
Link       : https://github.com/latex3/latex2e/commit/a3fd27ea3355c5226b971f02739f9860ce97741b

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

commit a3fd27ea3355c5226b971f02739f9860ce97741b
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Dec 6 12:46:06 2023 +0100

    added missing \MaintainedBy defs


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

a3fd27ea3355c5226b971f02739f9860ce97741b
 required/tools/array.dtx | 39 +++++++++++++++++++++++++++++++++++----
 1 file changed, 35 insertions(+), 4 deletions(-)

diff --git a/required/tools/array.dtx b/required/tools/array.dtx
index 5814ceee..c2d1ab5f 100644
--- a/required/tools/array.dtx
+++ b/required/tools/array.dtx
@@ -769,8 +769,6 @@
 % \changes{v2.2b}{1994/02/04}{Removed interactive prompt}
 %
 % \MaybeStop{
-%
-%
 % \begin{thebibliography}{1}
 %    \bibitem{bk:GMS94} \textsc{M.~Goossens}, \textsc{F.~Mittelbach}
 %       and \textsc{A.~Samarin}.
@@ -787,7 +785,6 @@
 %       \newblock
 %       Addison-Wesley, Reading, Massachusetts, 1986.
 % \end{thebibliography}
-%
 % }   ^^A  end of \MaybeStop
 %
 %
@@ -802,7 +799,41 @@
 %    \begin{macrocode}
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\documentclass{ltxdoc}
+\documentclass{l3doc}
+
+% currently missing in l3doc
+\makeatletter
+\def\MaintainedBy#1{\gdef\@maintainedby{#1}}
+\let\@maintainedby\@empty
+\def\MaintainedByLaTeXTeam#1{%
+{\gdef\@maintainedby{%
+This file is maintained by the \LaTeX{} Project team.\\%
+Bug reports can be opened (category \texttt{#1}) at\\%
+\url{https://latex-project.org/bugs.html}.}}}
+\def\@maketitle{%
+  \newpage
+  \null
+  \vskip 2em%
+  \begin{center}%
+  \let \footnote \thanks
+    {\LARGE \@title \par}%
+    \vskip 1.5em%
+    {\large
+      \lineskip .5em%
+      \begin{tabular}[t]{c}%
+        \@author
+      \end{tabular}\par}%
+    \vskip 1em%
+    {\large \@date}%
+    \ifx\@maintainedby\@empty
+    \else
+    \vskip 1em%
+    \fbox{\fbox{\begin{tabular}{@{}l@{}}\@maintainedby\end{tabular}}}%
+    \fi
+  \end{center}%
+  \par
+  \vskip 1.5em}
+\makeatother
 
 % undo the default is not used:
 





More information about the latex3-commits mailing list.