[latex3-commits] [latex3/latex2e] lab-review-01: guard phase with format date (a06aad9f)

github at latex-project.org github at latex-project.org
Tue Jun 6 23:24:05 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : lab-review-01
Link       : https://github.com/latex3/latex2e/commit/a06aad9fb3c66279a7a7736707c4a90d117f230e

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

commit a06aad9fb3c66279a7a7736707c4a90d117f230e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jun 6 23:24:05 2023 +0200

    guard phase with format date


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

a06aad9fb3c66279a7a7736707c4a90d117f230e
 required/latex-lab/latex-lab-testphase.dtx | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/required/latex-lab/latex-lab-testphase.dtx b/required/latex-lab/latex-lab-testphase.dtx
index 01d7d775..ce882030 100644
--- a/required/latex-lab/latex-lab-testphase.dtx
+++ b/required/latex-lab/latex-lab-testphase.dtx
@@ -83,14 +83,18 @@
 \ProvidesFile{phase-III-latex-lab-testphase.ltx}
               [2023-03-06 v0.1a  latex-lab wrapper phase-III]
 \input{phase-II-latex-lab-testphase.ltx}
-\RequirePackage{latex-lab-testphase-block-tagging}
-\RequirePackage{latex-lab-testphase-sec}
-\RequirePackage{latex-lab-testphase-toc}             
-\RequirePackage{latex-lab-testphase-minipage}             
-\RequirePackage{latex-lab-testphase-graphic}             
-\RequirePackage{latex-lab-testphase-float}
-\RequirePackage{latex-lab-testphase-bib}
-\RequirePackage{latex-lab-testphase-text}
+\IfFormatAtLeastTF{2023-06-01}
+ {
+  \RequirePackage{latex-lab-testphase-block-tagging}
+  \RequirePackage{latex-lab-testphase-sec}
+  \RequirePackage{latex-lab-testphase-toc}             
+  \RequirePackage{latex-lab-testphase-minipage}             
+  \RequirePackage{latex-lab-testphase-graphic}             
+  \RequirePackage{latex-lab-testphase-float}
+  \RequirePackage{latex-lab-testphase-bib}
+  \RequirePackage{latex-lab-testphase-text}
+ }
+ {\PackageWarning{latex-lab}{Testphase III needs newer format}{}} 
 %</phase-III>
 %    \end{macrocode}
 %





More information about the latex3-commits mailing list.