[latex3-commits] [git/LaTeX3-latex3-latex2e] fakemath: subscripts without fake math (9a1b73c5)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sun Jan 8 19:54:28 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : fakemath
Link : https://github.com/latex3/latex2e/commit/9a1b73c5a405603558656f474d852c5224544dd2
>---------------------------------------------------------------
commit 9a1b73c5a405603558656f474d852c5224544dd2
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun Jan 8 19:54:28 2023 +0100
subscripts without fake math
>---------------------------------------------------------------
9a1b73c5a405603558656f474d852c5224544dd2
base/ltfloat.dtx | 47 +++++++++++++++++++---
base/testfiles-lthooks2/ltpara-001.tlg | 6 +--
base/testfiles/github-0479-often.luatex.tlg | 1 +
base/testfiles/github-0479-often.tlg | 1 +
base/testfiles/github-0479-often.xetex.tlg | 1 +
.../tlb-latexrelease-rollback-003-often.luatex.tlg | 2 +
.../tlb-latexrelease-rollback-003-often.tlg | 2 +
.../tlb-latexrelease-rollback-003-often.xetex.tlg | 2 +
...tlb-latexrelease-rollback-2020-10-01.luatex.tlg | 1 +
.../tlb-latexrelease-rollback-2020-10-01.tlg | 1 +
.../tlb-latexrelease-rollback-2020-10-01.xetex.tlg | 1 +
...tlb-latexrelease-rollback-2021-06-01.luatex.tlg | 1 +
.../tlb-latexrelease-rollback-2021-06-01.tlg | 1 +
.../tlb-latexrelease-rollback-2021-06-01.xetex.tlg | 1 +
...tlb-latexrelease-rollback-2021-11-15.luatex.tlg | 1 +
.../tlb-latexrelease-rollback-2021-11-15.tlg | 1 +
.../tlb-latexrelease-rollback-2021-11-15.xetex.tlg | 1 +
...tlb-latexrelease-rollback-2022-06-01.luatex.tlg | 1 +
.../tlb-latexrelease-rollback-2022-06-01.tlg | 1 +
.../tlb-latexrelease-rollback-2022-06-01.xetex.tlg | 1 +
...tlb-latexrelease-rollback-2022-11-01.luatex.tlg | 1 +
.../tlb-latexrelease-rollback-2022-11-01.tlg | 1 +
.../tlb-latexrelease-rollback-2022-11-01.xetex.tlg | 1 +
base/testfiles/tlb-rollback-004-often.luatex.tlg | 1 +
base/testfiles/tlb-rollback-004-often.tlg | 1 +
base/testfiles/tlb-rollback-004-often.xetex.tlg | 1 +
base/testfiles/tlb-rollback-005.luatex.tlg | 1 +
base/testfiles/tlb-rollback-005.tlg | 1 +
base/testfiles/tlb-rollback-005.xetex.tlg | 1 +
base/testfiles/tlb3492.tlg | 6 +--
30 files changed, 76 insertions(+), 13 deletions(-)
diff --git a/base/ltfloat.dtx b/base/ltfloat.dtx
index cce733e8..d85720d2 100644
--- a/base/ltfloat.dtx
+++ b/base/ltfloat.dtx
@@ -1368,7 +1368,7 @@
\def\@textsuperscript#1{%
\leavevmode
% \end{macrocode}
-% Store the script data in a box, even though we do not directly
+% Store the script data in a box. Even though we do not directly
% use math we have to ensure that NFSS has set up the math fonts
% for the current size by calling \cs{check at mathfonts}, otherwise
% \cs{sf at size} may not be defined.
@@ -1380,7 +1380,7 @@
% \frac{1}{4} \texttt{xheight} - \textrm{depth of box},
% \verb/sup_2/ )
% \]
-% see \TeX{}book apendix G. The variables are available as
+% see \TeX{}book appendix G. The variables are available as
% \cs{math at supdrop@dim}, \cs{math at xheight@dim}, and \cs{math at supii@dim}. Thus
% \begin{macrocode}
\math at tempa@dim \ht\math at fake@box
@@ -1463,12 +1463,49 @@
% \begin{macrocode}
%</2ekernel>
%<*2ekernel|latexrelease>
-%<latexrelease>\IncludeInRelease{2020/10/01}%
-%<latexrelease> {\@textsubscript}{subscript baseline}%
+%<latexrelease>\IncludeInRelease{2023/06/01}%
+%<latexrelease> {\@textsubscrip}{avoid fake math in textsubscript}%
\def\@textsubscript#1{%
- {\m at th\ensuremath{_{\mbox{\fontsize\sf at size\sf at size#1}}}}}
+ \leavevmode
+% \end{macrocode}
+% Store the script data in a box. Even though we do not directly
+% use math we have to ensure that NFSS has set up the math fonts
+% for the current size by calling \cs{check at mathfonts}, otherwise
+% \cs{sf at size} may not be defined.
+% \begin{macrocode}
+ \setbox\math at fake@box\hbox{\check at mathfonts\fontsize\sf at size\sf at size#1\kern\scriptspace}%
+% \end{macrocode}
+% Now we have to lower that box by
+% Now we have to raise this box by
+% \[ \max( \textrm{dep of box} + \frac{4}{5} \texttt{xheight},
+% \verb/sub_drop/,
+% \verb/sub_1/ )
+% \]
+% see \TeX{}book appendix G. The maximum of
+% \verb/sub_drop/ and \verb/sub_1/ has been calulated earlier. We
+% have to be careful how to do the calculation to avoid rounding
+% errors, e.g.,
+% using \verb/.8\math at xheight@dim/ gives a difference of 1sp
+% (sometimes), so we do it exactly as \TeX{} does it in §757:
+% \begin{macrocode}
+ \math at tempa@dim \dimexpr \ht\math at fake@box - 4\math at xheight@dim/5 \relax
+ \lower
+ \ifdim \math at tempa@dim < \math at subi@or at subrop@dim
+ \math at subi@or at subrop@dim
+ \else
+ \math at tempa@dim
+ \fi
+ \box\math at fake@box
+}
%</2ekernel|latexrelease>
%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{2020/10/01}%
+%<latexrelease> {\@textsubscript}{subscript baseline}%
+%<latexrelease>
+%<latexrelease>\def\@textsubscript#1{%
+%<latexrelease> {\m at th\ensuremath{_{\mbox{\fontsize\sf at size\sf at size#1}}}}}
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
% \end{macrocode}
%
% \begin{macrocode}
diff --git a/base/testfiles-lthooks2/ltpara-001.tlg b/base/testfiles-lthooks2/ltpara-001.tlg
index 948afb9d..e79c13e6 100644
--- a/base/testfiles-lthooks2/ltpara-001.tlg
+++ b/base/testfiles-lthooks2/ltpara-001.tlg
@@ -364,10 +364,9 @@ Completed box being shipped out [1]
....\OT1/cmr/m/n/10 t
....\penalty 10000
....\hbox(8.14003+0.0)x4.48613
-.....\mathon
.....\hbox(4.51111+0.0)x4.48613, shifted -3.62892
......\OT1/cmr/m/n/7 1
-.....\mathoff
+......\kern 0.5
....\glue 3.33333 plus 1.66666 minus 1.11111
....\OT1/cmr/m/n/10 m
....\OT1/cmr/m/n/10 o
@@ -2850,10 +2849,9 @@ Completed box being shipped out [1]
....\hbox(6.68999+0.0)x15.30023, glue set 11.13362fil
.....\glue 0.0 plus 1.0fil minus 1.0fil
.....\hbox(6.68999+0.0)x4.16661
-......\mathon
......\hbox(3.86665+0.0)x4.16661, shifted -2.82333
.......\OT1/cmr/m/n/6 1
-......\mathoff
+.......\kern 0.5
....\hbox(6.65+0.0)x0.0
.....\rule(6.65+0.0)x0.0
....\OT1/cmr/m/n/8 t
diff --git a/base/testfiles/github-0479-often.luatex.tlg b/base/testfiles/github-0479-often.luatex.tlg
index 1893c746..97e6c562 100644
--- a/base/testfiles/github-0479-often.luatex.tlg
+++ b/base/testfiles/github-0479-often.luatex.tlg
@@ -556,6 +556,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/github-0479-often.tlg b/base/testfiles/github-0479-often.tlg
index 5eafbc2a..9783474a 100644
--- a/base/testfiles/github-0479-often.tlg
+++ b/base/testfiles/github-0479-often.tlg
@@ -545,6 +545,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/github-0479-often.xetex.tlg b/base/testfiles/github-0479-often.xetex.tlg
index 86d1cd54..453592fa 100644
--- a/base/testfiles/github-0479-often.xetex.tlg
+++ b/base/testfiles/github-0479-often.xetex.tlg
@@ -546,6 +546,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 641896d9..aae8801c 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.luatex.tlg
@@ -473,6 +473,7 @@ Skipping: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] superscript baseline on input line ....
Skipping: [....-..-..] \textsubscript on input line ....
Applying: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
@@ -1151,6 +1152,7 @@ Skipping: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
index afb0ae16..d9768a78 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.tlg
@@ -467,6 +467,7 @@ Skipping: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] superscript baseline on input line ....
Skipping: [....-..-..] \textsubscript on input line ....
Applying: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
@@ -1135,6 +1136,7 @@ Skipping: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 cffe1c17..82fd5323 100644
--- a/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-003-often.xetex.tlg
@@ -467,6 +467,7 @@ Skipping: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] superscript baseline on input line ....
Skipping: [....-..-..] \textsubscript on input line ....
Applying: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
@@ -1144,6 +1145,7 @@ Skipping: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 df21602f..f4143adf 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.luatex.tlg
@@ -556,6 +556,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 0c0f00ad..df4fa7c5 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.tlg
@@ -545,6 +545,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 da37cd21..ed6001dd 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2020-10-01.xetex.tlg
@@ -546,6 +546,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 e5598d7a..11678f29 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.luatex.tlg
@@ -557,6 +557,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 697dbab7..6c8dd9d5 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.tlg
@@ -545,6 +545,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 488a1eac..c8a18b6a 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-06-01.xetex.tlg
@@ -546,6 +546,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 045c6170..dd68ed36 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.luatex.tlg
@@ -557,6 +557,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 52023e57..f5612452 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.tlg
@@ -545,6 +545,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 88f91d75..52995e27 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2021-11-15.xetex.tlg
@@ -546,6 +546,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 4124d5fd..54445cff 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.luatex.tlg
@@ -557,6 +557,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 dc17be37..af121bca 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.tlg
@@ -545,6 +545,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 e6c92dc2..59bbdf8e 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-06-01.xetex.tlg
@@ -546,6 +546,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 efcfe41b..5bbcefdf 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.luatex.tlg
@@ -557,6 +557,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 71460225..5fd6d40b 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.tlg
@@ -545,6 +545,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline 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 98751deb..86cf30cb 100644
--- a/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
+++ b/base/testfiles/tlb-latexrelease-rollback-2022-11-01.xetex.tlg
@@ -546,6 +546,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.luatex.tlg b/base/testfiles/tlb-rollback-004-often.luatex.tlg
index bb0afba3..d9124b3f 100644
--- a/base/testfiles/tlb-rollback-004-often.luatex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.luatex.tlg
@@ -551,6 +551,7 @@ Applying: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.tlg b/base/testfiles/tlb-rollback-004-often.tlg
index 55b2cd90..d2c22641 100644
--- a/base/testfiles/tlb-rollback-004-often.tlg
+++ b/base/testfiles/tlb-rollback-004-often.tlg
@@ -539,6 +539,7 @@ Applying: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/tlb-rollback-004-often.xetex.tlg b/base/testfiles/tlb-rollback-004-often.xetex.tlg
index e2401bfd..8a0c76d4 100644
--- a/base/testfiles/tlb-rollback-004-often.xetex.tlg
+++ b/base/testfiles/tlb-rollback-004-often.xetex.tlg
@@ -540,6 +540,7 @@ Applying: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Skipping: [....-..-..] subscript baseline on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/tlb-rollback-005.luatex.tlg b/base/testfiles/tlb-rollback-005.luatex.tlg
index dafeb477..41967be8 100644
--- a/base/testfiles/tlb-rollback-005.luatex.tlg
+++ b/base/testfiles/tlb-rollback-005.luatex.tlg
@@ -560,6 +560,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/tlb-rollback-005.tlg b/base/testfiles/tlb-rollback-005.tlg
index 21c04850..ccb0c8d6 100644
--- a/base/testfiles/tlb-rollback-005.tlg
+++ b/base/testfiles/tlb-rollback-005.tlg
@@ -549,6 +549,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/tlb-rollback-005.xetex.tlg b/base/testfiles/tlb-rollback-005.xetex.tlg
index 790d8f79..8a1b9f56 100644
--- a/base/testfiles/tlb-rollback-005.xetex.tlg
+++ b/base/testfiles/tlb-rollback-005.xetex.tlg
@@ -550,6 +550,7 @@ Already applied: [....-..-..] superscript baseline on input line ....
Applying: [....-..-..] \textsubscript on input line ....
LaTeX Info: Redefining \textsubscript on input line ....
Already applied: [....-..-..] \textsubscript on input line ....
+Skipping: [....-..-..] avoid fake math in textsubscript on input line ....
Applying: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
Already applied: [....-..-..] subscript baseline on input line ....
diff --git a/base/testfiles/tlb3492.tlg b/base/testfiles/tlb3492.tlg
index f88dffa6..ccca26e8 100644
--- a/base/testfiles/tlb3492.tlg
+++ b/base/testfiles/tlb3492.tlg
@@ -21,10 +21,9 @@ Completed box being shipped out [1]
...\hbox(8.14003+1.49998)x345.0, glue set 316.02773fil
....\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
+.....\kern 0.5
....\hbox(4.51111+0.0)x4.48613, shifted -3.62892
.....\OT1/cmr/m/n/7 2
.....\kern 0.5
@@ -40,10 +39,9 @@ Completed box being shipped out [1]
....\hbox(4.78334+0.0)x6.40282, shifted -3.62892
.....\OT1/cmr/m/n/7 A
.....\kern 0.5
-....\mathon
....\hbox(4.78334+0.0)x6.0903, shifted 1.49998
.....\OT1/cmr/m/n/7 B
-....\mathoff
+.....\kern 0.5
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
More information about the latex3-commits
mailing list.