[latex3-commits] [git/LaTeX3-latex3-latex2e] prototype: provide prototype through \DocumentMetadata{testphase=prototype} (currently in addition to the .sty version) (4ca9e25f)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Mar 10 15:24:00 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : prototype
Link       : https://github.com/latex3/latex2e/commit/4ca9e25fa2537f65edc378b93eabdf28138016ee

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

commit 4ca9e25fa2537f65edc378b93eabdf28138016ee
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Mar 10 15:24:00 2022 +0100

    provide prototype through \DocumentMetadata{testphase=prototype}
    (currently in addition to the .sty version)


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

4ca9e25fa2537f65edc378b93eabdf28138016ee
 required/latex-lab/documentmetadata-support.ins                      | 5 ++++-
 .../{latex-lab-prototype001.lvt => latex-lab-prototype001b.lvt}      | 3 ++-
 .../{latex-lab-prototype001.tlg => latex-lab-prototype001b.tlg}      | 0
 .../{latex-lab-prototype002.lvt => latex-lab-prototype002b.lvt}      | 3 ++-
 .../{latex-lab-prototype002.tlg => latex-lab-prototype002b.tlg}      | 0
 5 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/required/latex-lab/documentmetadata-support.ins b/required/latex-lab/documentmetadata-support.ins
index a14d58e5..1c7f5d98 100644
--- a/required/latex-lab/documentmetadata-support.ins
+++ b/required/latex-lab/documentmetadata-support.ins
@@ -68,6 +68,9 @@ where one can also log issues in case there are any.
 \generate{\file{phase-I-latex-lab-testphase.ltx}{\from{latex-lab-testphase.dtx}{phase-I}}}
 \generate{\file{phase-II-latex-lab-testphase.ltx}{\from{latex-lab-testphase.dtx}{phase-II}}}
 
-\generate{\file{latex-lab-prototype.sty}{\from{latex-lab-prototype.dtx}{2ekernel}}}
+% for \DocumentMetadata trials
+\generate{\file{prototype-latex-lab-testphase.ltx}{\from{latex-lab-prototype.dtx}{2ekernel}}}
 
+% for standalone trials
+\generate{\file{latex-lab-prototype.sty}{\from{latex-lab-prototype.dtx}{2ekernel}}}
 \endbatchfile
diff --git a/required/latex-lab/testfiles/latex-lab-prototype001.lvt b/required/latex-lab/testfiles/latex-lab-prototype001b.lvt
similarity index 94%
copy from required/latex-lab/testfiles/latex-lab-prototype001.lvt
copy to required/latex-lab/testfiles/latex-lab-prototype001b.lvt
index 9b5fb6e9..2a8d72df 100644
--- a/required/latex-lab/testfiles/latex-lab-prototype001.lvt
+++ b/required/latex-lab/testfiles/latex-lab-prototype001b.lvt
@@ -2,13 +2,14 @@
 % Copyright (C) 2022 LaTeX Project
 %
 
+\DocumentMetadata{testphase=prototype}
+
 \documentclass{minimal}
 \input{regression-test}
 \RequirePackage[enable-debug]{expl3}
 \ExplSyntaxOn
 \debug_on:n { check-declarations , deprecation , log-functions }
 \ExplSyntaxOff
-\RequirePackage{latex-lab-prototype}
 
 \begin{document}
 \START
diff --git a/required/latex-lab/testfiles/latex-lab-prototype001.tlg b/required/latex-lab/testfiles/latex-lab-prototype001b.tlg
similarity index 100%
copy from required/latex-lab/testfiles/latex-lab-prototype001.tlg
copy to required/latex-lab/testfiles/latex-lab-prototype001b.tlg
diff --git a/required/latex-lab/testfiles/latex-lab-prototype002.lvt b/required/latex-lab/testfiles/latex-lab-prototype002b.lvt
similarity index 98%
copy from required/latex-lab/testfiles/latex-lab-prototype002.lvt
copy to required/latex-lab/testfiles/latex-lab-prototype002b.lvt
index 87b3a822..bbcb3288 100644
--- a/required/latex-lab/testfiles/latex-lab-prototype002.lvt
+++ b/required/latex-lab/testfiles/latex-lab-prototype002b.lvt
@@ -2,6 +2,8 @@
 % Copyright (C) 2009,2017,2018,2022 LaTeX3 Project
 %
 
+\DocumentMetadata{testphase=prototype}
+
 \documentclass{minimal}
 \input{regression-test}
 
@@ -9,7 +11,6 @@
 \ExplSyntaxOn
 \debug_on:n { check-declarations , deprecation , log-functions }
 \ExplSyntaxOff
-\RequirePackage{latex-lab-prototype}
 
 \begin{document}
 \START
diff --git a/required/latex-lab/testfiles/latex-lab-prototype002.tlg b/required/latex-lab/testfiles/latex-lab-prototype002b.tlg
similarity index 100%
copy from required/latex-lab/testfiles/latex-lab-prototype002.tlg
copy to required/latex-lab/testfiles/latex-lab-prototype002b.tlg





More information about the latex3-commits mailing list.