[latex3-commits] [latex3/latex2e] develop: guard phase with format date (9a6440cc)

github at latex-project.org github at latex-project.org
Wed Jun 7 23:17:18 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/9a6440cc9faa36af40ad033f8f618d288b7b5407

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

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

    guard phase with format date


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

9a6440cc9faa36af40ad033f8f618d288b7b5407
 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.