[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Change the guards in ltfloat so that commented out lines do not show up in latex.ltx but in latexrelease.sty (b247a75d)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Mar 3 09:36:00 CET 2021


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

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

commit b247a75d296c684f8428df437e3083c94c0a9712
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Mar 3 09:36:00 2021 +0100

    Change the guards in ltfloat so that commented out lines do not show up in latex.ltx but in latexrelease.sty


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

b247a75d296c684f8428df437e3083c94c0a9712
 base/ltfloat.dtx                                       | 18 ++++++++++--------
 .../tlb-latexrelease-rollback-003-often.luatex.tlg     |  2 ++
 base/testfiles/tlb-latexrelease-rollback-003-often.tlg |  2 ++
 .../tlb-latexrelease-rollback-003-often.xetex.tlg      |  2 ++
 base/testfiles/tlb-rollback-004-often.luatex.tlg       |  1 +
 base/testfiles/tlb-rollback-004-often.tlg              |  1 +
 base/testfiles/tlb-rollback-004-often.xetex.tlg        |  1 +
 7 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/base/ltfloat.dtx b/base/ltfloat.dtx
index f2324118..b9160fbd 100644
--- a/base/ltfloat.dtx
+++ b/base/ltfloat.dtx
@@ -31,7 +31,7 @@
 %
 %<*driver>
 % \fi
-\ProvidesFile{ltfloat.dtx}[2021/02/10 v1.2f LaTeX Kernel (Floats)]
+\ProvidesFile{ltfloat.dtx}[2021/03/03 v1.2f LaTeX Kernel (Floats)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltfloat.dtx}
@@ -1644,14 +1644,16 @@
 %</2ekernel|latexrelease>
 %<latexrelease>\EndIncludeInRelease
 %    \end{macrocode}
-%    We don't remove it when rolling back.
+%    We don't remove it when rolling back so that packages offered it
+%    in the past do not need to alter their behavior in a rollback
+%    situation.
 %    \begin{macrocode}
-%%<latexrelease>\IncludeInRelease{0000/00/00}%
-%%<latexrelease>                 {\footref}{Add footref}%
-%%<latexrelease>
-%%<latexrelease>\let\footref\@undefined
-%%<latexrelease>
-%%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>                 {\footref}{Add footref}%
+%<latexrelease>
+%<latexrelease>  % \let\footref\@undefined
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
 %<*2ekernel>
 %    \end{macrocode}
 %  \end{macro}
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index 1232f5c0..d09bf9e0 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -359,6 +359,7 @@ Applying: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Skipping: [....-..-..] Make commands robust on input line ....
@@ -889,6 +890,7 @@ Already applied: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
index f0d298f5..cca4381b 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -353,6 +353,7 @@ Applying: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Skipping: [....-..-..] Make commands robust on input line ....
@@ -873,6 +874,7 @@ Already applied: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
index 865eee89..919b01d6 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -353,6 +353,7 @@ Applying: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Skipping: [....-..-..] Make commands robust on input line ....
@@ -882,6 +883,7 @@ Already applied: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 8d895415..01486798 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -727,6 +727,7 @@ Already applied: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index dcee97c5..df24dbb6 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -715,6 +715,7 @@ Already applied: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Make commands robust on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index 3e0f36df..f931dec1 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -716,6 +716,7 @@ Already applied: [....-..-..] subscript baseline on input line ....
 Skipping: [....-..-..] footnotetext tagging on input line ....
 Applying: [....-..-..] footnotetext tagging on input line ....
 Skipping: [....-..-..] Add footref on input line ....
+Applying: [....-..-..] Add footref on input line ....
 Skipping: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Allow nocite in preamble on input line ....
 Applying: [....-..-..] Make commands robust on input line ....





More information about the latex3-commits mailing list.