[latex3-commits] [latex3/latex2e] If-X-TF: Doc. that incorrect date give undef. behaviour (2e093545)

github at latex-project.org github at latex-project.org
Mon Sep 2 08:43:18 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : If-X-TF
Link       : https://github.com/latex3/latex2e/commit/2e093545a5813f9f5c04f643d078f0c1c18e5267

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

commit 2e093545a5813f9f5c04f643d078f0c1c18e5267
Author: Joseph Wright <joseph at texdev.net>
Date:   Mon Sep 2 07:43:18 2024 +0100

    Doc. that incorrect date give undef. behaviour


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

2e093545a5813f9f5c04f643d078f0c1c18e5267
 base/changes.txt      | 2 +-
 base/doc/clsguide.tex | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 8d86f1f2..4244b12c 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,7 +6,7 @@ to completeness or accuracy and it contains some references to files that are
 not part of the distribution.
 ================================================================================
 
-2024-08-31  Joseph Wright  <Joseph.Wright at latex-project.org>
+2024-09-02  Joseph Wright  <Joseph.Wright at latex-project.org>
 
 	* clsguide.tex:
 	Document \IfPackageAtLeastTF, etc.
diff --git a/base/doc/clsguide.tex b/base/doc/clsguide.tex
index 8cd8a54d..57fc41c6 100644
--- a/base/doc/clsguide.tex
+++ b/base/doc/clsguide.tex
@@ -42,7 +42,7 @@
     \texttt{clsguide.tex} for full details.}%
 }
 
-\date{2024-08-31}
+\date{2024-09-02}
 
 \NewDocumentCommand\cs{m}{\texttt{\textbackslash\detokenize{#1}}}
 \NewDocumentCommand\marg{m}{\arg{#1}}
@@ -1012,7 +1012,8 @@ least a given \meta{date}. The \meta{date} is compared with that in the
 optional argument to \cs{Provides...} (as described in Section~\ref{sec:ID}).
 As for \cs{Provides...}, the \meta{date} should be given in the form
 `\textsc{yyyy-mm-dd}' or `\textsc{yyyy/mm/dd}'. If the package or class is not
-loaded, the \meta{false} branch will be taken.
+loaded, the \meta{false} branch will be taken; in contrast, if the \meta{date}
+is not of the required form, the behavior is formally undefined.
 
 \begin{decl}
   |\IfFormatAtLeastTF| \arg{date} \arg{true code} \arg{false code}





More information about the latex3-commits mailing list.