[latex3-commits] [git/LaTeX3-latex3-latex2e] gh918: enhancement for #918 (2f53e1d4)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Sep 20 11:59:26 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : gh918
Link       : https://github.com/latex3/latex2e/commit/2f53e1d4f2cab8647380d1bfb0c41ea64b2189ee

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

commit 2f53e1d4f2cab8647380d1bfb0c41ea64b2189ee
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Sep 20 11:59:26 2022 +0200

    enhancement for #918


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

2f53e1d4f2cab8647380d1bfb0c41ea64b2189ee
 base/changes.txt                                   |  6 +++
 base/doc/ltnews36.tex                              | 24 ++++++++-
 base/ltfssdcl.dtx                                  | 58 ++++++++++++++++++++--
 base/testfiles/github-0479-often.luatex.tlg        |  4 ++
 base/testfiles/github-0479-often.tlg               |  4 ++
 base/testfiles/github-0479-often.xetex.tlg         |  4 ++
 base/testfiles/github-0918.lvt                     | 36 ++++++++++++++
 base/testfiles/{tlb3492.tlg => github-0918.tlg}    | 48 ++++++++++--------
 .../tlb-latexrelease-rollback-003-often.luatex.tlg |  8 +++
 .../tlb-latexrelease-rollback-003-often.tlg        |  8 +++
 .../tlb-latexrelease-rollback-003-often.xetex.tlg  |  8 +++
 ...tlb-latexrelease-rollback-2020-10-01.luatex.tlg |  4 ++
 .../tlb-latexrelease-rollback-2020-10-01.tlg       |  4 ++
 .../tlb-latexrelease-rollback-2020-10-01.xetex.tlg |  4 ++
 ...tlb-latexrelease-rollback-2021-06-01.luatex.tlg |  4 ++
 .../tlb-latexrelease-rollback-2021-06-01.tlg       |  4 ++
 .../tlb-latexrelease-rollback-2021-06-01.xetex.tlg |  4 ++
 ...tlb-latexrelease-rollback-2021-11-15.luatex.tlg |  4 ++
 .../tlb-latexrelease-rollback-2021-11-15.tlg       |  4 ++
 .../tlb-latexrelease-rollback-2021-11-15.xetex.tlg |  4 ++
 ...tlb-latexrelease-rollback-2022-06-01.luatex.tlg |  4 ++
 .../tlb-latexrelease-rollback-2022-06-01.tlg       |  4 ++
 .../tlb-latexrelease-rollback-2022-06-01.xetex.tlg |  4 ++
 ...lb-latexrelease-rollback-2022-11-01.luatex.tlg} |  0
 ...tlb-latexrelease-rollback-2022-11-01.xetex.tlg} |  0
 base/testfiles/tlb-rollback-004-often.luatex.tlg   |  4 ++
 base/testfiles/tlb-rollback-004-often.tlg          |  4 ++
 base/testfiles/tlb-rollback-004-often.xetex.tlg    |  4 ++
 base/testfiles/tlb-rollback-005.luatex.tlg         |  4 ++
 base/testfiles/tlb-rollback-005.tlg                |  4 ++
 base/testfiles/tlb-rollback-005.xetex.tlg          |  4 ++
 31 files changed, 255 insertions(+), 25 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 9370c0dd..87442619 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2022-09-20  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* ltfssdcl.dtx (section{Interface Commands}):
+	Drop any surplus 'm' in series argument of \DeclareSymbolFont and
+	\SetSymbolFont (gh/918)
+
 2022-09-17  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* ltfssdcl.dtx:
diff --git a/base/doc/ltnews36.tex b/base/doc/ltnews36.tex
index ea832e07..55de9862 100644
--- a/base/doc/ltnews36.tex
+++ b/base/doc/ltnews36.tex
@@ -281,10 +281,32 @@ approach.
 \githubissue{903}
 
 
-\section{Bug fixes}
+
+\subsection{Improve font series handling with incorrect \texttt{.fd} files}
+
+By convention, the font series value is supposed to contain no
+\texttt{m}, unless you refer to the \enquote{medium} series (which is
+represented by a single \texttt{m}). For example, one should write
+\texttt{c} for \enquote{medium weight, condensed width} and not
+\texttt{mc}. This was one of the many space-conserving methods
+necessary in the early days of \LaTeXe.
+
+Some older \texttt{.fd} files
+do not obey that convention but use \texttt{mc}, \texttt{bm}, etc., in
+their declarations. As a result, some font selection scheme
+functionality was not working when confronted with such \texttt{.fd}
+files. We have therefore augmented \cs{DeclareSymbolFont} and
+\cs{SetSymbolFont} to strip their series argument from any surplus
+\texttt{m} so that they do not unnecessarily trigger font
+substitutions. Regardless of this support such 
+\texttt{.fd} files should get fixed by their maintainers.
+%
+\githubissue{918}
 
 
 
+\section{Bug fixes}
+
 \subsection{Prevent \TeX{} from loosing a \cs{smash}}
 
 When \TeX{} is typesetting a fraction, it will rebox the material in
diff --git a/base/ltfssdcl.dtx b/base/ltfssdcl.dtx
index 940a92c0..49041605 100644
--- a/base/ltfssdcl.dtx
+++ b/base/ltfssdcl.dtx
@@ -36,7 +36,7 @@
 %
 %
 \ProvidesFile{ltfssdcl.dtx}
-            [2022/09/17 v3.1a LaTeX Kernel (NFSS Declarative Interface)]
+            [2022/09/20 v3.1b LaTeX Kernel (NFSS Declarative Interface)]
 % \iffalse
 \documentclass{ltxdoc}
 \begin{document}
@@ -997,8 +997,24 @@
 % \end{macro}
 %
 % \begin{macro}{\DeclareSymbolFont}
+%    First drop any surplus \texttt{m} from the series argument then
+%    do what has been done since 1994.
+% \changes{v3.1b}{2022/09/20}{Drop any surplus 'm' in series argument (gh/918)}
 %    \begin{macrocode}
-\def\DeclareSymbolFont#1#2#3#4#5{%
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2022/11/01}%
+%<latexrelease>                 {\DeclareSymbolFont}{maybe drop m}%
+\def\DeclareSymbolFont #1#2#3#4#5{%
+ \def\reserved at a{\DeclareSymbolFont at m@dropped{#1}{#2}{#3}}%
+ \edef\reserved at b{#4}%
+ \series at maybe@drop at one@m\reserved at b\reserved at b
+ \expandafter\reserved at a\expandafter{\reserved at b}{#5}%
+}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+\def\DeclareSymbolFont at m@dropped #1#2#3#4#5{%
  \@tempswafalse
  \edef\reserved at b{#2}%
  \def\cdp at elt##1##2##3##4{\def\reserved at c{##1}%
@@ -1052,6 +1068,16 @@
   \fi
   }
 \@onlypreamble\DeclareSymbolFont
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>                 {\DeclareSymbolFont}{maybe drop m}%
+%<latexrelease>
+%<latexrelease>\let\DeclareSymbolFont\DeclareSymbolFont at m@dropped
+%<latexrelease>\let\DeclareSymbolFont at m@dropped\@undefined
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -1088,8 +1114,24 @@
 % \end{macro}
 %
 % \begin{macro}{\SetSymbolFont}
+%    First drop any surplus \texttt{m} from the series argument then
+%    do what has been done since 1994.
+% \changes{v3.1b}{2022/09/20}{Drop any surplus 'm' in series argument (gh/918)}
 %    \begin{macrocode}
-\def\SetSymbolFont#1#2#3#4#5#6{%
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2022/11/01}%
+%<latexrelease>                 {\SetSymbolFont}{maybe drop m}%
+\def\SetSymbolFont #1#2#3#4#5#6{%
+ \def\reserved at a{\SetSymbolFont at m@dropped{#1}{#2}{#3}{#4}}%
+ \edef\reserved at b{#5}%
+ \series at maybe@drop at one@m\reserved at b\reserved at b
+ \expandafter\reserved at a\expandafter{\reserved at b}{#6}%
+}
+%    \end{macrocode}
+%    
+%    \begin{macrocode}
+\def\SetSymbolFont at m@dropped#1#2#3#4#5#6{%
  \@tempswafalse
  \edef\reserved at b{#3}%
  \def\cdp at elt##1##2##3##4{\def\reserved at c{##1}%
@@ -1104,6 +1146,16 @@
  \fi
 }
 \@onlypreamble\SetSymbolFont
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>                 {\SetSymbolFont}{maybe drop m}%
+%<latexrelease>
+%<latexrelease>\let\SetSymbolFont\SetSymbolFont at m@dropped
+%<latexrelease>\let\SetSymbolFont at m@dropped\@undefined
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
 %    \end{macrocode}
 % \end{macro}
 %
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index 93151fa5..3dea1a5a 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -303,6 +303,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index 8d121a5b..1a635ece 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -293,6 +293,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index 5d76350b..c346d5cd 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -293,6 +293,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....
diff --git a/base/testfiles/github-0918.lvt b/base/testfiles/github-0918.lvt
new file mode 100644
index 00000000..82f36083
--- /dev/null
+++ b/base/testfiles/github-0918.lvt
@@ -0,0 +1,36 @@
+\documentclass{article}
+
+\input{test2e}
+
+% invent some font with mc
+
+\DeclareFontFamily{OT1}{cmdh}{}
+\DeclareFontShape{OT1}{cmdh}{mc}{n}{%
+      <->cmdunh10%
+    }{}
+
+\DeclareFontFamily{OT1}{cmfib}{}
+\DeclareFontShape{OT1}{cmfib}{mc}{n}{%
+      <->cmfib8%
+    }{}
+
+
+\DeclareSymbolFont{letters}{OT1}{cmdh}{mc}{n}
+\SetSymbolFont{letters}{bold}{OT1}{cmfib}{mc}{n}   % something else for bold
+
+\showoutput
+
+
+\begin{document}
+
+\START 
+
+$a=h < 1$
+
+\boldmath
+
+$a=h < 1$
+
+\newpage
+\OMIT
+\end{document}
diff --git a/base/testfiles/tlb3492.tlg b/base/testfiles/github-0918.tlg
similarity index 58%
copy from base/testfiles/tlb3492.tlg
copy to base/testfiles/github-0918.tlg
index 2826d532..37d85b2d 100644
--- a/base/testfiles/tlb3492.tlg
+++ b/base/testfiles/github-0918.tlg
@@ -1,6 +1,5 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
-Author: Ionel Mugurel Ciobica
 LaTeX Font Info:    External font `cmex10' loaded for size
 (Font)              <7> on input line ....
 LaTeX Font Info:    External font `cmex10' loaded for size
@@ -17,39 +16,47 @@ Completed box being shipped out [1]
 ..\glue(\lineskip) 0.0
 ..\vbox(550.0+0.0)x345.0, glue set 527.9436fil
 ...\write-{}
-...\glue(\topskip) 1.85997
-...\hbox(8.14003+1.49998)x345.0, glue set 316.02773fil
+...\glue(\topskip) 0.27777
+...\hbox(9.72223+1.94444)x345.0, glue set 292.77797fil
 ....\hbox(0.0+0.0)x15.0
-....\OT1/cmr/m/n/10 a
 ....\mathon
-....\hbox(4.51111+0.0)x4.48613, shifted 1.49998
-.....\OT1/cmr/m/n/7 1
-....\mathoff
-....\mathon
-....\hbox(4.51111+0.0)x4.48613, shifted -3.62892
-.....\OT1/cmr/m/n/7 2
+....\OT1/cmdh/c/n/10 a
+....\glue(\thickmuskip) 2.77771 plus 2.77771
+....\OT1/cmr/m/n/10 =
+....\penalty 500
+....\glue(\thickmuskip) 2.77771 plus 2.77771
+....\OT1/cmdh/c/n/10 h
+....\glue(\thickmuskip) 2.77771 plus 2.77771
+....\OT1/cmdh/c/n/10 <
+....\penalty 500
+....\glue(\thickmuskip) 2.77771 plus 2.77771
+....\OT1/cmr/m/n/10 1
 ....\mathoff
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
 ...\glue(\parskip) 0.0 plus 1.0
 ...\glue(\parskip) 0.0
-...\glue(\baselineskip) 2.08775
-...\hbox(8.41226+1.49998)x345.0, glue set 312.50687fil
+...\glue(\baselineskip) 1.96527
+...\hbox(8.09029+1.90971)x345.0, glue set 285.41872fil
 ....\hbox(0.0+0.0)x15.0
-....\OT1/cmr/m/n/10 a
-....\mathon
-....\hbox(4.78334+0.0)x6.40282, shifted -3.62892
-.....\OT1/cmr/m/n/7 A
-....\mathoff
 ....\mathon
-....\hbox(4.78334+0.0)x6.0903, shifted 1.49998
-.....\OT1/cmr/m/n/7 B
+....\OT1/cmfib/c/n/10 a
+....\glue(\thickmuskip) 3.19443 plus 3.19443
+....\OT1/cmr/bx/n/10 =
+....\penalty 500
+....\glue(\thickmuskip) 3.19443 plus 3.19443
+....\OT1/cmfib/c/n/10 h
+....\glue(\thickmuskip) 3.19443 plus 3.19443
+....\OT1/cmfib/c/n/10 <
+....\penalty 500
+....\glue(\thickmuskip) 3.19443 plus 3.19443
+....\OT1/cmr/bx/n/10 1
 ....\mathoff
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
 ....\glue(\rightskip) 0.0
-...\glue -1.49998
+...\glue -1.90971
 ...\glue 0.0 plus 1.0fil
 ...\glue 0.0
 ...\glue 0.0 plus 0.0001fil
@@ -59,4 +66,3 @@ Completed box being shipped out [1]
 ....\glue 0.0 plus 1.0fil
 ....\OT1/cmr/m/n/10 1
 ....\glue 0.0 plus 1.0fil
-(tlb3492.aux)
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
index 580b4a2c..39967cc8 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -272,6 +272,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Skipping: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Skipping: [....-..-..] makemath accents robust on input line ....
@@ -905,6 +909,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 5356f7c1..9a59eebc 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -266,6 +266,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Skipping: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Skipping: [....-..-..] makemath accents robust on input line ....
@@ -889,6 +893,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 564544d7..bd3690f2 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -266,6 +266,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Skipping: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Skipping: [....-..-..] makemath accents robust on input line ....
@@ -898,6 +902,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 d0b3e868..6a018734 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
@@ -303,6 +303,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 7d558b8b..d5a85fa0 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
@@ -293,6 +293,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 cd33becf..9afdaa81 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
@@ -293,6 +293,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 2e40581e..ad493ca7 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
@@ -304,6 +304,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 57c17244..9699909d 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
@@ -293,6 +293,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 22bd62bb..2db847fc 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
@@ -293,6 +293,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 c43474ca..a6455f5d 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
@@ -304,6 +304,10 @@ 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 ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 92781860..4c3c5f11 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
@@ -293,6 +293,10 @@ 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 ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 f230728c..70000cbc 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
@@ -293,6 +293,10 @@ 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 ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 a75d95d8..c504eeb3 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
@@ -305,6 +305,10 @@ 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 ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 389c14f6..f450facd 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
@@ -294,6 +294,10 @@ 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 ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 cabac50d..7d15889f 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
@@ -294,6 +294,10 @@ 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 ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
similarity index 100%
copy from base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
copy to base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
diff --git a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
similarity index 100%
copy from base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
copy to base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index 153318b8..9a4f6397 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -304,6 +304,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index c12c4706..10f59c52 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -293,6 +293,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath 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 b20b02ce..1b2791be 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -293,6 +293,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....
diff --git a/base/testfiles/tlb-rollback-005.luatex.tlg b/base/testfiles/tlb-rollback-005.luatex.tlg
index d3545b28..9fd5d02a 100644
--- a/base/testfiles/tlb-rollback-005.luatex.tlg
+++ b/base/testfiles/tlb-rollback-005.luatex.tlg
@@ -307,6 +307,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....
diff --git a/base/testfiles/tlb-rollback-005.tlg b/base/testfiles/tlb-rollback-005.tlg
index a686ebd2..a6aee695 100644
--- a/base/testfiles/tlb-rollback-005.tlg
+++ b/base/testfiles/tlb-rollback-005.tlg
@@ -297,6 +297,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....
diff --git a/base/testfiles/tlb-rollback-005.xetex.tlg b/base/testfiles/tlb-rollback-005.xetex.tlg
index aa8a24b2..e871d581 100644
--- a/base/testfiles/tlb-rollback-005.xetex.tlg
+++ b/base/testfiles/tlb-rollback-005.xetex.tlg
@@ -297,6 +297,10 @@ 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: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
+Skipping: [....-..-..] maybe drop m on input line ....
+Applying: [....-..-..] maybe drop m on input line ....
 Applying: [....-..-..] Make math accents robust on input line ....
 Already applied: [....-..-..] Make math accents robust on input line ....
 Applying: [....-..-..] makemath accents robust on input line ....





More information about the latex3-commits mailing list.