[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Normalize shift of null delimiters in LuaTeX tests (b71b253a)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed May 5 17:18:23 CEST 2021


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

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

commit b71b253a5757aed872de0dba64b7da260f87ea6c
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Wed May 5 15:10:45 2021 +0200

    Normalize shift of null delimiters in LuaTeX tests


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

b71b253a5757aed872de0dba64b7da260f87ea6c
 base/testfiles/github-0049.luatex.tlg  | 12 ++++-----
 base/testfiles/github-0049b.luatex.tlg | 12 ++++-----
 base/testfiles/github-0251.luatex.tlg  | 16 ++++++------
 base/testfiles/tlb0438.luatex.tlg      | 48 +++++++++++++++++-----------------
 build-config.lua                       |  2 +-
 support/fixup_mathaxis.lua             | 14 ++++++++++
 support/regression-test.tex            |  3 +++
 support/test2e.tex                     |  1 +
 8 files changed, 63 insertions(+), 45 deletions(-)

diff --git a/base/testfiles/github-0049.luatex.tlg b/base/testfiles/github-0049.luatex.tlg
index 2f5540f2..6b4aa67b 100644
--- a/base/testfiles/github-0049.luatex.tlg
+++ b/base/testfiles/github-0049.luatex.tlg
@@ -796,7 +796,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/5 ^^@
 ......\vbox(8.5+0.0)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\kern0.0
 ....\penalty 10000
@@ -858,7 +858,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/5 ^^@
 ......\vbox(8.5+0.0)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 A
 ....\glue(\spaceskip) 3.33333 plus 1.66498 minus 1.11221
@@ -891,7 +891,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/5 ^^A
 ......\vbox(8.5+0.0)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
 ....\OT1/cmr/m/n/10 i
@@ -951,7 +951,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/5 ^^@
 ......\vbox(8.5+0.0)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OML/cmm/m/it/10 a
 ....\hbox(8.50005+3.50006)x4.58336, direction TLT
@@ -960,7 +960,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/5 ^^A
 ......\vbox(8.5+0.0)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\glue(\thickmuskip) 2.77771 plus 2.77771
 ....\OMS/cmsy/m/n/10 6
@@ -1010,7 +1010,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/5 ^^A
 ......\vbox(8.5+0.0)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\kern0.0
diff --git a/base/testfiles/github-0049b.luatex.tlg b/base/testfiles/github-0049b.luatex.tlg
index 9204e395..028ccb61 100644
--- a/base/testfiles/github-0049b.luatex.tlg
+++ b/base/testfiles/github-0049b.luatex.tlg
@@ -796,7 +796,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^@
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\kern0.0
 ....\penalty 10000
@@ -858,7 +858,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^@
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 A
 ....\glue(\spaceskip) 3.33333 plus 1.66498 minus 1.11221
@@ -891,7 +891,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^A
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
 ....\OT1/cmr/m/n/10 i
@@ -951,7 +951,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^@
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OML/cmm/m/it/10 a
 ....\hbox(8.50005+3.50006)x4.58336, direction TLT
@@ -960,7 +960,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^A
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\glue(\thickmuskip) 2.77771 plus 2.77771
 ....\OMS/cmsy/m/n/10 6
@@ -1010,7 +1010,7 @@ ne \ETC.}
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^A
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\kern0.0
diff --git a/base/testfiles/github-0251.luatex.tlg b/base/testfiles/github-0251.luatex.tlg
index 73d7b738..9dbc65aa 100644
--- a/base/testfiles/github-0251.luatex.tlg
+++ b/base/testfiles/github-0251.luatex.tlg
@@ -14,7 +14,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ...\hbox(0.39998+11.60013)x5.83336, shifted -8.10007, direction TLT
 ....\OMX/cmex/m/n/5 ^^H
 ...\vbox(8.5+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
+...\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 ..\mathoff
 .\OML/cmm/m/it/10 a
 .\hbox(8.50005+3.50006)x5.83336, direction TLT
@@ -23,7 +23,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ...\hbox(0.39998+11.60013)x5.83336, shifted -8.10007, direction TLT
 ....\OMX/cmex/m/n/5 ^^I
 ...\vbox(8.5+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
+...\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 ..\mathoff
 .\hbox(14.5001+9.50012)x5.83336, direction TLT
 ..\mathon
@@ -31,7 +31,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ...\hbox(0.39998+23.60025)x5.83336, shifted -14.10013, direction TLT
 ....\OMX/cmex/m/n/5 ^^V
 ...\vbox(14.5+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
+...\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 ..\mathoff
 .\OML/cmm/m/it/10 b
 .\hbox(14.5001+9.50012)x5.83336, direction TLT
@@ -40,7 +40,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ...\hbox(0.39998+23.60025)x5.83336, shifted -14.10013, direction TLT
 ....\OMX/cmex/m/n/5 ^^W
 ...\vbox(14.5+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
+...\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 ..\mathoff
 .\mathoff
 .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
@@ -51,7 +51,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ...\hbox(0.39998+11.60013)x5.83336, shifted -8.10007, direction TLT
 ....\OMX/cmex/m/n/5 ^^H
 ...\vbox(8.5+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
+...\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 ..\mathoff
 .\OML/cmm/m/it/10 a
 .\hbox(8.50005+3.50006)x5.83336, direction TLT
@@ -60,7 +60,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ...\hbox(0.39998+11.60013)x5.83336, shifted -8.10007, direction TLT
 ....\OMX/cmex/m/n/5 ^^I
 ...\vbox(8.5+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
+...\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 ..\mathoff
 .\hbox(14.5001+9.50012)x5.83336, direction TLT
 ..\mathon
@@ -68,7 +68,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ...\hbox(0.39998+23.60025)x5.83336, shifted -14.10013, direction TLT
 ....\OMX/cmex/m/n/5 ^^V
 ...\vbox(14.5+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
+...\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 ..\mathoff
 .\OML/cmm/m/it/10 b
 .\hbox(14.5001+9.50012)x5.83336, direction TLT
@@ -77,7 +77,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ...\hbox(0.39998+23.60025)x5.83336, shifted -14.10013, direction TLT
 ....\OMX/cmex/m/n/5 ^^W
 ...\vbox(14.5+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
+...\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 ..\mathoff
 .\mathoff
 .\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
diff --git a/base/testfiles/tlb0438.luatex.tlg b/base/testfiles/tlb0438.luatex.tlg
index dbc345c0..ade6e507 100644
--- a/base/testfiles/tlb0438.luatex.tlg
+++ b/base/testfiles/tlb0438.luatex.tlg
@@ -65,7 +65,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^@
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 1
 ....\OT1/cmr/m/n/10 2
@@ -76,7 +76,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^A
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
@@ -87,7 +87,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+17.60019)x5.97223, shifted -11.1001, direction TLT
 .......\OMX/cmex/m/n/10 ^^P
 ......\vbox(11.49998+6.49997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 1
 ....\OT1/cmr/m/n/10 2
@@ -98,7 +98,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+17.60019)x5.97223, shifted -11.1001, direction TLT
 .......\OMX/cmex/m/n/10 ^^Q
 ......\vbox(11.49998+6.49997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
@@ -109,7 +109,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+23.60025)x7.36115, shifted -14.10013, direction TLT
 .......\OMX/cmex/m/n/10 ^^R
 ......\vbox(14.49997+9.49997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 1
 ....\OT1/cmr/m/n/10 2
@@ -120,7 +120,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+23.60025)x7.36115, shifted -14.10013, direction TLT
 .......\OMX/cmex/m/n/10 ^^S
 ......\vbox(14.49997+9.49997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
@@ -131,7 +131,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+29.60031)x7.91669, shifted -17.10016, direction TLT
 .......\OMX/cmex/m/n/10  
 ......\vbox(17.49997+12.49995)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 1
 ....\OT1/cmr/m/n/10 2
@@ -142,7 +142,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+29.60031)x7.91669, shifted -17.10016, direction TLT
 .......\OMX/cmex/m/n/10 !
 ......\vbox(17.49997+12.49995)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\kern0.0
@@ -176,7 +176,7 @@ Completed box being shipped out [1]
 ......\hbox(0.47998+13.92015)x5.50003, shifted -9.72008, direction TLT
 .......\OMX/cmex/m/n/12 ^^@
 ......\vbox(10.19998+4.19998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -3.0, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/12 1
 ....\OT1/cmr/m/n/12 2
@@ -187,7 +187,7 @@ Completed box being shipped out [1]
 ......\hbox(0.47998+13.92015)x5.50003, shifted -9.72008, direction TLT
 .......\OMX/cmex/m/n/12 ^^A
 ......\vbox(10.19998+4.19998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -3.0, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.91663 plus 1.95831 minus 1.30554
@@ -198,7 +198,7 @@ Completed box being shipped out [1]
 ......\hbox(0.47998+21.12022)x7.16669, shifted -13.32011, direction TLT
 .......\OMX/cmex/m/n/12 ^^P
 ......\vbox(13.79997+7.79997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -3.0, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/12 1
 ....\OT1/cmr/m/n/12 2
@@ -209,7 +209,7 @@ Completed box being shipped out [1]
 ......\hbox(0.47998+21.12022)x7.16669, shifted -13.32011, direction TLT
 .......\OMX/cmex/m/n/12 ^^Q
 ......\vbox(13.79997+7.79997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -3.0, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.91663 plus 1.95831 minus 1.30554
@@ -220,7 +220,7 @@ Completed box being shipped out [1]
 ......\hbox(0.47998+28.3203)x8.83337, shifted -16.92015, direction TLT
 .......\OMX/cmex/m/n/12 ^^R
 ......\vbox(17.39996+11.39996)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -3.0, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/12 1
 ....\OT1/cmr/m/n/12 2
@@ -231,7 +231,7 @@ Completed box being shipped out [1]
 ......\hbox(0.47998+28.3203)x8.83337, shifted -16.92015, direction TLT
 .......\OMX/cmex/m/n/12 ^^S
 ......\vbox(17.39996+11.39996)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -3.0, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.91663 plus 1.95831 minus 1.30554
@@ -242,7 +242,7 @@ Completed box being shipped out [1]
 ......\hbox(0.47998+35.52037)x9.50003, shifted -20.52019, direction TLT
 .......\OMX/cmex/m/n/12  
 ......\vbox(20.99995+14.99995)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -3.0, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/12 1
 ....\OT1/cmr/m/n/12 2
@@ -253,7 +253,7 @@ Completed box being shipped out [1]
 ......\hbox(0.47998+35.52037)x9.50003, shifted -20.52019, direction TLT
 .......\OMX/cmex/m/n/12 !
 ......\vbox(20.99995+14.99995)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -3.0, direction TLT
 .....\mathoff
 ....\mathoff
 ....\kern0.0
@@ -287,7 +287,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^@
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 1
 ....\OT1/cmr/m/n/10 2
@@ -298,7 +298,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+11.60013)x4.58336, shifted -8.10007, direction TLT
 .......\OMX/cmex/m/n/10 ^^A
 ......\vbox(8.49998+3.49998)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
@@ -309,7 +309,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+17.60019)x5.97223, shifted -11.1001, direction TLT
 .......\OMX/cmex/m/n/10 ^^P
 ......\vbox(11.49998+6.49997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 1
 ....\OT1/cmr/m/n/10 2
@@ -320,7 +320,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+17.60019)x5.97223, shifted -11.1001, direction TLT
 .......\OMX/cmex/m/n/10 ^^Q
 ......\vbox(11.49998+6.49997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
@@ -331,7 +331,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+23.60025)x7.36115, shifted -14.10013, direction TLT
 .......\OMX/cmex/m/n/10 ^^R
 ......\vbox(14.49997+9.49997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 1
 ....\OT1/cmr/m/n/10 2
@@ -342,7 +342,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+23.60025)x7.36115, shifted -14.10013, direction TLT
 .......\OMX/cmex/m/n/10 ^^S
 ......\vbox(14.49997+9.49997)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
@@ -353,7 +353,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+29.60031)x7.91669, shifted -17.10016, direction TLT
 .......\OMX/cmex/m/n/10  
 ......\vbox(17.49997+12.49995)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\OT1/cmr/m/n/10 1
 ....\OT1/cmr/m/n/10 2
@@ -364,7 +364,7 @@ Completed box being shipped out [1]
 ......\hbox(0.39998+29.60031)x7.91669, shifted -17.10016, direction TLT
 .......\OMX/cmex/m/n/10 !
 ......\vbox(17.49997+12.49995)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
+......\hbox(0.0+0.0)x0.0, shifted -2.5, direction TLT
 .....\mathoff
 ....\mathoff
 ....\kern0.0
diff --git a/build-config.lua b/build-config.lua
index 9a7dce37..a87528d5 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -38,7 +38,7 @@ checksuppfiles = checksuppfiles     or
     "lualibs*.lua", 
     "fontloader*.lua",
     "luaotfload*.lua",
-    "luaotfloat.sty"
+    "fixup_mathaxis.lua",
   }
 stdengine      = stdengine          or "etex"
 tagfiles       = tagfiles or {"*.dtx","*.ins","*.tex","README.md"}
diff --git a/support/fixup_mathaxis.lua b/support/fixup_mathaxis.lua
new file mode 100644
index 00000000..97e13ff6
--- /dev/null
+++ b/support/fixup_mathaxis.lua
@@ -0,0 +1,14 @@
+local hlist_id = node.id'hlist'
+local vlist_id = node.id'vlist'
+local function recurse(h)
+  for n, id, sub in node.traverse(h) do
+    if id == hlist_id or id == vlist_id then
+      if sub == 13 and (not n.head) and n.shift == 0 then
+        n.shift = -tex.getmath("axis", "text")
+      end
+      recurse(n.head)
+    end
+  end
+  return true
+end
+luatexbase.add_to_callback('post_mlist_to_hlist_filter', recurse, 'l3build.shift')
diff --git a/support/regression-test.tex b/support/regression-test.tex
index eae274e0..09164b6b 100644
--- a/support/regression-test.tex
+++ b/support/regression-test.tex
@@ -174,6 +174,9 @@
       >>
   }
 \fi
+\ifx\directlua\@undefined\else
+  \directlua{require'fixup_mathaxis'}%
+\fi
 \reset at catcodes
 %% 
 %%
diff --git a/support/test2e.tex b/support/test2e.tex
index 72a751ce..0f705457 100644
--- a/support/test2e.tex
+++ b/support/test2e.tex
@@ -277,6 +277,7 @@ else
 end
 }
 %\fi
+\directlua{require'fixup_mathaxis'}%
 \fi
 
 % Load the map file early so it does not appear in the log.





More information about the latex3-commits mailing list.