[latex3-commits] [git/LaTeX3-latex3-latex2e] gh921: new approach for localmathalphabets (66ab417c)

Frank Mittelbach frank.mittelbach at latex-project.org
Sat Sep 17 14:23:46 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : gh921
Link       : https://github.com/latex3/latex2e/commit/66ab417cef95cefc144e637e17baf7e66c69c165

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

commit 66ab417cef95cefc144e637e17baf7e66c69c165
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sat Sep 17 14:23:46 2022 +0200

    new approach for localmathalphabets


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

66ab417cef95cefc144e637e17baf7e66c69c165
 base/changes.txt                                   |   5 +
 base/doc/ltnews36.tex                              |  30 ++-
 base/ltfssdcl.dtx                                  | 266 ++++++++++++---------
 base/testfiles/github-0479-often.luatex.tlg        |   3 +
 base/testfiles/github-0479-often.tlg               |   3 +
 base/testfiles/github-0479-often.xetex.tlg         |   3 +
 .../tlb-latexrelease-rollback-003-often.luatex.tlg |   6 +
 .../tlb-latexrelease-rollback-003-often.tlg        |   6 +
 .../tlb-latexrelease-rollback-003-often.xetex.tlg  |   6 +
 ...tlb-latexrelease-rollback-2020-10-01.luatex.tlg |   3 +
 .../tlb-latexrelease-rollback-2020-10-01.tlg       |   3 +
 .../tlb-latexrelease-rollback-2020-10-01.xetex.tlg |   3 +
 ...tlb-latexrelease-rollback-2021-06-01.luatex.tlg |   3 +
 .../tlb-latexrelease-rollback-2021-06-01.tlg       |   3 +
 .../tlb-latexrelease-rollback-2021-06-01.xetex.tlg |   3 +
 ...tlb-latexrelease-rollback-2021-11-15.luatex.tlg |   3 +
 .../tlb-latexrelease-rollback-2021-11-15.tlg       |   3 +
 .../tlb-latexrelease-rollback-2021-11-15.xetex.tlg |   3 +
 ...tlb-latexrelease-rollback-2022-06-01.luatex.tlg |   3 +
 .../tlb-latexrelease-rollback-2022-06-01.tlg       |   3 +
 .../tlb-latexrelease-rollback-2022-06-01.xetex.tlg |   3 +
 ...vt => tlb-latexrelease-rollback-2022-11-01.lvt} |   2 +-
 ...lg => tlb-latexrelease-rollback-2022-11-01.tlg} |   2 +
 ...at-001.tlg => tlb-nfss-alphabets-04.luatex.tlg} |   2 +-
 ...-alphabets-02.lvt => tlb-nfss-alphabets-04.lvt} |  40 ++--
 base/testfiles/tlb-nfss-alphabets-04.tlg           |  18 ++
 ...oat-001.tlg => tlb-nfss-alphabets-04.xetex.tlg} |   2 +-
 base/testfiles/tlb-rollback-004-often.luatex.tlg   |   3 +
 base/testfiles/tlb-rollback-004-often.tlg          |   3 +
 base/testfiles/tlb-rollback-004-often.xetex.tlg    |   3 +
 base/testfiles/tlb-rollback-005.luatex.tlg         |   3 +
 base/testfiles/tlb-rollback-005.tlg                |   3 +
 base/testfiles/tlb-rollback-005.xetex.tlg          |   3 +
 base/update-rollback-tests.sh                      |   1 +
 34 files changed, 296 insertions(+), 153 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index c9b9b1c2..9370c0dd 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,11 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2022-09-17  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* ltfssdcl.dtx:
+	New logic for freezing math versions to avoid issues with \mathchoice (gh/921)
+
 2022-09-07  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* ltboxes.dtx (section{\LaTeX\ Box commands}):
diff --git a/base/doc/ltnews36.tex b/base/doc/ltnews36.tex
index cf571797..ea832e07 100644
--- a/base/doc/ltnews36.tex
+++ b/base/doc/ltnews36.tex
@@ -318,6 +318,19 @@ honored. Thus now you get this output:
 \githubissue{517}
 
 
+\subsection{Resolve an issue with \cs{mathchoice} and \texttt{localalphabets}}
+
+The code for keeping a number of math alphabetcs local (introduced in
+2021; see~\cite{36:ltnews34}) used \cs{aftergroup} to do some cleanup actions after a
+formula had finished.  Unfortunately, \cs{aftergroup} can't be used
+inside the arguments of the \cs{mathchoice} primitive and as a result one
+got low-level errors if the freezing happened in such a place.  The
+implementation was therefore revised to avoid the \cs{aftergroup}
+approach altogether.
+%
+\githubissue{921}
+
+
 
 \section{Changes to packages in the \pkg{amsmath} category}
 
@@ -367,19 +380,6 @@ tall, in which case aligning is pointless anyway).
 %  \emph{\LaTeX{} documentation on the \LaTeX{} Project Website}.\\
 %  \url{https://latex-project.org/help/documentation/}
 
-%\bibitem{36:ltnews31} \LaTeX{} Project Team:
-%  \emph{\LaTeXe{} news 31}.\\
-%  \url{https://latex-project.org/news/latex2e-news/ltnews31.pdf}
-
-%\bibitem{36:ltnews32} \LaTeX{} Project Team:
-%  \emph{\LaTeXe{} news 32}.\\
-%  \url{https://latex-project.org/news/latex2e-news/ltnews32.pdf}
-
-%\bibitem{36:ltnews33} \LaTeX{} Project Team:
-%  \emph{\LaTeXe{} news 33}.\\
-%  \url{https://latex-project.org/news/latex2e-news/ltnews33.pdf}
-
-
 \bibitem{36:Lamport}
 Leslie Lamport.
 \newblock {\LaTeX}: {A} Document Preparation System: User's Guide and Reference
@@ -392,6 +392,10 @@ Leslie Lamport.
   \emph{\LaTeXe{} news 32}.\\
   \url{https://latex-project.org/news/latex2e-news/ltnews32.pdf}
 
+\bibitem{36:ltnews34} \LaTeX{} Project Team:
+  \emph{\LaTeXe{} news 34}.\\
+  \url{https://latex-project.org/news/latex2e-news/ltnews34.pdf}
+
 \bibitem{36:ltnews35} \LaTeX{} Project Team:
   \emph{\LaTeXe{} news 35}.\\
   \url{https://latex-project.org/news/latex2e-news/ltnews35.pdf}
diff --git a/base/ltfssdcl.dtx b/base/ltfssdcl.dtx
index dd9f12f8..940a92c0 100644
--- a/base/ltfssdcl.dtx
+++ b/base/ltfssdcl.dtx
@@ -36,7 +36,7 @@
 %
 %
 \ProvidesFile{ltfssdcl.dtx}
-            [2022/07/04 v3.0z LaTeX Kernel (NFSS Declarative Interface)]
+            [2022/09/17 v3.1a LaTeX Kernel (NFSS Declarative Interface)]
 % \iffalse
 \documentclass{ltxdoc}
 \begin{document}
@@ -457,7 +457,7 @@
 %
 %
 %
-%  \begin{macro}{\c at localalphabets}
+%  \begin{macro}{\c at localmathalphabets}
 % \changes{v3.0x}{2021/09/26}{Counter added for (gh/676)}
 %    To avoid hitting the ``no more math fams available'' limit of 16, we
 %    keep a defined number of math alphabets flexible/local. If we have to
@@ -577,118 +577,6 @@
 }
 %    \end{macrocode}
 %
-%
-%
-%  \begin{macro}{\freeze at math@version}
-% \changes{v3.0x}{2021/09/26}{Macro added for (gh/676)}
-%    This command stores the current state of the math version and sets
-%    things up to return to it after each formula from now on. We use
-%    L3 programming layer code to set it up.
-%    \begin{macrocode}
-\ExplSyntaxOn
-\cs_new_protected:Npn\freeze at math@version #1 {
-%    \end{macrocode}
-%    Save the current \cs{mv@\meta{version}} code and the number of
-%    allocated mathgroups inside.
-%    \begin{macrocode}
-  \@font at info{Freeze~ math~ alphabet~ allocation~ in~ version~
-              #1.\MessageBreak
-              Allocated~math~groups:~\int_use:c{ c at mv@ #1 }~ 
-              (local:~  \int_use:N\c at localmathalphabets)      }
-  \cs_gset_eq:cc { mv@#1 at frozen }{ mv@#1 }
-  \tl_gset:cx { g__nfss_frozen_mv_ #1 _tl }{ \int_use:c { c at mv@#1 } }
-%    \end{macrocode}
-%    Doing the reset the first time, we wait until we are out of
-%    math mode, so we use some recursive \cs{group_insert_after:N} for this
-%    before we execute \cs{mv@\meta{version}@reset}.
-%    \begin{macrocode}
-  \group_insert_after:N \__nfss_init_mv_freeze:N
-  \exp_after:wN \group_insert_after:N \cs:w mv@#1 at reset \cs_end:
-%    \end{macrocode}
-%    The \cs{check at mathfonts} is called at the very beginning of each
-%    math formula, so it is a good way to hook in the resetting.
-%    Again that has to happen after the formula has ended, but we know
-%    because of the place where \cs{check at mathfonts} is used
-%    that a single \cs{aftergoup} is sufficient.
-%    \begin{macrocode}
-  \tl_gput_right:No \check at mathfonts 
-       {
-         \exp_after:wN \group_insert_after:N \cs:w mv@#1 at reset \cs_end:
-       }
-%    \end{macrocode}
-%    Here is the definition of \cs{mv@\meta{version}@reset}. If there
-%    has been no new math alphabet allocation, doing a reset would
-%    just cause a lot of unnecessary processing, so we do a quick
-%    check upfront for this.
-%    \begin{macrocode}
-  \cs_gset:cpn{mv@#1 at reset}
-     {
-         \int_compare:nNnTF { \int_use:c{c at mv@#1} } > 
-                            { \tl_use:c{g__nfss_frozen_mv_ #1 _tl} }
-             {
-               \@font at info{Undo~ math~ alphabet~ allocation~ in~ version~ #1}
-%    \end{macrocode}
-%    If the undo is necessary, we restore the \cs{mv@\meta{version}} code.
-%    \begin{macrocode}
-               \cs_gset_eq:cc { mv@#1 }{ mv@#1 at frozen }
-               \int_gset:cn { c at mv@#1 }{ \tl_use:c {g__nfss_frozen_mv_ #1 _tl} }
-%    \end{macrocode}
-%    But we also should undo changes to the math alphabet
-%    definitions. We therefore run this code with a modified
-%    definition for \cs{getanddefine at fonts} because there is no need
-%    to do anything to the symbol fonts that are permanently allocated.
-%    \begin{macrocode}
-               \group_begin:
-                 \cs_set_eq:NN \getanddefine at fonts \use_none:nn
-                 \use:c {mv@#1}
-               \group_end:
-             }
-             {
-%    \end{macrocode}
-%    If there was no change, we report that in the log (but this
-%    branch could go completely).
-%    \begin{macrocode}
-               \@font at info{No~ math~ alphabet~ change~ to~ frozen~ version~ #1}
-             }
-%    \end{macrocode}
-%    If this is executed after a math display, we may have to arrange
-%    for ignoring spaces, because they are now hidden if
-%    the tokens from above intervene. This is signaled by the 2e
-%    switch \texttt{@ignore} which is set in \cs{frozen at everymath} and
-%    \cs{frozen at everydisplay}.
-%
-%    This is all 2e code so we use that syntax.
-% \changes{v3.0z}{2022/07/04}{Ignore spaces if necessary (gh/886)}
-%    \begin{macrocode}
-         \if at ignore \ignorespaces \fi
-    }
-}
-%    \end{macrocode}
-%  \end{macro}
-%
-%
-%  \begin{macro}{\__nfss_init_mv_freeze:N}
-% \changes{v3.0x}{2021/09/26}{Macro added for (gh/676)}
-%    To do the initial freeze in a safe place, we check if we are in
-%    math mode and if so try again after the group has ended by pushing
-%    the command and its  single token argument with two
-%    \cs{group_insert_after:N}s after the current group. If we are no longer in
-%    math mode we bypass the
-%    conditional and so the next token is our argument
-%    which is then finally executed.
-%    \begin{macrocode}
-\cs_new_protected:Npn \__nfss_init_mv_freeze:N #1 {%
-  \mode_if_math:T { \group_insert_after:N \__nfss_init_mv_freeze:N
-                    \group_insert_after:N } #1
-}
-%    \end{macrocode}
-%  \end{macro}
-%
-%
-%    \begin{macrocode}
-\ExplSyntaxOff 
-%    \end{macrocode}
-%
 %    \begin{macrocode}
 %</2ekernel|latexrelease>
 %<latexrelease>\EndIncludeInRelease
@@ -786,7 +674,132 @@
 %<latexrelease>\EndIncludeInRelease
 %<*2ekernel>
 %    \end{macrocode}
-% \end{macro}
+%  \end{macro}
+%
+%
+%
+%
+%  \begin{macro}{\freeze at math@version}
+% \changes{v3.0x}{2021/09/26}{Macro added for (gh/676)}
+% \changes{v3.1a}{2022/09/17}{New logic for freezing math versions (gh/921)}
+%    This command stores the current state of the math version and sets
+%    things up to return to it after each formula from now on. We use
+%    L3 programming layer code to set it up.
+%    \begin{macrocode}
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2022/11/01}%
+%<latexrelease>                 {\freeze at math@version}{freeze math version}%
+\ExplSyntaxOn
+\cs_new_protected:Npn\freeze at math@version #1 {
+%    \end{macrocode}
+%    Save the current \cs{mv@\meta{version}} code and the number of
+%    allocated mathgroups inside.
+%    \begin{macrocode}
+  \@font at info{Freeze~ math~ alphabet~ allocation~ in~ version~
+              #1.\MessageBreak
+              Allocated~math~groups:~\int_use:c{ c at mv@ #1 }~ 
+              (local:~  \int_use:N\c at localmathalphabets)      }
+  \cs_gset_eq:cc { mv@#1 at frozen }{ mv@#1 }
+  \tl_gset:cx { g__nfss_frozen_mv_ #1 _tl }{ \int_use:c { c at mv@#1 } }
+%    \end{macrocode}
+%    Here is the definition of \cs{mv@\meta{version}@reset}. If there
+%    has been no new math alphabet allocation, doing a reset would
+%    just cause a lot of unnecessary processing, so we do a quick
+%    check upfront for this.
+%    \begin{macrocode}
+  \cs_gset:cpn{mv@#1 at reset}
+     {
+         \int_compare:nNnTF { \int_use:c{c at mv@#1} } > 
+                            { \tl_use:c{g__nfss_frozen_mv_ #1 _tl} }
+             {
+               \@font at info{Undo~ math~ alphabet~ allocation~ in~ version~ #1}
+%    \end{macrocode}
+%    If the undo is necessary, we restore the \cs{mv@\meta{version}} code.
+%    \begin{macrocode}
+               \cs_gset_eq:cc { mv@#1 }{ mv@#1 at frozen }
+               \int_gset:cn { c at mv@#1 }{ \tl_use:c {g__nfss_frozen_mv_ #1 _tl} }
+%    \end{macrocode}
+%    But we also should undo changes to the math alphabet
+%    definitions. We therefore run this code with a modified
+%    definition for \cs{getanddefine at fonts} because there is no need
+%    to do anything to the symbol fonts that are permanently allocated.
+%    \begin{macrocode}
+               \group_begin:
+                 \cs_set_eq:NN \getanddefine at fonts \use_none:nn
+                 \use:c {mv@#1}
+               \group_end:
+             }
+             {
+%    \end{macrocode}
+%    If there was no change, we report that in the log (but this
+%    branch could go completely).
+%    \begin{macrocode}
+               \@font at info{No~ math~ alphabet~ change~ to~ frozen~ version~ #1}
+             }
+%    \end{macrocode}
+%    If this is executed after a math display, we may have to arrange
+%    for ignoring spaces, because they are now hidden if
+%    the tokens from above intervene. This is signaled by the 2e
+%    switch \texttt{@ignore} which is set in \cs{frozen at everymath} and
+%    \cs{frozen at everydisplay}.
+%
+%    This is all 2e code so we use that syntax.
+% \changes{v3.0z}{2022/07/04}{Ignore spaces if necessary (gh/886)}
+%    \begin{macrocode}
+         \if at ignore \ignorespaces \fi
+    }
+}
+\ExplSyntaxOff
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{2021/11/15}
+%<latexrelease>                 {\freeze at math@version}{freeze math version}%
+%<latexrelease>
+%<latexrelease>\ExplSyntaxOn
+%<latexrelease>\cs_set_protected:Npn\freeze at math@version #1 {
+%<latexrelease>  \@font at info{Freeze~ math~ alphabet~ allocation~ in~ version~
+%<latexrelease>              #1.\MessageBreak
+%<latexrelease>              Allocated~math~groups:~\int_use:c{ c at mv@ #1 }~
+%<latexrelease>              (local:~  \int_use:N\c at localmathalphabets)      }
+%<latexrelease>  \cs_gset_eq:cc { mv@#1 at frozen }{ mv@#1 }
+%<latexrelease>  \tl_gset:cx { g__nfss_frozen_mv_ #1 _tl }{ \int_use:c { c at mv@#1 } }
+%<latexrelease>  \group_insert_after:N \__nfss_init_mv_freeze:N
+%<latexrelease>  \exp_after:wN \group_insert_after:N \cs:w mv@#1 at reset \cs_end:
+%<latexrelease>  \tl_gput_right:No \check at mathfonts
+%<latexrelease>       {
+%<latexrelease>         \exp_after:wN \group_insert_after:N \cs:w mv@#1 at reset \cs_end:
+%<latexrelease>       }
+%<latexrelease>  \cs_gset:cpn{mv@#1 at reset}
+%<latexrelease>     {
+%<latexrelease>         \int_compare:nNnTF { \int_use:c{c at mv@#1} } >
+%<latexrelease>                            { \tl_use:c{g__nfss_frozen_mv_ #1 _tl} }
+%<latexrelease>             {
+%<latexrelease>               \@font at info{Undo~ math~ alphabet~ allocation~ in~ version~ #1}
+%<latexrelease>               \cs_gset_eq:cc { mv@#1 }{ mv@#1 at frozen }
+%<latexrelease>               \int_gset:cn { c at mv@#1 }{ \tl_use:c {g__nfss_frozen_mv_ #1 _tl} }
+%<latexrelease>               \group_begin:
+%<latexrelease>                 \cs_set_eq:NN \getanddefine at fonts \use_none:nn
+%<latexrelease>                 \use:c {mv@#1}
+%<latexrelease>               \group_end:
+%<latexrelease>             }
+%<latexrelease>             {
+%<latexrelease>               \@font at info{No~ math~ alphabet~ change~ to~ frozen~ version~ #1}
+%<latexrelease>             }
+%<latexrelease>         \if at ignore \ignorespaces \fi
+%<latexrelease>    }
+%<latexrelease>}
+%<latexrelease>\cs_set_protected:Npn \__nfss_init_mv_freeze:N #1 {%
+%<latexrelease>  \mode_if_math:T { \group_insert_after:N \__nfss_init_mv_freeze:N
+%<latexrelease>                    \group_insert_after:N } #1
+%<latexrelease>}
+%<latexrelease>\ExplSyntaxOff
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
+%    \end{macrocode}
+%  \end{macro}
+%
 %
 % \begin{macro}{\process at table}
 %    \begin{macrocode}
@@ -868,7 +881,7 @@
 %    \begin{macrocode}
 %</2ekernel>
 %<*2ekernel|latexrelease>
-%<latexrelease>\IncludeInRelease{2021/11/15}%
+%<latexrelease>\IncludeInRelease{2022/11/01}%
 %<latexrelease>                 {\DeclareMathVersion}{local alphabets}%
 \def\DeclareMathVersion#1{%
 %    \end{macrocode}
@@ -881,6 +894,21 @@
 %    \begin{macrocode}
   \@namedef{g__nfss_frozen_mv_#1_tl}{}%
 %    \end{macrocode}
+%    We also extend \cs{check at mathfonts} to call a version reset (once
+%    frozen) after a formula has finished.
+% \changes{v3.1a}{2022/09/17}{New logic for freezing math versions (gh/921)}
+%    \begin{macrocode}
+  \expandafter\ifx\csname mv@#1\endcsname \relax
+    \expandafter \g at addto@macro \expandafter \check at mathfonts
+         \expandafter {\expandafter \aftergroup \csname mv@#1 at reset\endcsname}%
+%    \end{macrocode}
+%    Initially this macro does nothing. It is, however, important that
+%    it doesn't stop any \cs{ignorespaces}, so we make it expandable
+%    and not \cs{relax}.
+%    \begin{macrocode}
+    \@namedef{mv@#1 at reset}{}%
+  \fi
+%    \end{macrocode}
 %
 %    \begin{macrocode}
   \expandafter\new at mathversion\csname mv@#1\endcsname}
@@ -890,6 +918,12 @@
 %    \end{macrocode}
 %    
 %    \begin{macrocode}
+%<latexrelease>\IncludeInRelease{2021/11/15}%
+%<latexrelease>                 {\DeclareMathVersion}{local alphabets}%
+%<latexrelease>\def\DeclareMathVersion#1{%
+%<latexrelease>  \@namedef{g__nfss_frozen_mv_#1_tl}{}%
+%<latexrelease>  \expandafter\new at mathversion\csname mv@#1\endcsname}
+%<latexrelease>\EndIncludeInRelease
 %<latexrelease>\IncludeInRelease{0000/00/00}%
 %<latexrelease>                 {\DeclareMathVersion}{local alphabets}%
 %<latexrelease>\def\DeclareMathVersion#1{%
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index 2ccfd10d..93151fa5 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -298,6 +298,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index 487c0f0c..8d121a5b 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -288,6 +288,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index 7634dcc4..5d76350b 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -288,6 +288,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index 3b45a374..580b4a2c 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -267,6 +267,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] Make math accents robust on input line ....
@@ -897,6 +900,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents 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 8289391e..5356f7c1 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -261,6 +261,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] Make math accents robust on input line ....
@@ -881,6 +884,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents 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 3479b9c0..564544d7 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -261,6 +261,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] Make math accents robust on input line ....
@@ -890,6 +893,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 ad412a69..d0b3e868 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
@@ -298,6 +298,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 fee58fe0..7d558b8b 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
@@ -288,6 +288,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 f5083dba..cd33becf 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
@@ -288,6 +288,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 0196546c..2e40581e 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
@@ -299,6 +299,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 a7eefcaa..57c17244 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
@@ -288,6 +288,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 74ec0fe6..22bd62bb 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
@@ -288,6 +288,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 ecc6c3db..c43474ca 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
@@ -299,6 +299,9 @@ Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Applying: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Already applied: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 3a7565fe..92781860 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
@@ -288,6 +288,9 @@ Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Applying: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Already applied: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 81e4d282..f230728c 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
@@ -288,6 +288,9 @@ Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Applying: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Already applied: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 9e303769..a75d95d8 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
@@ -300,6 +300,9 @@ Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Applying: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Already applied: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 7681fa8c..389c14f6 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
@@ -289,6 +289,9 @@ Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Applying: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Already applied: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust 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 c8f00aca..cabac50d 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
@@ -289,6 +289,9 @@ Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Applying: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Already applied: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.lvt b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.lvt
similarity index 78%
copy from base/testfiles/tlb-latexrelease-rollback-2021-06-01.lvt
copy to base/testfiles/tlb-latexrelease-rollback-2022-11-01.lvt
index d89f90db..06640b08 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.lvt
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.lvt
@@ -6,7 +6,7 @@
 
 \START
 
-\RequirePackage[2021/06/01]{latexrelease}
+\RequirePackage[2022/11/01]{latexrelease}
 
 \END
 
diff --git a/base/testfiles/tlb-latexrelease-rollback-002.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
similarity index 61%
copy from base/testfiles/tlb-latexrelease-rollback-002.luatex.tlg
copy to base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
index 4797c8ed..44411474 100644
--- a/base/testfiles/tlb-latexrelease-rollback-002.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
@@ -1,5 +1,7 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
 (latexrelease.sty
+LaTeX Info: Redefining \IfTargetDateBefore on input line ....
 Package: latexrelease ....-..-.. v... LaTeX release emulation and tests (including releases up to ....-..-..)
+Package latexrelease Warning: Current format date selected, no patches applied.
 )
diff --git a/base/testfiles/tlb-negfloat-001.tlg b/base/testfiles/tlb-nfss-alphabets-04.luatex.tlg
similarity index 67%
copy from base/testfiles/tlb-negfloat-001.tlg
copy to base/testfiles/tlb-nfss-alphabets-04.luatex.tlg
index 21c2e49c..d455ce45 100644
--- a/base/testfiles/tlb-negfloat-001.tlg
+++ b/base/testfiles/tlb-nfss-alphabets-04.luatex.tlg
@@ -1,5 +1,5 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
+there should be no errors only frozen versions ...
 [1
-Float Output
 ]
diff --git a/base/testfiles/tlb-nfss-alphabets-02.lvt b/base/testfiles/tlb-nfss-alphabets-04.lvt
similarity index 55%
copy from base/testfiles/tlb-nfss-alphabets-02.lvt
copy to base/testfiles/tlb-nfss-alphabets-04.lvt
index a8ecaf24..51fafe24 100644
--- a/base/testfiles/tlb-nfss-alphabets-02.lvt
+++ b/base/testfiles/tlb-nfss-alphabets-04.lvt
@@ -2,8 +2,6 @@
 
 \input{test2e}
 
-\START
-
 \setcounter{localmathalphabets}{5}
 
 \DeclareSymbolFont{fooi}{OT1}{cmr}{m}{n}
@@ -17,36 +15,36 @@
 \DeclareSymbolFont{fooix}{OT1}{cmr}{m}{n}
 \DeclareSymbolFont{foox}{OT1}{cmr}{m}{n}  % only one slot open   
 
+\DeclareMathVersion{XXX} % get a third version
 
 
-\DeclareMathAlphabet\baz{OT1}{cmss}{m}{n}
-
 \begin{document}
 
-\makeatletter \show\mv at normal  \showthe\c at mv@normal  \makeatother
+\section{Test}
+
+$\mathcal{A}$
+
+\START
+
+\typeout{there should be no errors only frozen versions ...}
+
+$\mathchoice{1}{\mathtt{B}}{3}{4}$   % this died in the past ...
 
-\setbox0\hbox{$
-\baz{Z}
-\showlists
-$}
+$\mathbf{C}$  
 
-\makeatletter \show\mv at normal  \showthe\c at mv@normal  \makeatother
 
-\setbox0\hbox{$
-\mathbf{B}
-\showlists
-$}
+\mathversion{XXX}  % try with another version ...
 
-\makeatletter \show\mv at normal  \showthe\c at mv@normal  \makeatother
+$\mathcal{A}$
 
-\setbox0\hbox{$
-X
-\showlists
-$}
+$\mathchoice{1}{\mathtt{B}}{3}{4}$   % this died in the past ...
 
+$\mathbf{C}$
 
+$\mathtt{T}$
 
-\typeout{==> In unicode engines this will always give a diff as all math alphabets can be allocated!}
 
 
-\END
+\newpage
+\OMIT
+\end{document}
diff --git a/base/testfiles/tlb-nfss-alphabets-04.tlg b/base/testfiles/tlb-nfss-alphabets-04.tlg
new file mode 100644
index 00000000..0bf4c1dd
--- /dev/null
+++ b/base/testfiles/tlb-nfss-alphabets-04.tlg
@@ -0,0 +1,18 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+there should be no errors only frozen versions ...
+LaTeX Font Info:    Freeze math alphabet allocation in version normal.
+(Font)              Allocated math groups: 14 (local: 5) on input line ....
+LaTeX Font Info:    Undo math alphabet allocation in version normal on input line ....
+LaTeX Font Info:    Undo math alphabet allocation in version normal on input line ....
+LaTeX Font Info:    No math alphabet change to frozen version normal on input line ....
+LaTeX Font Info:    Freeze math alphabet allocation in version XXX.
+(Font)              Allocated math groups: 14 (local: 5) on input line ....
+LaTeX Font Info:    No math alphabet change to frozen version normal on input line ....
+LaTeX Font Info:    Undo math alphabet allocation in version XXX on input line ....
+LaTeX Font Info:    No math alphabet change to frozen version normal on input line ....
+LaTeX Font Info:    Undo math alphabet allocation in version XXX on input line ....
+LaTeX Font Info:    No math alphabet change to frozen version normal on input line ....
+LaTeX Font Info:    Undo math alphabet allocation in version XXX on input line ....
+[1
+]
diff --git a/base/testfiles/tlb-negfloat-001.tlg b/base/testfiles/tlb-nfss-alphabets-04.xetex.tlg
similarity index 67%
copy from base/testfiles/tlb-negfloat-001.tlg
copy to base/testfiles/tlb-nfss-alphabets-04.xetex.tlg
index 21c2e49c..d455ce45 100644
--- a/base/testfiles/tlb-negfloat-001.tlg
+++ b/base/testfiles/tlb-nfss-alphabets-04.xetex.tlg
@@ -1,5 +1,5 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
+there should be no errors only frozen versions ...
 [1
-Float Output
 ]
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 94c51f04..153318b8 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -299,6 +299,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index 3de511a1..c12c4706 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -288,6 +288,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents 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 fce42416..b20b02ce 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -288,6 +288,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/testfiles/tlb-rollback-005.luatex.tlg b/base/testfiles/tlb-rollback-005.luatex.tlg
index deb5d6cf..d3545b28 100644
--- a/base/testfiles/tlb-rollback-005.luatex.tlg
+++ b/base/testfiles/tlb-rollback-005.luatex.tlg
@@ -302,6 +302,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/testfiles/tlb-rollback-005.tlg b/base/testfiles/tlb-rollback-005.tlg
index b6f7c5f1..a686ebd2 100644
--- a/base/testfiles/tlb-rollback-005.tlg
+++ b/base/testfiles/tlb-rollback-005.tlg
@@ -292,6 +292,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/testfiles/tlb-rollback-005.xetex.tlg b/base/testfiles/tlb-rollback-005.xetex.tlg
index c7f8d2b8..aa8a24b2 100644
--- a/base/testfiles/tlb-rollback-005.xetex.tlg
+++ b/base/testfiles/tlb-rollback-005.xetex.tlg
@@ -292,6 +292,9 @@ Skipping: [....-..-..] \document at select@group  on input line ....
 Applying: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
 Already applied: [....-..-..] \document at select@group  on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] freeze math version on input line ....
+Skipping: [....-..-..] local alphabets on input line ....
 Skipping: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] local alphabets on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
diff --git a/base/update-rollback-tests.sh b/base/update-rollback-tests.sh
index a60b67d7..9b8156b2 100755
--- a/base/update-rollback-tests.sh
+++ b/base/update-rollback-tests.sh
@@ -3,6 +3,7 @@ l3build save -eetex,xetex,luatex \
 	tlb-latexrelease-rollback-2021-06-01 \
 	tlb-latexrelease-rollback-2021-11-15 \
 	tlb-latexrelease-rollback-2022-06-01 \
+	tlb-latexrelease-rollback-2022-11-01 \
 	tlb-latexrelease-rollback-003-often \
 	tlb-rollback-004-often \
 	tlb-rollback-005 \





More information about the latex3-commits mailing list.