[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Gh716 (#774) (66e4cd46)

GitHub noreply at github.com
Mon Feb 14 22:35:18 CET 2022


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

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

commit 66e4cd46376eaba11923c4e656607ac66032ee50
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Feb 14 22:35:18 2022 +0100

    Gh716 (#774)
    
    * adding a ßrelax for #716
    
    * make \shoveleft and \shoveright robust along the way (long term goal #123)
    
    * Update base/doc/ltnews35.tex
    
    Co-authored-by: muzimuzhi <muzimuzhi at gmail.com>
    
    Co-authored-by: muzimuzhi <muzimuzhi at gmail.com>


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

66e4cd46376eaba11923c4e656607ac66032ee50
 base/doc/ltnews35.tex                              |  10 +-
 required/amsmath/amsmath.dtx                       |  25 ++-
 required/amsmath/changes.txt                       |   6 +
 .../testfiles/github-amsmath-0716.luatex.tlg       | 227 +++++++++++++++++++++
 required/amsmath/testfiles/github-amsmath-0716.lvt |  28 +++
 required/amsmath/testfiles/github-amsmath-0716.tlg | 222 ++++++++++++++++++++
 .../testfiles/github-amsrobust-0123.luatex.tlg     |   4 +-
 .../amsmath/testfiles/github-amsrobust-0123.tlg    |   4 +-
 8 files changed, 512 insertions(+), 14 deletions(-)

diff --git a/base/doc/ltnews35.tex b/base/doc/ltnews35.tex
index d4daf171..b871990a 100644
--- a/base/doc/ltnews35.tex
+++ b/base/doc/ltnews35.tex
@@ -528,9 +528,15 @@ after loading the package.
 %
 \githubissue{734}
 
-\subsection{???}
+\subsection{\pkg{amsmath} Error in \cs{shoveleft}}
+
+If \cs{shoveleft} started out with the words \enquote{plus} or
+\enquote{minus} it was misunderstood as part of a rubber length and
+led either to an error or was swallowed without trace.  By adding a
+\cs{relax} this errornous scanning into the argument of \cs{shoveleft}
+is now prevented.
 %
-\githubissue{???}
+\githubissue{714}
 
 
 \section{Changes to packages in the \pkg{graphics} category}
diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx
index d810e921..52509f95 100644
--- a/required/amsmath/amsmath.dtx
+++ b/required/amsmath/amsmath.dtx
@@ -86,7 +86,7 @@ Bug reports can be opened (category \texttt{#1}) at\\%
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\ProvidesPackage{amsmath}[2021/10/15 v2.17l AMS math features]
+\ProvidesPackage{amsmath}[2022/02/03 v2.17m AMS math features]
 %    \end{macrocode}
 %
 % \section{Catcode defenses}
@@ -6130,15 +6130,16 @@ Cannot use `split' here;\MessageBreak trying to recover with `aligned'}%
 %    in his \fn{amstex.doc} Spivak indicates those commands should never
 %    be used on a first or last line. Perhaps better to leave the
 %    question open unless/until real-life examples turn up.
+% \changes{v2.17m}{2022/02/03}{Make \cs{shoveright} robust (if def is not trival)}
 %    \begin{macrocode}
 \iftagsleft@
-    \def\shoveright#1{%
+    \protected\def\shoveright#1{%
         #1%
         \hfilneg
         \hskip\multlinegap
     }
 \else
-    \def\shoveright#1{%
+    \protected\def\shoveright#1{%
         #1%
         \hfilneg
         \iftag@
@@ -6153,12 +6154,14 @@ Cannot use `split' here;\MessageBreak trying to recover with `aligned'}%
         \fi
     }
 \fi
-
+%    \end{macrocode}
+% \changes{v2.17m}{2022/02/03}{Make \cs{shoveleft} robust (if def is not trival)}
+%    \begin{macrocode}
 \if at fleqn
     \def\shoveleft#1{#1}%
 \else
     \iftagsleft@
-        \def\shoveleft#1{%
+        \protected\def\shoveleft#1{%
             \setboxz at h{$\m at th\displaystyle{}#1$}%
             \setbox\@ne\hbox{$\m at th\displaystyle#1$}%
             \hfilneg
@@ -6173,17 +6176,23 @@ Cannot use `split' here;\MessageBreak trying to recover with `aligned'}%
                 \hskip\multlinegap
             \fi
             \hskip.5\wd\@ne
-            \hskip-.5\wdz@
+%    \end{macrocode}
+% \changes{v2.17m}{2022/02/03}{Added missing \cs{relax} for (gh/716)}
+%    \begin{macrocode}
+            \hskip-.5\wdz@ \relax
             #1%
         }
     \else
-        \def\shoveleft#1{%
+        \protected\def\shoveleft#1{%
             \setboxz at h{$\m at th\displaystyle{}#1$}%
             \setbox\@ne\hbox{$\m at th\displaystyle#1$}%
             \hfilneg
             \hskip\multlinegap
             \hskip.5\wd\@ne
-            \hskip-.5\wdz@
+%    \end{macrocode}
+% \changes{v2.17m}{2022/02/03}{Added missing \cs{relax} for (gh/716)}
+%    \begin{macrocode}
+            \hskip-.5\wdz@ \relax
             #1%
         }
     \fi
diff --git a/required/amsmath/changes.txt b/required/amsmath/changes.txt
index 7c5723b8..95e291d7 100644
--- a/required/amsmath/changes.txt
+++ b/required/amsmath/changes.txt
@@ -1,3 +1,9 @@
+2022-02-03  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* amsmath.dtx (subsection{The \env{multline} environment}):
+	Added missing \relax for (gh/716)
+	Also make \shoveleft and \shoveright robust (part of gh/123)
+
 2022-01-20  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* amsopn.dtx:
diff --git a/required/amsmath/testfiles/github-amsmath-0716.luatex.tlg b/required/amsmath/testfiles/github-amsmath-0716.luatex.tlg
new file mode 100644
index 00000000..70512214
--- /dev/null
+++ b/required/amsmath/testfiles/github-amsmath-0716.luatex.tlg
@@ -0,0 +1,227 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0, direction TLT
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT
+...\glue 0.0 plus 1.0fil
+...\hbox(0.0+0.0)x345.0, direction TLT
+....\hbox(0.0+0.0)x345.0, direction TLT
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 459.95087fil, direction TLT
+...\write-{}
+...\glue(\topskip) 10.0
+...\hbox(0.0+0.0)x345.0, glue set 330.0fil, direction TLT
+....\localpar
+.....\localinterlinepenalty=0
+.....\localbrokenpenalty=0
+.....\localleftbox=null
+.....\localrightbox=null
+....\hbox(0.0+0.0)x15.0, direction TLT
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty 10000
+...\glue(\abovedisplayskip) 10.0 plus 2.0 minus 5.0
+...\penalty 10000
+...\glue(\baselineskip) 6.60004
+...\hbox(8.39996+3.60004)x345.0, direction TLT
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x345.0, direction TLT
+.....\hbox(8.39996+3.60004)x345.0, glue set 279.35349fil, direction TLT
+......\glue 0.0 plus 1.0fil
+......\hbox(8.39996+3.60004)x0.0, direction TLT
+.......\vbox(8.39996+3.60004)x0.0, direction TLT
+........\kern0.0
+........\hbox(8.39996+3.60004)x0.0, direction TLT
+.........\rule(8.39996+3.60004)x0.0
+......\mathon
+......\hbox(0.0+0.0)x0.0, direction TLT
+......\glue 0.0 plus -1.0fil
+......\glue 10.0
+......\OML/cmm/m/it/10 A
+......\OML/cmm/m/it/10 B
+......\kern0.50172 (italic)
+......\OML/cmm/m/it/10 C
+......\kern0.71527 (italic)
+......\OML/cmm/m/it/10 D
+......\kern0.27779 (italic)
+......\OML/cmm/m/it/10 E
+......\kern0.57637 (italic)
+......\OML/cmm/m/it/10 F
+......\kern1.3889 (italic)
+......\OML/cmm/m/it/10 G
+......\mathoff
+......\glue 0.0 plus 1.0fil
+....\glue(\tabskip) 0.0
+...\penalty 10000
+...\glue 0.0
+...\glue(\baselineskip) 3.0
+...\hbox(8.39996+3.60004)x345.0, direction TLT
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x345.0, direction TLT
+.....\hbox(8.39996+3.60004)x345.0, glue set 209.2818fil, direction TLT
+......\glue 0.0 plus 1.0fil
+......\hbox(8.39996+3.60004)x0.0, direction TLT
+.......\vbox(8.39996+3.60004)x0.0, direction TLT
+........\kern0.0
+........\hbox(8.39996+3.60004)x0.0, direction TLT
+.........\rule(8.39996+3.60004)x0.0
+......\mathon
+......\hbox(0.0+0.0)x0.0, direction TLT
+......\glue 0.0 plus -1.0fil
+......\glue 10.0
+......\glue 62.8591
+......\glue -62.8591
+......\OML/cmm/m/it/10 p
+......\OML/cmm/m/it/10 l
+......\kern0.19678 (italic)
+......\OML/cmm/m/it/10 u
+......\OML/cmm/m/it/10 s
+......\OT1/cmr/m/n/10 5
+......\OML/cmm/m/it/10 c
+......\OML/cmm/m/it/10 m
+......\OML/cmm/m/it/10 m
+......\OML/cmm/m/it/10 i
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 u
+......\OML/cmm/m/it/10 s
+......\OT1/cmr/m/n/10 2
+......\OML/cmm/m/it/10 i
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 s
+......\OML/cmm/m/it/10 w
+......\kern0.26909 (italic)
+......\OML/cmm/m/it/10 a
+......\OML/cmm/m/it/10 l
+......\kern0.19678 (italic)
+......\OML/cmm/m/it/10 l
+......\kern0.19678 (italic)
+......\OML/cmm/m/it/10 o
+......\OML/cmm/m/it/10 w
+......\kern0.26909 (italic)
+......\OML/cmm/m/it/10 e
+......\OML/cmm/m/it/10 d
+......\mathoff
+......\glue 0.0 plus 1.0fil
+....\glue(\tabskip) 0.0
+...\penalty 10000
+...\glue 0.0
+...\glue(\baselineskip) 3.0
+...\hbox(8.39996+3.60004)x345.0, direction TLT
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x345.0, direction TLT
+.....\hbox(8.39996+3.60004)x345.0, glue set 144.36502fil, direction TLT
+......\glue 0.0 plus 1.0fil
+......\hbox(8.39996+3.60004)x0.0, direction TLT
+.......\vbox(8.39996+3.60004)x0.0, direction TLT
+........\kern0.0
+........\hbox(8.39996+3.60004)x0.0, direction TLT
+.........\rule(8.39996+3.60004)x0.0
+......\mathon
+......\hbox(0.0+0.0)x0.0, direction TLT
+......\glue 0.0 plus -1.0fil
+......\glue 10.0
+......\glue 95.31749
+......\glue -95.31749
+......\OML/cmm/m/it/10 p
+......\OML/cmm/m/it/10 l
+......\kern0.19678 (italic)
+......\OML/cmm/m/it/10 u
+......\OML/cmm/m/it/10 s
+......\OT1/cmr/m/n/10 5
+......\OML/cmm/m/it/10 c
+......\OML/cmm/m/it/10 m
+......\OML/cmm/m/it/10 m
+......\OML/cmm/m/it/10 i
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 u
+......\OML/cmm/m/it/10 s
+......\OT1/cmr/m/n/10 2
+......\OML/cmm/m/it/10 i
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 e
+......\OML/cmm/m/it/10 x
+......\OML/cmm/m/it/10 p
+......\OML/cmm/m/it/10 a
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 d
+......\OML/cmm/m/it/10 e
+......\OML/cmm/m/it/10 d
+......\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+......\OML/cmm/m/it/10 a
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 d
+......\glue(\spaceskip) 3.33333 plus 1.66666 minus 1.11111
+......\OML/cmm/m/it/10 s
+......\OML/cmm/m/it/10 w
+......\kern0.26909 (italic)
+......\OML/cmm/m/it/10 a
+......\OML/cmm/m/it/10 l
+......\kern0.19678 (italic)
+......\OML/cmm/m/it/10 l
+......\kern0.19678 (italic)
+......\OML/cmm/m/it/10 o
+......\OML/cmm/m/it/10 w
+......\kern0.26909 (italic)
+......\OML/cmm/m/it/10 e
+......\OML/cmm/m/it/10 d
+......\mathoff
+......\glue 0.0 plus 1.0fil
+....\glue(\tabskip) 0.0
+...\penalty 10000
+...\glue 0.0
+...\glue(\baselineskip) 3.0
+...\hbox(8.39996+3.60004)x345.0, direction TLT
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x345.0, direction TLT
+.....\hbox(8.39996+3.60004)x345.0, glue set 253.24245fil, direction TLT
+......\glue 0.0 plus 1.0fil
+......\hbox(8.39996+3.60004)x0.0, direction TLT
+.......\vbox(8.39996+3.60004)x0.0, direction TLT
+........\kern0.0
+........\hbox(8.39996+3.60004)x0.0, direction TLT
+.........\rule(8.39996+3.60004)x0.0
+......\mathon
+......\hbox(0.0+0.0)x0.0, direction TLT
+......\glue(\thickmuskip) 2.77771 plus 2.77771
+......\OT1/cmr/m/n/10 =
+......\glue(\thickmuskip) 2.77771 plus 2.77771
+......\OML/cmm/m/it/10 A
+......\OML/cmm/m/it/10 B
+......\kern0.50172 (italic)
+......\OML/cmm/m/it/10 C
+......\kern0.71527 (italic)
+......\OML/cmm/m/it/10 D
+......\kern0.27779 (italic)
+......\OML/cmm/m/it/10 E
+......\kern0.57637 (italic)
+......\OML/cmm/m/it/10 F
+......\kern1.3889 (italic)
+......\OML/cmm/m/it/10 G
+......\mathoff
+......\glue 10.0
+......\hbox(7.5+2.5)x12.77782, direction TLT
+.......\OT1/cmr/m/n/10 (
+.......\OT1/cmr/m/n/10 1
+.......\kern0.0 (italic)
+.......\OT1/cmr/m/n/10 )
+......\glue 0.0 plus -1.0fil
+......\glue 0.0 plus 1.0fil
+....\glue(\tabskip) 0.0
+...\penalty 10000
+...\glue 0.0
+...\penalty 0
+...\glue(\belowdisplayskip) 10.0 plus 2.0 minus 5.0
+...\glue -3.60004
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\glue(\baselineskip) 23.55556
+..\hbox(6.44444+0.0)x345.0, direction TLT
+...\hbox(6.44444+0.0)x345.0, glue set 170.0fil, direction TLT
+....\glue 0.0 plus 1.0fil
+....\OT1/cmr/m/n/10 1
+....\glue 0.0 plus 1.0fil
diff --git a/required/amsmath/testfiles/github-amsmath-0716.lvt b/required/amsmath/testfiles/github-amsmath-0716.lvt
new file mode 100644
index 00000000..13c21c09
--- /dev/null
+++ b/required/amsmath/testfiles/github-amsmath-0716.lvt
@@ -0,0 +1,28 @@
+% test for git #716
+
+\documentclass{article}
+
+
+\usepackage{amsmath}
+
+\input{test2e}
+
+\newcommand*\extrastuff{plus 5cm minus 2in }
+
+\showoutput
+
+\begin{document}
+
+\START
+
+\begin{multline}
+ABCDEFG\\
+\shoveleft{plus 5cm minus 2in swallowed}\\
+\shoveleft{\extrastuff expanded\ and\ swallowed}\\
+=ABCDEFG
+\end{multline}
+
+\newpage
+\OMIT
+\end{document}
+
diff --git a/required/amsmath/testfiles/github-amsmath-0716.tlg b/required/amsmath/testfiles/github-amsmath-0716.tlg
new file mode 100644
index 00000000..6af93574
--- /dev/null
+++ b/required/amsmath/testfiles/github-amsmath-0716.tlg
@@ -0,0 +1,222 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil
+...\glue 0.0 plus 1.0fil
+...\hbox(0.0+0.0)x345.0
+....\hbox(0.0+0.0)x345.0
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 459.95087fil
+...\write-{}
+...\glue(\topskip) 10.0
+...\hbox(0.0+0.0)x345.0, glue set 330.0fil
+....\hbox(0.0+0.0)x15.0
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\penalty 10000
+...\glue(\abovedisplayskip) 10.0 plus 2.0 minus 5.0
+...\penalty 10000
+...\glue(\baselineskip) 6.60004
+...\hbox(8.39996+3.60004)x345.0, display
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x345.0
+.....\hbox(8.39996+3.60004)x345.0, glue set 279.35349fil
+......\glue 0.0 plus 1.0fil
+......\hbox(8.39996+3.60004)x0.0
+.......\vbox(8.39996+3.60004)x0.0
+........\kern 0.0
+........\hbox(8.39996+3.60004)x0.0
+.........\rule(8.39996+3.60004)x0.0
+......\mathon
+......\hbox(0.0+0.0)x0.0
+......\glue 0.0 plus -1.0fil
+......\glue 10.0
+......\OML/cmm/m/it/10 A
+......\OML/cmm/m/it/10 B
+......\kern0.50172
+......\OML/cmm/m/it/10 C
+......\kern0.71527
+......\OML/cmm/m/it/10 D
+......\kern0.27779
+......\OML/cmm/m/it/10 E
+......\kern0.57637
+......\OML/cmm/m/it/10 F
+......\kern1.3889
+......\OML/cmm/m/it/10 G
+......\mathoff
+......\glue 0.0 plus 1.0fil
+....\glue(\tabskip) 0.0
+...\penalty 10000
+...\glue 0.0
+...\glue(\baselineskip) 3.0
+...\hbox(8.39996+3.60004)x345.0, display
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x345.0
+.....\hbox(8.39996+3.60004)x345.0, glue set 209.2818fil
+......\glue 0.0 plus 1.0fil
+......\hbox(8.39996+3.60004)x0.0
+.......\vbox(8.39996+3.60004)x0.0
+........\kern 0.0
+........\hbox(8.39996+3.60004)x0.0
+.........\rule(8.39996+3.60004)x0.0
+......\mathon
+......\hbox(0.0+0.0)x0.0
+......\glue 0.0 plus -1.0fil
+......\glue 10.0
+......\glue 62.8591
+......\glue -62.8591
+......\OML/cmm/m/it/10 p
+......\OML/cmm/m/it/10 l
+......\kern0.19678
+......\OML/cmm/m/it/10 u
+......\OML/cmm/m/it/10 s
+......\OT1/cmr/m/n/10 5
+......\OML/cmm/m/it/10 c
+......\OML/cmm/m/it/10 m
+......\OML/cmm/m/it/10 m
+......\OML/cmm/m/it/10 i
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 u
+......\OML/cmm/m/it/10 s
+......\OT1/cmr/m/n/10 2
+......\OML/cmm/m/it/10 i
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 s
+......\OML/cmm/m/it/10 w
+......\kern0.26909
+......\OML/cmm/m/it/10 a
+......\OML/cmm/m/it/10 l
+......\kern0.19678
+......\OML/cmm/m/it/10 l
+......\kern0.19678
+......\OML/cmm/m/it/10 o
+......\OML/cmm/m/it/10 w
+......\kern0.26909
+......\OML/cmm/m/it/10 e
+......\OML/cmm/m/it/10 d
+......\mathoff
+......\glue 0.0 plus 1.0fil
+....\glue(\tabskip) 0.0
+...\penalty 10000
+...\glue 0.0
+...\glue(\baselineskip) 3.0
+...\hbox(8.39996+3.60004)x345.0, display
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x345.0
+.....\hbox(8.39996+3.60004)x345.0, glue set 144.36502fil
+......\glue 0.0 plus 1.0fil
+......\hbox(8.39996+3.60004)x0.0
+.......\vbox(8.39996+3.60004)x0.0
+........\kern 0.0
+........\hbox(8.39996+3.60004)x0.0
+.........\rule(8.39996+3.60004)x0.0
+......\mathon
+......\hbox(0.0+0.0)x0.0
+......\glue 0.0 plus -1.0fil
+......\glue 10.0
+......\glue 95.31749
+......\glue -95.31749
+......\OML/cmm/m/it/10 p
+......\OML/cmm/m/it/10 l
+......\kern0.19678
+......\OML/cmm/m/it/10 u
+......\OML/cmm/m/it/10 s
+......\OT1/cmr/m/n/10 5
+......\OML/cmm/m/it/10 c
+......\OML/cmm/m/it/10 m
+......\OML/cmm/m/it/10 m
+......\OML/cmm/m/it/10 i
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 u
+......\OML/cmm/m/it/10 s
+......\OT1/cmr/m/n/10 2
+......\OML/cmm/m/it/10 i
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 e
+......\OML/cmm/m/it/10 x
+......\OML/cmm/m/it/10 p
+......\OML/cmm/m/it/10 a
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 d
+......\OML/cmm/m/it/10 e
+......\OML/cmm/m/it/10 d
+......\glue 3.33333 plus 1.66666 minus 1.11111
+......\OML/cmm/m/it/10 a
+......\OML/cmm/m/it/10 n
+......\OML/cmm/m/it/10 d
+......\glue 3.33333 plus 1.66666 minus 1.11111
+......\OML/cmm/m/it/10 s
+......\OML/cmm/m/it/10 w
+......\kern0.26909
+......\OML/cmm/m/it/10 a
+......\OML/cmm/m/it/10 l
+......\kern0.19678
+......\OML/cmm/m/it/10 l
+......\kern0.19678
+......\OML/cmm/m/it/10 o
+......\OML/cmm/m/it/10 w
+......\kern0.26909
+......\OML/cmm/m/it/10 e
+......\OML/cmm/m/it/10 d
+......\mathoff
+......\glue 0.0 plus 1.0fil
+....\glue(\tabskip) 0.0
+...\penalty 10000
+...\glue 0.0
+...\glue(\baselineskip) 3.0
+...\hbox(8.39996+3.60004)x345.0, display
+....\glue(\tabskip) 0.0
+....\hbox(8.39996+3.60004)x345.0
+.....\hbox(8.39996+3.60004)x345.0, glue set 253.24245fil
+......\glue 0.0 plus 1.0fil
+......\hbox(8.39996+3.60004)x0.0
+.......\vbox(8.39996+3.60004)x0.0
+........\kern 0.0
+........\hbox(8.39996+3.60004)x0.0
+.........\rule(8.39996+3.60004)x0.0
+......\mathon
+......\hbox(0.0+0.0)x0.0
+......\glue(\thickmuskip) 2.77771 plus 2.77771
+......\OT1/cmr/m/n/10 =
+......\glue(\thickmuskip) 2.77771 plus 2.77771
+......\OML/cmm/m/it/10 A
+......\OML/cmm/m/it/10 B
+......\kern0.50172
+......\OML/cmm/m/it/10 C
+......\kern0.71527
+......\OML/cmm/m/it/10 D
+......\kern0.27779
+......\OML/cmm/m/it/10 E
+......\kern0.57637
+......\OML/cmm/m/it/10 F
+......\kern1.3889
+......\OML/cmm/m/it/10 G
+......\mathoff
+......\glue 10.0
+......\hbox(7.5+2.5)x12.77782
+.......\OT1/cmr/m/n/10 (
+.......\OT1/cmr/m/n/10 1
+.......\kern 0.0
+.......\OT1/cmr/m/n/10 )
+......\glue 0.0 plus -1.0fil
+......\glue 0.0 plus 1.0fil
+....\glue(\tabskip) 0.0
+...\penalty 10000
+...\glue 0.0
+...\penalty 0
+...\glue(\belowdisplayskip) 10.0 plus 2.0 minus 5.0
+...\glue -3.60004
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\glue(\baselineskip) 23.55556
+..\hbox(6.44444+0.0)x345.0
+...\hbox(6.44444+0.0)x345.0, glue set 170.0fil
+....\glue 0.0 plus 1.0fil
+....\OT1/cmr/m/n/10 1
+....\glue 0.0 plus 1.0fil
diff --git a/required/amsmath/testfiles/github-amsrobust-0123.luatex.tlg b/required/amsmath/testfiles/github-amsrobust-0123.luatex.tlg
index 4f382f60..5151cef5 100644
--- a/required/amsmath/testfiles/github-amsrobust-0123.luatex.tlg
+++ b/required/amsmath/testfiles/github-amsrobust-0123.luatex.tlg
@@ -680,9 +680,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \setcounter -> \GenericError {               }{LaTeX Error: No counter 'foo' defined}{See the LaTeX manual or LaTeX Companion for explanation.}{Your command was ignored.\MessageBreak Type  I <command> <return>  to replace it with another command,\MessageBreak or  <return>  to continue without it.}{baz}
 ---------------------------------------
-\shoveleft -> \setbox \z@ \hbox {$\mathsurround \z@ \displaystyle {}foo$}\setbox \@ne \hbox {$\mathsurround \z@ \displaystyle foo$}\hfilneg \hskip \multlinegap \hskip .5\wd \@ne \hskip -.5\wd \z@ foo{bar}{baz}
+\shoveleft -> \shoveleft {foo}{bar}{baz}
 ---------------------------------------
-\shoveright -> foo\hfilneg \hskip \multlinegap {bar}{baz}
+\shoveright -> \shoveright {foo}{bar}{baz}
 ---------------------------------------
 \sideset -> \setbox \z@ \hbox {\mathsurround \z@ $\displaystyle baz$}\global \setbox \@ne \vbox to\ht \z@ {}\dp \@ne \dp \z@ \setbox \tw@ \box \@ne \setbox 4\hbox {\mathsurround \z@ $\displaystyle \copy \tw@ foo$}\setbox 6\hbox {\mathsurround \z@ $\displaystyle baz\nolimits bar$}\dimen@ -\wd 6 \advance \dimen@ \wd 4 \advance \dimen@ \wd \z@ \hbox to\dimen@ {}\mathop {\kern -\dimen@ \box 4\box 6}
 ---------------------------------------
diff --git a/required/amsmath/testfiles/github-amsrobust-0123.tlg b/required/amsmath/testfiles/github-amsrobust-0123.tlg
index 4f382f60..5151cef5 100644
--- a/required/amsmath/testfiles/github-amsrobust-0123.tlg
+++ b/required/amsmath/testfiles/github-amsrobust-0123.tlg
@@ -680,9 +680,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \setcounter -> \GenericError {               }{LaTeX Error: No counter 'foo' defined}{See the LaTeX manual or LaTeX Companion for explanation.}{Your command was ignored.\MessageBreak Type  I <command> <return>  to replace it with another command,\MessageBreak or  <return>  to continue without it.}{baz}
 ---------------------------------------
-\shoveleft -> \setbox \z@ \hbox {$\mathsurround \z@ \displaystyle {}foo$}\setbox \@ne \hbox {$\mathsurround \z@ \displaystyle foo$}\hfilneg \hskip \multlinegap \hskip .5\wd \@ne \hskip -.5\wd \z@ foo{bar}{baz}
+\shoveleft -> \shoveleft {foo}{bar}{baz}
 ---------------------------------------
-\shoveright -> foo\hfilneg \hskip \multlinegap {bar}{baz}
+\shoveright -> \shoveright {foo}{bar}{baz}
 ---------------------------------------
 \sideset -> \setbox \z@ \hbox {\mathsurround \z@ $\displaystyle baz$}\global \setbox \@ne \vbox to\ht \z@ {}\dp \@ne \dp \z@ \setbox \tw@ \box \@ne \setbox 4\hbox {\mathsurround \z@ $\displaystyle \copy \tw@ foo$}\setbox 6\hbox {\mathsurround \z@ $\displaystyle baz\nolimits bar$}\dimen@ -\wd 6 \advance \dimen@ \wd 4 \advance \dimen@ \wd \z@ \hbox to\dimen@ {}\mathop {\kern -\dimen@ \box 4\box 6}
 ---------------------------------------





More information about the latex3-commits mailing list.