[latex3-commits] [latex3/latex2e] develop: add error test for #1185 (#1187) (c13b064c)

github at latex-project.org github at latex-project.org
Wed Jan 31 11:01:18 CET 2024


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

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

commit c13b064c4cb434d2910d91fda38ff085509db43c
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Wed Jan 31 10:01:18 2024 +0000

    add error test for #1185 (#1187)
    
    * add error test for #1185
    
    * testfile for #1185
    
    * rollback/docstrip guard fixes
    
    * update rollback tests
    
    * eol
    
    * more words for ltnews
    
    * locally hide group level
    
    * English Grammar
    
    * update more rollback tests
    
    * Update base/doc/ltnews39.tex
    
    Co-authored-by: Yukai Chou <muzimuzhi at gmail.com>
    
    * Update base/testfiles/m3expl009.lvt
    
    Co-authored-by: Yukai Chou <muzimuzhi at gmail.com>
    
    * RequirePackageWithOptions
    
    * check grpup level in shared code so applies to classes
    
    * rollback tests
    
    * Update base/doc/ltnews39.tex
    
    Co-authored-by: Yukai Chou <muzimuzhi at gmail.com>
    
    * Update base/doc/ltnews39.tex
    
    Co-authored-by: Yukai Chou <muzimuzhi at gmail.com>
    
    * update date in PR
    
    ---------
    
    Co-authored-by: Yukai Chou <muzimuzhi at gmail.com>


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

c13b064c4cb434d2910d91fda38ff085509db43c
 base/changes.txt                                   |  6 ++++++
 base/doc/ltnews39.tex                              | 11 ++++++++++
 base/ltclass.dtx                                   | 24 +++++++++++++++++++++-
 base/testfiles-lthooks/lthooks-rollback-args.tlg   |  2 ++
 base/testfiles/github-0479-often.luatex.tlg        |  2 ++
 base/testfiles/github-0479-often.tlg               |  2 ++
 base/testfiles/github-0479-often.xetex.tlg         |  2 ++
 base/testfiles/github-1185.lvt                     | 11 ++++++++++
 base/testfiles/github-1185.tlg                     | 12 +++++++++++
 base/testfiles/m3expl009.lvt                       |  1 +
 .../tlb-latexrelease-rollback-003-often.luatex.tlg |  4 ++++
 .../tlb-latexrelease-rollback-003-often.tlg        |  4 ++++
 .../tlb-latexrelease-rollback-003-often.xetex.tlg  |  4 ++++
 ...tlb-latexrelease-rollback-2020-10-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2020-10-01.tlg       |  2 ++
 .../tlb-latexrelease-rollback-2020-10-01.xetex.tlg |  2 ++
 ...tlb-latexrelease-rollback-2021-06-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2021-06-01.tlg       |  2 ++
 .../tlb-latexrelease-rollback-2021-06-01.xetex.tlg |  2 ++
 ...tlb-latexrelease-rollback-2021-11-15.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2021-11-15.tlg       |  2 ++
 .../tlb-latexrelease-rollback-2021-11-15.xetex.tlg |  2 ++
 ...tlb-latexrelease-rollback-2022-06-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2022-06-01.tlg       |  2 ++
 .../tlb-latexrelease-rollback-2022-06-01.xetex.tlg |  2 ++
 ...tlb-latexrelease-rollback-2022-11-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2022-11-01.tlg       |  2 ++
 .../tlb-latexrelease-rollback-2022-11-01.xetex.tlg |  2 ++
 ...tlb-latexrelease-rollback-2023-06-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2023-06-01.tlg       |  2 ++
 .../tlb-latexrelease-rollback-2023-06-01.xetex.tlg |  2 ++
 ...tlb-latexrelease-rollback-2023-11-01.luatex.tlg |  2 ++
 .../tlb-latexrelease-rollback-2023-11-01.tlg       |  2 ++
 .../tlb-latexrelease-rollback-2023-11-01.xetex.tlg |  2 ++
 base/testfiles/tlb-rollback-004-often.luatex.tlg   |  2 ++
 base/testfiles/tlb-rollback-004-often.tlg          |  2 ++
 base/testfiles/tlb-rollback-004-often.xetex.tlg    |  2 ++
 base/testfiles/tlb-rollback-005.luatex.tlg         |  2 ++
 base/testfiles/tlb-rollback-005.tlg                |  2 ++
 base/testfiles/tlb-rollback-005.xetex.tlg          |  2 ++
 base/update-rollback-tests.sh                      |  1 +
 41 files changed, 139 insertions(+), 1 deletion(-)

diff --git a/base/changes.txt b/base/changes.txt
index 5e5efb6c..dca12505 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ to completeness or accuracy and it contains some references to files that are
 not part of the distribution.
 ================================================================================
 
+
+
+2024-01-30  David Carlisle  <David.Carlisle at latex-project.org>
+	* ltclass.dtx: check that \RequirePackage, \documentclass, \usepackage
+	  and related commands are at top level (gh/1185)
+
 2024-01-30  Jérôme Laurens  <jerome.laurens at u-bourgogn.fr>
 	* lthooks.dtx:
 	Fix rollback to 2020-10-01.
diff --git a/base/doc/ltnews39.tex b/base/doc/ltnews39.tex
index ea5ae1d8..b5d44aff 100644
--- a/base/doc/ltnews39.tex
+++ b/base/doc/ltnews39.tex
@@ -233,6 +233,17 @@ well.
 
 \section{Code improvements}
 
+\subsection{Loading packages at the top level}
+Classes and packages should only be loaded with \cs{documentclass}, \cs{usepackage},
+or class interface commands such as \cs{LoadClass} or \cs{RequirePackageWithOptions}
+at the top level, not inside a group. Previously \LaTeX\ did not check this,
+which would often lead to low level errors later on if package declarations
+were reverted as a group ended.
+\LaTeX\ now checks the group level and an error is thrown
+if the class or package is loaded in a group.
+%
+\githubissue{1185}
+
 \subsection{Keep track of lost glyphs}
 
 A while ago we changed the \LaTeX{} default value for
diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index bb521485..96be5ac4 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltclass.dtx}
-             [2023/04/14 v1.5h LaTeX Kernel (Class & Package Interface)]
+             [2024/01/30 v1.5i LaTeX Kernel (Class & Package Interface)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltclass.dtx}
@@ -1950,12 +1950,34 @@
 % \end{macro}
 %
 % \begin{macro}{\@fileswithoptions}
+% \changes{v1.5i}{2024/01/30}{Test group level}
 % The common part of |\documentclass| and |\usepackage|.
 %    \begin{macrocode}
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2024/06/01}%
+%<latexrelease>                 {\@fileswithoptions}{Check Group}%
+%<*2ekernel|latexrelease>
 \def\@fileswithoptions#1{%
+    \ifnum\currentgrouplevel>\z@
+     \@latex at error
+      {Loading a class or package in a group}%
+      {Classes and packages should only be loaded at the top level}%
+  \fi
   \@ifnextchar[%]
     {\@fileswith at ptions#1}%
     {\@fileswith at ptions#1[]}}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>                 {\@fileswithoptions}{Check Group}%
+%<latexrelease>\def\@fileswithoptions#1{%
+%<latexrelease>  \@ifnextchar[%]
+%<latexrelease>    {\@fileswith at ptions#1}%
+%<latexrelease>    {\@fileswith at ptions#1[]}}
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
+%    \end{macrocode}
+%    \begin{macrocode}
 \@onlypreamble\@fileswithoptions
 %    \end{macrocode}
 %
diff --git a/base/testfiles-lthooks/lthooks-rollback-args.tlg b/base/testfiles-lthooks/lthooks-rollback-args.tlg
index 0a766be8..99a8f84f 100644
--- a/base/testfiles-lthooks/lthooks-rollback-args.tlg
+++ b/base/testfiles-lthooks/lthooks-rollback-args.tlg
@@ -751,6 +751,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index 8a1bb61b..acd93b2d 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -762,6 +762,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index e55512fa..811db0af 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -751,6 +751,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index 9c5b6853..8b0c5fd4 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -752,6 +752,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/github-1185.lvt b/base/testfiles/github-1185.lvt
new file mode 100644
index 00000000..2a18d4da
--- /dev/null
+++ b/base/testfiles/github-1185.lvt
@@ -0,0 +1,11 @@
+\documentclass{article}
+
+\input{test2e}
+
+\START
+{
+% This should error
+\usepackage{ifthen}
+}
+
+\END
diff --git a/base/testfiles/github-1185.tlg b/base/testfiles/github-1185.tlg
new file mode 100644
index 00000000..203a7c5f
--- /dev/null
+++ b/base/testfiles/github-1185.tlg
@@ -0,0 +1,12 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+! LaTeX Error: Loading a class or package in a group.
+See the LaTeX manual or LaTeX Companion for explanation.
+Type  H <return>  for immediate help.
+ ...                                              
+l. ...\usepackage
+               {ifthen}
+Classes and packages should only be loaded at the top level
+(ifthen.sty
+Package: ifthen ....-..-.. v... Standard LaTeX ifthen package (DPC)
+)
diff --git a/base/testfiles/m3expl009.lvt b/base/testfiles/m3expl009.lvt
index 959a28e1..ea35f650 100644
--- a/base/testfiles/m3expl009.lvt
+++ b/base/testfiles/m3expl009.lvt
@@ -22,6 +22,7 @@
     \ExplSyntaxOff
     \cs_undefine:c { ver at expl3.sty }
     \group_begin:
+       \cs_set_eq:Nc \currentgrouplevel {z@}
       #1
       \RequirePackage{expl3}
     \group_end:
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index 6e98b677..5149a499 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -679,6 +679,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
@@ -1505,6 +1507,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
index b060e66c..e6688abb 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -673,6 +673,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
@@ -1489,6 +1491,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  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 1c15cb40..59f1c4cc 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -673,6 +673,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
@@ -1498,6 +1500,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
index f00856a2..33918ecf 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
@@ -762,6 +762,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
index f76ac00c..704f72c0 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
@@ -751,6 +751,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
index 67984626..9c1e1eab 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
@@ -752,6 +752,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
index 3f10f450..9ac98dfd 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
@@ -763,6 +763,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
index a9cd4800..41537cb2 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
@@ -751,6 +751,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
index 97efb2aa..afc43764 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
@@ -752,6 +752,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
index 4106d2cd..fdfa8fbf 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
@@ -763,6 +763,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
index ef323b8b..f95cc896 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
@@ -751,6 +751,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
index 75d63662..96fa80fe 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
@@ -752,6 +752,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
index ad3c4fc6..bd3964ab 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
@@ -761,6 +761,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
index d4e4ac92..af4bf912 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
@@ -749,6 +749,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
index b3f509a1..a106b4d9 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
@@ -750,6 +750,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
index 45a8607d..1e49e4f8 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
@@ -761,6 +761,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
index e03a5e27..6456250f 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
@@ -749,6 +749,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
index e368a6b3..d94d436d 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
@@ -750,6 +750,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.luatex.tlg
index d221984a..0127f887 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.luatex.tlg
@@ -761,6 +761,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.tlg
index be33f452..32c94bf8 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.tlg
@@ -749,6 +749,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.xetex.tlg
index 3dd5d515..ae75359d 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-06-01.xetex.tlg
@@ -750,6 +750,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-11-01.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-11-01.luatex.tlg
index 2d54c155..97076b6a 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-11-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-11-01.luatex.tlg
@@ -761,6 +761,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-11-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-11-01.tlg
index f0a214bb..923eb411 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-11-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-11-01.tlg
@@ -749,6 +749,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2023-11-01.xetex.tlg b/base/testfiles/tlb-latexrelease-rollback-2023-11-01.xetex.tlg
index 26e8eea6..e35b9163 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2023-11-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2023-11-01.xetex.tlg
@@ -750,6 +750,8 @@ Applying: [....-..-..] Raw option lists load with options on input line ....
 Already applied: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 6e43d343..c5adc7ea 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -757,6 +757,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index c692d03b..2e83af60 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -745,6 +745,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index 0700fc00..78cd86d4 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -746,6 +746,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Skipping: [....-..-..] Unused options issue on input line ....
 Applying: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Skipping: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.luatex.tlg b/base/testfiles/tlb-rollback-005.luatex.tlg
index 987c0fd0..ac3bd6e3 100644
--- a/base/testfiles/tlb-rollback-005.luatex.tlg
+++ b/base/testfiles/tlb-rollback-005.luatex.tlg
@@ -766,6 +766,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.tlg b/base/testfiles/tlb-rollback-005.tlg
index d89a7155..6117ad37 100644
--- a/base/testfiles/tlb-rollback-005.tlg
+++ b/base/testfiles/tlb-rollback-005.tlg
@@ -755,6 +755,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/testfiles/tlb-rollback-005.xetex.tlg b/base/testfiles/tlb-rollback-005.xetex.tlg
index 41819b38..e4c5f9a4 100644
--- a/base/testfiles/tlb-rollback-005.xetex.tlg
+++ b/base/testfiles/tlb-rollback-005.xetex.tlg
@@ -756,6 +756,8 @@ Skipping: [....-..-..] Raw option lists load with options on input line ....
 Applying: [....-..-..] Raw option lists load with options on input line ...
 Applying: [....-..-..] Unused options issue on input line ....
 Already applied: [....-..-..] Unused options issue on input line ....
+Skipping: [....-..-..] Check Group on input line ....
+Applying: [....-..-..] Check Group on input line ....
 Applying: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
 Already applied: [....-..-..] ifx tests in \@fileswith at pti@ns  on input line ....
diff --git a/base/update-rollback-tests.sh b/base/update-rollback-tests.sh
index 8c144906..201d5256 100755
--- a/base/update-rollback-tests.sh
+++ b/base/update-rollback-tests.sh
@@ -5,6 +5,7 @@ l3build save -epdftex,xetex,luatex \
 	tlb-latexrelease-rollback-2022-06-01 \
 	tlb-latexrelease-rollback-2022-11-01 \
 	tlb-latexrelease-rollback-2023-06-01 \
+	tlb-latexrelease-rollback-2023-11-01 \
 	tlb-latexrelease-rollback-003-often \
 	tlb-rollback-004-often \
 	tlb-rollback-005 \





More information about the latex3-commits mailing list.