[latex3-commits] [git/LaTeX3-latex3-latex2e] ltxdoc: providecommand (f3f4db81)

David Carlisle d.p.carlisle at gmail.com
Sat Jun 4 01:00:17 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : ltxdoc
Link       : https://github.com/latex3/latex2e/commit/f3f4db81d0294839757ec99590be14448b31b1ed

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

commit f3f4db81d0294839757ec99590be14448b31b1ed
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat Jun 4 00:00:17 2022 +0100

    providecommand


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

f3f4db81d0294839757ec99590be14448b31b1ed
 base/doc.dtx | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/base/doc.dtx b/base/doc.dtx
index 0f593bb7..dbd1424e 100644
--- a/base/doc.dtx
+++ b/base/doc.dtx
@@ -45,7 +45,7 @@
 %<+package>
 %<+package>\ProvidesPackage{doc}
 %<+shortvrb>\ProvidesPackage{shortvrb}
-%<+package|shortvrb>  [2022/06/01 v3.0i
+%<+package|shortvrb>  [2022/06/02 v3.0j
 %<+package|shortvrb>   Standard LaTeX documentation package V3 (FMi)]
 %\catcode`\<=12
 %
@@ -146,9 +146,12 @@
 %
 % \newcommand{\DOC}{\texttt{doc}\xspace}
 %
-% \newcommand\env{\texttt}
-% \newcommand\opt{\texttt}
-% \newcommand\prg{\textsf}
+% \changes{v3.0j}{2022/06/02}{Use \cs{providecommand} to define \cs{pkg}}
+% \providecommand\env{\texttt}
+% \providecommand\opt{\texttt}
+% \providecommand\cls{\texttt}
+% \providecommand\pkg{\texttt}
+% \providecommand\prg{\textsf}
 %
 % \newcommand\DOX{\env{DoX}\xspace}
 % \newcommand\api{\textsc{api}\xspace}





More information about the latex3-commits mailing list.