[latex3-commits] [git/LaTeX3-latex3-latex2e] gh613: starting with gh613 (b08259a3)

Frank Mittelbach frank.mittelbach at latex-project.org
Sun Jul 11 00:42:29 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh613
Link       : https://github.com/latex3/latex2e/commit/b08259a339be02b10f43c989fb196a4f532d9a4e

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

commit b08259a339be02b10f43c989fb196a4f532d9a4e
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sun Jul 11 00:42:29 2021 +0200

    starting with gh613


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

b08259a339be02b10f43c989fb196a4f532d9a4e
 base/changes.txt |  7 +++++++
 base/lterror.dtx | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 61 insertions(+), 1 deletion(-)

diff --git a/base/changes.txt b/base/changes.txt
index 85ec9f09..46fcf5e4 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,13 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2021-07-11  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* lterror.dtx (subsection{General commands}):
+	Provide \ClassNote and \PackageNote that write information to the terminal
+	but labels it as "Info" and not as "Warning", i.e. a cross
+	between \PackageWarning	and \PackageInfo
+
 2021-06-21  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* base/utf8ienc.dtx: additional characters for gh/593
diff --git a/base/lterror.dtx b/base/lterror.dtx
index 43eef7b2..64c33a0b 100644
--- a/base/lterror.dtx
+++ b/base/lterror.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{lterror.dtx}
-             [2021/06/09 v1.2r LaTeX Kernel (errors)]
+             [2021/07/11 v1.2s LaTeX Kernel (errors)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{lterror.dtx}
@@ -375,6 +375,59 @@ Type  H <return>  for immediate help.}%
 % \end{macro}
 % \end{macro}
 %
+%
+%
+
+%  \begin{macro}{\ClassNote,\ClassNoteNoLine,
+%                \PackageNote,\PackageNoteNoLine}
+%    
+% \changes{v1.2s}{2021/07/11}{Provide \cs{ClassNote} and \cs{PackageNote}}
+%    \begin{macrocode}
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2021/11/15}%
+%<latexrelease>                 {\ClassNote}{Notes for classes/packages}%
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\def\ClassNote#1#2{%
+   \GenericWarning{%
+      (#1) \space\@spaces\@spaces\@spaces
+   }{%
+      Class #1 Info: #2%
+   }%
+}
+\def\ClassNoteNoLine#1#2{\ClassNote{#1}{#2\@gobble}}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\def\PackageNote#1#2{%
+   \GenericWarning{%
+      (#1) \space\@spaces\@spaces\@spaces
+   }{%
+      Package #1 Info: #2%
+   }%
+}
+\def\PackageNoteNoLine#1#2{\PackageNote{#1}{#2\@gobble}}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%    \end{macrocode}
+%    We don't roll back, because if this code is used by packages then
+%    most often they will not have rollback code implemented, so they
+%    would immediately break even of they otherwise would work fine.
+%    \begin{macrocode}
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>                 {\ClassNote}{Notes for classes/packages}%
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
+%    \end{macrocode}
+%  \end{macro}
+%
+%
+%
+%
+%
 % \begin{macro}{\@latex at error}
 % \begin{macro}{\@latex at warning}
 % \begin{macro}{\@latex at warning@no at line}





More information about the latex3-commits mailing list.