[latex3-commits] [git/LaTeX3-latex3-latex2e] robust-ams: more robustness ... (479d37cc)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Apr 7 22:44:55 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : robust-ams
Link       : https://github.com/latex3/latex2e/commit/479d37cc177f59b4b89787e403f978c3935f8970

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

commit 479d37cc177f59b4b89787e403f978c3935f8970
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Apr 7 22:44:55 2022 +0200

    more robustness ...


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

479d37cc177f59b4b89787e403f978c3935f8970
 required/amsmath/amsmath.dtx                       |  6 +-
 required/amsmath/amsopn.dtx                        | 68 ++++++++++----------
 .../testfiles/github-amsrobust-0123.luatex.tlg     | 72 +++++++++++-----------
 .../amsmath/testfiles/github-amsrobust-0123.tlg    | 72 +++++++++++-----------
 required/amsmath/testfiles/tlb-amsmath-load.tlg    |  3 +
 required/amsmath/testfiles/tlb-utex-001.tlg        |  3 +
 6 files changed, 115 insertions(+), 109 deletions(-)

diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx
index 5a21e12c..858c355c 100644
--- a/required/amsmath/amsmath.dtx
+++ b/required/amsmath/amsmath.dtx
@@ -981,7 +981,7 @@ Foreign command \@backslashchar#1;\MessageBreak
 %    character by itself is treated as a \cs{mathrel} i.e. large, equal
 %    spacing on both sides.
 %    \begin{macrocode}
-\renewcommand{\colon}{\nobreak\mskip2mu\mathpunct{}\nonscript
+\DeclareRobustCommand{\colon}{\nobreak\mskip2mu\mathpunct{}\nonscript
   \mkern-\thinmuskip{:}\mskip6muplus1mu\relax}
 %    \end{macrocode}
 %    \end{macro}
@@ -2248,8 +2248,8 @@ Foreign command \@backslashchar#1;\MessageBreak
 %    \begin{macro}{\relbar}
 %    \begin{macro}{\Relbar}
 %    \begin{macrocode}
-\ams at def\relbar{\mathrel{\mathpalette\mathsm at sh\std at minus}}
-\ams at def\Relbar{\mathrel\std at equal}
+\ams at DeclareRobustCommand\relbar{\mathrel{\mathpalette\mathsm at sh\std at minus}}
+\ams at DeclareRobustCommand\Relbar{\mathrel\std at equal}
 %    \end{macrocode}
 %    \end{macro}
 %    \end{macro}
diff --git a/required/amsmath/amsopn.dtx b/required/amsmath/amsopn.dtx
index dd713594..a3f1767d 100644
--- a/required/amsmath/amsopn.dtx
+++ b/required/amsmath/amsopn.dtx
@@ -152,40 +152,40 @@ Bug reports can be opened (category \texttt{#1}) at\\%
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\def\arccos{\qopname\relax o{arccos}}
-\def\arcsin{\qopname\relax o{arcsin}}
-\def\arctan{\qopname\relax o{arctan}}
-\def\arg{\qopname\relax o{arg}}
-\def\cos{\qopname\relax o{cos}}
-\def\cosh{\qopname\relax o{cosh}}
-\def\cot{\qopname\relax o{cot}}
-\def\coth{\qopname\relax o{coth}}
-\def\csc{\qopname\relax o{csc}}
-\def\deg{\qopname\relax o{deg}}
-\def\det{\qopname\relax m{det}}
-\def\dim{\qopname\relax o{dim}}
-\def\exp{\qopname\relax o{exp}}
-\def\gcd{\qopname\relax m{gcd}}
-\def\hom{\qopname\relax o{hom}}
-\def\inf{\qopname\relax m{inf}}
-\def\injlim{\qopname\relax m{inj\,lim}}
-\def\ker{\qopname\relax o{ker}}
-\def\lg{\qopname\relax o{lg}}
-\def\lim{\qopname\relax m{lim}}
-\def\liminf{\qopname\relax m{lim\,inf}}
-\def\limsup{\qopname\relax m{lim\,sup}}
-\def\ln{\qopname\relax o{ln}}
-\def\log{\qopname\relax o{log}}
-\def\max{\qopname\relax m{max}}
-\def\min{\qopname\relax m{min}}
-\def\Pr{\qopname\relax m{Pr}}
-\def\projlim{\qopname\relax m{proj\,lim}}
-\def\sec{\qopname\relax o{sec}}
-\def\sin{\qopname\relax o{sin}}
-\def\sinh{\qopname\relax o{sinh}}
-\def\sup{\qopname\relax m{sup}}
-\def\tan{\qopname\relax o{tan}}
-\def\tanh{\qopname\relax o{tanh}}
+\protected\def\arccos{\qopname\relax o{arccos}}
+\protected\def\arcsin{\qopname\relax o{arcsin}}
+\protected\def\arctan{\qopname\relax o{arctan}}
+\protected\def\arg{\qopname\relax o{arg}}
+\protected\def\cos{\qopname\relax o{cos}}
+\protected\def\cosh{\qopname\relax o{cosh}}
+\protected\def\cot{\qopname\relax o{cot}}
+\protected\def\coth{\qopname\relax o{coth}}
+\protected\def\csc{\qopname\relax o{csc}}
+\protected\def\deg{\qopname\relax o{deg}}
+\protected\def\det{\qopname\relax m{det}}
+\protected\def\dim{\qopname\relax o{dim}}
+\protected\def\exp{\qopname\relax o{exp}}
+\protected\def\gcd{\qopname\relax m{gcd}}
+\protected\def\hom{\qopname\relax o{hom}}
+\protected\def\inf{\qopname\relax m{inf}}
+\protected\def\injlim{\qopname\relax m{inj\,lim}}
+\protected\def\ker{\qopname\relax o{ker}}
+\protected\def\lg{\qopname\relax o{lg}}
+\protected\def\lim{\qopname\relax m{lim}}
+\protected\def\liminf{\qopname\relax m{lim\,inf}}
+\protected\def\limsup{\qopname\relax m{lim\,sup}}
+\protected\def\ln{\qopname\relax o{ln}}
+\protected\def\log{\qopname\relax o{log}}
+\protected\def\max{\qopname\relax m{max}}
+\protected\def\min{\qopname\relax m{min}}
+\protected\def\Pr{\qopname\relax m{Pr}}
+\protected\def\projlim{\qopname\relax m{proj\,lim}}
+\protected\def\sec{\qopname\relax o{sec}}
+\protected\def\sin{\qopname\relax o{sin}}
+\protected\def\sinh{\qopname\relax o{sinh}}
+\protected\def\sup{\qopname\relax m{sup}}
+\protected\def\tan{\qopname\relax o{tan}}
+\protected\def\tanh{\qopname\relax o{tanh}}
 %    \end{macrocode}
 %
 % \begin{macro}{\operator at font}
diff --git a/required/amsmath/testfiles/github-amsrobust-0123.luatex.tlg b/required/amsmath/testfiles/github-amsrobust-0123.luatex.tlg
index 40012430..73395218 100644
--- a/required/amsmath/testfiles/github-amsrobust-0123.luatex.tlg
+++ b/required/amsmath/testfiles/github-amsrobust-0123.luatex.tlg
@@ -82,9 +82,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \ProcessOptions -> \GenericError {               }{LaTeX Error: Can be used only in preamble}{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.}{foo}{bar}{baz}
 ---------------------------------------
-\Pr -> \qopname \relax m{Pr}{foo}{bar}{baz}
+\Pr -> \Pr {foo}{bar}{baz}
 ---------------------------------------
-\Relbar -> \mathrel \std at equal {foo}{bar}{baz}
+\Relbar -> \Relbar {foo}{bar}{baz}
 ---------------------------------------
 \RequirePackage -> \GenericError {               }{LaTeX Error: Can be used only in preamble}{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.}{foo}{bar}{baz}
 ---------------------------------------
@@ -122,13 +122,13 @@ Don't change this file in any respect.
 ---------------------------------------
 \arabic{page} -> 1{foo}{bar}{baz}
 ---------------------------------------
-\arccos -> \qopname \relax o{arccos}{foo}{bar}{baz}
+\arccos -> \arccos {foo}{bar}{baz}
 ---------------------------------------
-\arcsin -> \qopname \relax o{arcsin}{foo}{bar}{baz}
+\arcsin -> \arcsin {foo}{bar}{baz}
 ---------------------------------------
-\arctan -> \qopname \relax o{arctan}{foo}{bar}{baz}
+\arctan -> \arctan {foo}{bar}{baz}
 ---------------------------------------
-\arg -> \qopname \relax o{arg}{foo}{bar}{baz}
+\arg -> \arg {foo}{bar}{baz}
 ---------------------------------------
 \arraycolsep -> \arraycolsep {foo}{bar}{baz}
 ---------------------------------------
@@ -204,7 +204,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \cleaders -> \cleaders {foo}{bar}{baz}
 ---------------------------------------
-\colon -> \nobreak \mskip 2mu\mathpunct {}\nonscript \mkern -\thinmuskip {:}\mskip 6muplus1mu\relax {foo}{bar}{baz}
+\colon -> \colon {foo}{bar}{baz}
 ---------------------------------------
 \columnwidth -> \columnwidth {foo}{bar}{baz}
 ---------------------------------------
@@ -212,19 +212,19 @@ Don't change this file in any respect.
 ---------------------------------------
 \copy -> \copy {foo}{bar}{baz}
 ---------------------------------------
-\cosh -> \qopname \relax o{cosh}{foo}{bar}{baz}
+\cosh -> \cosh {foo}{bar}{baz}
 ---------------------------------------
-\cos -> \qopname \relax o{cos}{foo}{bar}{baz}
+\cos -> \cos {foo}{bar}{baz}
 ---------------------------------------
-\coth -> \qopname \relax o{coth}{foo}{bar}{baz}
+\coth -> \coth {foo}{bar}{baz}
 ---------------------------------------
-\cot -> \qopname \relax o{cot}{foo}{bar}{baz}
+\cot -> \cot {foo}{bar}{baz}
 ---------------------------------------
 \crcr -> \crcr {foo}{bar}{baz}
 ---------------------------------------
 \cr -> \cr {foo}{bar}{baz}
 ---------------------------------------
-\csc -> \qopname \relax o{csc}{foo}{bar}{baz}
+\csc -> \csc {foo}{bar}{baz}
 ---------------------------------------
 \dbinom -> \dbinom {foo}{bar}{baz}
 ---------------------------------------
@@ -236,7 +236,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \def -> \def {foo}{bar}{baz}
 ---------------------------------------
-\deg -> \qopname \relax o{deg}{foo}{bar}{baz}
+\deg -> \deg {foo}{bar}{baz}
 ---------------------------------------
 \delimiterfactor -> \delimiterfactor {foo}{bar}{baz}
 ---------------------------------------
@@ -244,11 +244,11 @@ Don't change this file in any respect.
 ---------------------------------------
 \delimiter -> \delimiter {foo}{bar}{baz}
 ---------------------------------------
-\det -> \qopname \relax m{det}{foo}{bar}{baz}
+\det -> \det {foo}{bar}{baz}
 ---------------------------------------
 \dfrac -> \dfrac {foo}{bar}{baz}
 ---------------------------------------
-\dim -> \qopname \relax o{dim}{foo}{bar}{baz}
+\dim -> \dim {foo}{bar}{baz}
 ---------------------------------------
 \displayindent -> \displayindent {foo}{bar}{baz}
 ---------------------------------------
@@ -296,7 +296,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \expandafter -> {foo}{bar}{baz}
 ---------------------------------------
-\exp -> \qopname \relax o{exp}{foo}{bar}{baz}
+\exp -> \exp {foo}{bar}{baz}
 ---------------------------------------
 \fbox -> \fbox {foo}{bar}{baz}
 ---------------------------------------
@@ -314,7 +314,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \futurelet -> \futurelet {foo}{bar}{baz}
 ---------------------------------------
-\gcd -> \qopname \relax m{gcd}{foo}{bar}{baz}
+\gcd -> \gcd {foo}{bar}{baz}
 ---------------------------------------
 \gdef -> \gdef {foo}{bar}{baz}
 ---------------------------------------
@@ -340,7 +340,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \hfuzz -> \hfuzz {foo}{bar}{baz}
 ---------------------------------------
-\hom -> \qopname \relax o{hom}{foo}{bar}{baz}
+\hom -> \hom {foo}{bar}{baz}
 ---------------------------------------
 \hookleftarrow -> \DOTSB \leftarrow \joinrel \rhook {foo}{bar}{baz}
 ---------------------------------------
@@ -370,9 +370,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \implies -> \DOTSB \tmspace +\thickmuskip {.2777em}\DOTSB \Relbar\joinrel\Rightarrow \tmspace +\thickmuskip {.2777em}{foo}{bar}{baz}
 ---------------------------------------
-\inf -> \qopname \relax m{inf}{foo}{bar}{baz}
+\inf -> \inf {foo}{bar}{baz}
 ---------------------------------------
-\injlim -> \qopname \relax m{inj\,lim}{foo}{bar}{baz}
+\injlim -> \injlim {foo}{bar}{baz}
 ---------------------------------------
 \interdisplaylinepenalty -> \interdisplaylinepenalty {foo}{bar}{baz}
 ---------------------------------------
@@ -388,7 +388,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \kern -> \kern {foo}{bar}{baz}
 ---------------------------------------
-\ker -> \qopname \relax o{ker}{foo}{bar}{baz}
+\ker -> \ker {foo}{bar}{baz}
 ---------------------------------------
 \lVert -> \lVert {foo}{bar}{baz}
 ---------------------------------------
@@ -414,15 +414,15 @@ Don't change this file in any respect.
 ---------------------------------------
 \let -> \let {foo}{bar}{baz}
 ---------------------------------------
-\lg -> \qopname \relax o{lg}{foo}{bar}{baz}
+\lg -> \lg {foo}{bar}{baz}
 ---------------------------------------
 \lhook -> \lhook {foo}{bar}{baz}
 ---------------------------------------
-\liminf -> \qopname \relax m{lim\,inf}{foo}{bar}{baz}
+\liminf -> \liminf {foo}{bar}{baz}
 ---------------------------------------
 \limits -> \limits {foo}{bar}{baz}
 ---------------------------------------
-\lim -> \qopname \relax m{lim}{foo}{bar}{baz}
+\lim -> \lim {foo}{bar}{baz}
 ---------------------------------------
 \lineskiplimit -> \lineskiplimit {foo}{bar}{baz}
 ---------------------------------------
@@ -432,9 +432,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \llap -> \llap {foo}{bar}{baz}
 ---------------------------------------
-\ln -> \qopname \relax o{ln}{foo}{bar}{baz}
+\ln -> \ln {foo}{bar}{baz}
 ---------------------------------------
-\log -> \qopname \relax o{log}{foo}{bar}{baz}
+\log -> \log {foo}{bar}{baz}
 ---------------------------------------
 \longleftarrow -> \DOTSB \leftarrow \joinrel\relbar{foo}{bar}{baz}
 ---------------------------------------
@@ -500,7 +500,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \maxdimen -> \maxdimen {foo}{bar}{baz}
 ---------------------------------------
-\max -> \qopname \relax m{max}{foo}{bar}{baz}
+\max -> \max {foo}{bar}{baz}
 ---------------------------------------
 \mbox -> \mbox {foo}{bar}{baz}
 ---------------------------------------
@@ -512,7 +512,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \mintagsep -> .5\fontdimen 6\textfont \tw@ {foo}{bar}{baz}
 ---------------------------------------
-\min -> \qopname \relax m{min}{foo}{bar}{baz}
+\min -> \min {foo}{bar}{baz}
 ---------------------------------------
 \mkern -> \mkern {foo}{bar}{baz}
 ---------------------------------------
@@ -616,7 +616,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \prod -> \DOTSB \prod@ \slimits@ {foo}{bar}{baz}
 ---------------------------------------
-\projlim -> \qopname \relax m{proj\,lim}{foo}{bar}{baz}
+\projlim -> \projlim {foo}{bar}{baz}
 ---------------------------------------
 \qopname -> \qopname {foo}{bar}{baz}
 ---------------------------------------
@@ -640,7 +640,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \relax -> \relax {foo}{bar}{baz}
 ---------------------------------------
-\relbar -> \mathrel {\mathchoice {\setbox \z@ \hbox {$\mathsurround \z@ \displaystyle {\std at minus }$}\ht \z@ \z@ \dp \z@ \z@ \leavevmode at ifvmode \box \z@ }{\setbox \z@ \hbox {$\mathsurround \z@ \textstyle {\std at minus }$}\ht \z@ \z@ \dp \z@ \z@ \leavevmode at ifvmode \box \z@ }{\setbox \z@ \hbox {$\mathsurround \z@ \scriptstyle {\std at minus }$}\ht \z@ \z@ \dp \z@ \z@ \leavevmode at ifvmode \box \z@ }{\setbox \z@ \hbox {$\mathsurround \z@ \scriptscriptstyle {\std at minus }$}\ht \z@ \z@ \dp \z@ \z@ \leavevmode at ifvmode \box \z@ }}{foo}{bar}{baz}
+\relbar -> \relbar {foo}{bar}{baz}
 ---------------------------------------
 \rfloor -> \rfloor {foo}{bar}{baz}
 ---------------------------------------
@@ -672,7 +672,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \scriptstyle -> \scriptstyle {foo}{bar}{baz}
 ---------------------------------------
-\sec -> \qopname \relax o{sec}{foo}{bar}{baz}
+\sec -> \sec {foo}{bar}{baz}
 ---------------------------------------
 \selectfont -> \selectfont {foo}{bar}{baz}
 ---------------------------------------
@@ -688,9 +688,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \sim -> \sim {foo}{bar}{baz}
 ---------------------------------------
-\sinh -> \qopname \relax o{sinh}{foo}{bar}{baz}
+\sinh -> \sinh {foo}{bar}{baz}
 ---------------------------------------
-\sin -> \qopname \relax o{sin}{foo}{bar}{baz}
+\sin -> \sin {foo}{bar}{baz}
 ---------------------------------------
 \skewchar -> \skewchar {foo}{bar}{baz}
 ---------------------------------------
@@ -722,15 +722,15 @@ Don't change this file in any respect.
 ---------------------------------------
 \sum -> \DOTSB \sum@ \slimits@ {foo}{bar}{baz}
 ---------------------------------------
-\sup -> \qopname \relax m{sup}{foo}{bar}{baz}
+\sup -> \sup {foo}{bar}{baz}
 ---------------------------------------
 \symoperators -> \symoperators {foo}{bar}{baz}
 ---------------------------------------
 \tabskip -> \tabskip {foo}{bar}{baz}
 ---------------------------------------
-\tanh -> \qopname \relax o{tanh}{foo}{bar}{baz}
+\tanh -> \tanh {foo}{bar}{baz}
 ---------------------------------------
-\tan -> \qopname \relax o{tan}{foo}{bar}{baz}
+\tan -> \tan {foo}{bar}{baz}
 ---------------------------------------
 \tbinom -> \tbinom {foo}{bar}{baz}
 ---------------------------------------
diff --git a/required/amsmath/testfiles/github-amsrobust-0123.tlg b/required/amsmath/testfiles/github-amsrobust-0123.tlg
index 40012430..73395218 100644
--- a/required/amsmath/testfiles/github-amsrobust-0123.tlg
+++ b/required/amsmath/testfiles/github-amsrobust-0123.tlg
@@ -82,9 +82,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \ProcessOptions -> \GenericError {               }{LaTeX Error: Can be used only in preamble}{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.}{foo}{bar}{baz}
 ---------------------------------------
-\Pr -> \qopname \relax m{Pr}{foo}{bar}{baz}
+\Pr -> \Pr {foo}{bar}{baz}
 ---------------------------------------
-\Relbar -> \mathrel \std at equal {foo}{bar}{baz}
+\Relbar -> \Relbar {foo}{bar}{baz}
 ---------------------------------------
 \RequirePackage -> \GenericError {               }{LaTeX Error: Can be used only in preamble}{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.}{foo}{bar}{baz}
 ---------------------------------------
@@ -122,13 +122,13 @@ Don't change this file in any respect.
 ---------------------------------------
 \arabic{page} -> 1{foo}{bar}{baz}
 ---------------------------------------
-\arccos -> \qopname \relax o{arccos}{foo}{bar}{baz}
+\arccos -> \arccos {foo}{bar}{baz}
 ---------------------------------------
-\arcsin -> \qopname \relax o{arcsin}{foo}{bar}{baz}
+\arcsin -> \arcsin {foo}{bar}{baz}
 ---------------------------------------
-\arctan -> \qopname \relax o{arctan}{foo}{bar}{baz}
+\arctan -> \arctan {foo}{bar}{baz}
 ---------------------------------------
-\arg -> \qopname \relax o{arg}{foo}{bar}{baz}
+\arg -> \arg {foo}{bar}{baz}
 ---------------------------------------
 \arraycolsep -> \arraycolsep {foo}{bar}{baz}
 ---------------------------------------
@@ -204,7 +204,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \cleaders -> \cleaders {foo}{bar}{baz}
 ---------------------------------------
-\colon -> \nobreak \mskip 2mu\mathpunct {}\nonscript \mkern -\thinmuskip {:}\mskip 6muplus1mu\relax {foo}{bar}{baz}
+\colon -> \colon {foo}{bar}{baz}
 ---------------------------------------
 \columnwidth -> \columnwidth {foo}{bar}{baz}
 ---------------------------------------
@@ -212,19 +212,19 @@ Don't change this file in any respect.
 ---------------------------------------
 \copy -> \copy {foo}{bar}{baz}
 ---------------------------------------
-\cosh -> \qopname \relax o{cosh}{foo}{bar}{baz}
+\cosh -> \cosh {foo}{bar}{baz}
 ---------------------------------------
-\cos -> \qopname \relax o{cos}{foo}{bar}{baz}
+\cos -> \cos {foo}{bar}{baz}
 ---------------------------------------
-\coth -> \qopname \relax o{coth}{foo}{bar}{baz}
+\coth -> \coth {foo}{bar}{baz}
 ---------------------------------------
-\cot -> \qopname \relax o{cot}{foo}{bar}{baz}
+\cot -> \cot {foo}{bar}{baz}
 ---------------------------------------
 \crcr -> \crcr {foo}{bar}{baz}
 ---------------------------------------
 \cr -> \cr {foo}{bar}{baz}
 ---------------------------------------
-\csc -> \qopname \relax o{csc}{foo}{bar}{baz}
+\csc -> \csc {foo}{bar}{baz}
 ---------------------------------------
 \dbinom -> \dbinom {foo}{bar}{baz}
 ---------------------------------------
@@ -236,7 +236,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \def -> \def {foo}{bar}{baz}
 ---------------------------------------
-\deg -> \qopname \relax o{deg}{foo}{bar}{baz}
+\deg -> \deg {foo}{bar}{baz}
 ---------------------------------------
 \delimiterfactor -> \delimiterfactor {foo}{bar}{baz}
 ---------------------------------------
@@ -244,11 +244,11 @@ Don't change this file in any respect.
 ---------------------------------------
 \delimiter -> \delimiter {foo}{bar}{baz}
 ---------------------------------------
-\det -> \qopname \relax m{det}{foo}{bar}{baz}
+\det -> \det {foo}{bar}{baz}
 ---------------------------------------
 \dfrac -> \dfrac {foo}{bar}{baz}
 ---------------------------------------
-\dim -> \qopname \relax o{dim}{foo}{bar}{baz}
+\dim -> \dim {foo}{bar}{baz}
 ---------------------------------------
 \displayindent -> \displayindent {foo}{bar}{baz}
 ---------------------------------------
@@ -296,7 +296,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \expandafter -> {foo}{bar}{baz}
 ---------------------------------------
-\exp -> \qopname \relax o{exp}{foo}{bar}{baz}
+\exp -> \exp {foo}{bar}{baz}
 ---------------------------------------
 \fbox -> \fbox {foo}{bar}{baz}
 ---------------------------------------
@@ -314,7 +314,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \futurelet -> \futurelet {foo}{bar}{baz}
 ---------------------------------------
-\gcd -> \qopname \relax m{gcd}{foo}{bar}{baz}
+\gcd -> \gcd {foo}{bar}{baz}
 ---------------------------------------
 \gdef -> \gdef {foo}{bar}{baz}
 ---------------------------------------
@@ -340,7 +340,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \hfuzz -> \hfuzz {foo}{bar}{baz}
 ---------------------------------------
-\hom -> \qopname \relax o{hom}{foo}{bar}{baz}
+\hom -> \hom {foo}{bar}{baz}
 ---------------------------------------
 \hookleftarrow -> \DOTSB \leftarrow \joinrel \rhook {foo}{bar}{baz}
 ---------------------------------------
@@ -370,9 +370,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \implies -> \DOTSB \tmspace +\thickmuskip {.2777em}\DOTSB \Relbar\joinrel\Rightarrow \tmspace +\thickmuskip {.2777em}{foo}{bar}{baz}
 ---------------------------------------
-\inf -> \qopname \relax m{inf}{foo}{bar}{baz}
+\inf -> \inf {foo}{bar}{baz}
 ---------------------------------------
-\injlim -> \qopname \relax m{inj\,lim}{foo}{bar}{baz}
+\injlim -> \injlim {foo}{bar}{baz}
 ---------------------------------------
 \interdisplaylinepenalty -> \interdisplaylinepenalty {foo}{bar}{baz}
 ---------------------------------------
@@ -388,7 +388,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \kern -> \kern {foo}{bar}{baz}
 ---------------------------------------
-\ker -> \qopname \relax o{ker}{foo}{bar}{baz}
+\ker -> \ker {foo}{bar}{baz}
 ---------------------------------------
 \lVert -> \lVert {foo}{bar}{baz}
 ---------------------------------------
@@ -414,15 +414,15 @@ Don't change this file in any respect.
 ---------------------------------------
 \let -> \let {foo}{bar}{baz}
 ---------------------------------------
-\lg -> \qopname \relax o{lg}{foo}{bar}{baz}
+\lg -> \lg {foo}{bar}{baz}
 ---------------------------------------
 \lhook -> \lhook {foo}{bar}{baz}
 ---------------------------------------
-\liminf -> \qopname \relax m{lim\,inf}{foo}{bar}{baz}
+\liminf -> \liminf {foo}{bar}{baz}
 ---------------------------------------
 \limits -> \limits {foo}{bar}{baz}
 ---------------------------------------
-\lim -> \qopname \relax m{lim}{foo}{bar}{baz}
+\lim -> \lim {foo}{bar}{baz}
 ---------------------------------------
 \lineskiplimit -> \lineskiplimit {foo}{bar}{baz}
 ---------------------------------------
@@ -432,9 +432,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \llap -> \llap {foo}{bar}{baz}
 ---------------------------------------
-\ln -> \qopname \relax o{ln}{foo}{bar}{baz}
+\ln -> \ln {foo}{bar}{baz}
 ---------------------------------------
-\log -> \qopname \relax o{log}{foo}{bar}{baz}
+\log -> \log {foo}{bar}{baz}
 ---------------------------------------
 \longleftarrow -> \DOTSB \leftarrow \joinrel\relbar{foo}{bar}{baz}
 ---------------------------------------
@@ -500,7 +500,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \maxdimen -> \maxdimen {foo}{bar}{baz}
 ---------------------------------------
-\max -> \qopname \relax m{max}{foo}{bar}{baz}
+\max -> \max {foo}{bar}{baz}
 ---------------------------------------
 \mbox -> \mbox {foo}{bar}{baz}
 ---------------------------------------
@@ -512,7 +512,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \mintagsep -> .5\fontdimen 6\textfont \tw@ {foo}{bar}{baz}
 ---------------------------------------
-\min -> \qopname \relax m{min}{foo}{bar}{baz}
+\min -> \min {foo}{bar}{baz}
 ---------------------------------------
 \mkern -> \mkern {foo}{bar}{baz}
 ---------------------------------------
@@ -616,7 +616,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \prod -> \DOTSB \prod@ \slimits@ {foo}{bar}{baz}
 ---------------------------------------
-\projlim -> \qopname \relax m{proj\,lim}{foo}{bar}{baz}
+\projlim -> \projlim {foo}{bar}{baz}
 ---------------------------------------
 \qopname -> \qopname {foo}{bar}{baz}
 ---------------------------------------
@@ -640,7 +640,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \relax -> \relax {foo}{bar}{baz}
 ---------------------------------------
-\relbar -> \mathrel {\mathchoice {\setbox \z@ \hbox {$\mathsurround \z@ \displaystyle {\std at minus }$}\ht \z@ \z@ \dp \z@ \z@ \leavevmode at ifvmode \box \z@ }{\setbox \z@ \hbox {$\mathsurround \z@ \textstyle {\std at minus }$}\ht \z@ \z@ \dp \z@ \z@ \leavevmode at ifvmode \box \z@ }{\setbox \z@ \hbox {$\mathsurround \z@ \scriptstyle {\std at minus }$}\ht \z@ \z@ \dp \z@ \z@ \leavevmode at ifvmode \box \z@ }{\setbox \z@ \hbox {$\mathsurround \z@ \scriptscriptstyle {\std at minus }$}\ht \z@ \z@ \dp \z@ \z@ \leavevmode at ifvmode \box \z@ }}{foo}{bar}{baz}
+\relbar -> \relbar {foo}{bar}{baz}
 ---------------------------------------
 \rfloor -> \rfloor {foo}{bar}{baz}
 ---------------------------------------
@@ -672,7 +672,7 @@ Don't change this file in any respect.
 ---------------------------------------
 \scriptstyle -> \scriptstyle {foo}{bar}{baz}
 ---------------------------------------
-\sec -> \qopname \relax o{sec}{foo}{bar}{baz}
+\sec -> \sec {foo}{bar}{baz}
 ---------------------------------------
 \selectfont -> \selectfont {foo}{bar}{baz}
 ---------------------------------------
@@ -688,9 +688,9 @@ Don't change this file in any respect.
 ---------------------------------------
 \sim -> \sim {foo}{bar}{baz}
 ---------------------------------------
-\sinh -> \qopname \relax o{sinh}{foo}{bar}{baz}
+\sinh -> \sinh {foo}{bar}{baz}
 ---------------------------------------
-\sin -> \qopname \relax o{sin}{foo}{bar}{baz}
+\sin -> \sin {foo}{bar}{baz}
 ---------------------------------------
 \skewchar -> \skewchar {foo}{bar}{baz}
 ---------------------------------------
@@ -722,15 +722,15 @@ Don't change this file in any respect.
 ---------------------------------------
 \sum -> \DOTSB \sum@ \slimits@ {foo}{bar}{baz}
 ---------------------------------------
-\sup -> \qopname \relax m{sup}{foo}{bar}{baz}
+\sup -> \sup {foo}{bar}{baz}
 ---------------------------------------
 \symoperators -> \symoperators {foo}{bar}{baz}
 ---------------------------------------
 \tabskip -> \tabskip {foo}{bar}{baz}
 ---------------------------------------
-\tanh -> \qopname \relax o{tanh}{foo}{bar}{baz}
+\tanh -> \tanh {foo}{bar}{baz}
 ---------------------------------------
-\tan -> \qopname \relax o{tan}{foo}{bar}{baz}
+\tan -> \tan {foo}{bar}{baz}
 ---------------------------------------
 \tbinom -> \tbinom {foo}{bar}{baz}
 ---------------------------------------
diff --git a/required/amsmath/testfiles/tlb-amsmath-load.tlg b/required/amsmath/testfiles/tlb-amsmath-load.tlg
index 99eb147d..19f35e64 100644
--- a/required/amsmath/testfiles/tlb-amsmath-load.tlg
+++ b/required/amsmath/testfiles/tlb-amsmath-load.tlg
@@ -21,6 +21,7 @@ LaTeX Info: Redefining \frac on input line ....
 \uproot@=\count...
 \leftroot@=\count...
 LaTeX Info: Redefining \overline on input line ....
+LaTeX Info: Redefining \colon on input line ....
 \classnum@=\count...
 \DOTSCASE@=\count...
 LaTeX Info: Redefining \ldots on input line ....
@@ -38,6 +39,8 @@ LaTeX Font Info:    Redeclaring font encoding OMS on input line ....
 \macc at depth=\count...
 LaTeX Info: Redefining \bmod on input line ....
 LaTeX Info: Redefining \pmod on input line ....
+LaTeX Info: Redefining \relbar on input line ....
+LaTeX Info: Redefining \Relbar on input line ....
 \c at MaxMatrixCols=\count...
 \dotsspace@=\muskip...
 \c at parentequation=\count...
diff --git a/required/amsmath/testfiles/tlb-utex-001.tlg b/required/amsmath/testfiles/tlb-utex-001.tlg
index 1eaea968..075b2317 100644
--- a/required/amsmath/testfiles/tlb-utex-001.tlg
+++ b/required/amsmath/testfiles/tlb-utex-001.tlg
@@ -21,6 +21,7 @@ LaTeX Info: Redefining \frac on input line ....
 \uproot@=\count...
 \leftroot@=\count...
 LaTeX Info: Redefining \overline on input line ....
+LaTeX Info: Redefining \colon on input line ....
 \classnum@=\count...
 \DOTSCASE@=\count...
 LaTeX Info: Redefining \ldots on input line ....
@@ -38,6 +39,8 @@ LaTeX Font Info:    Redeclaring font encoding OMS on input line ....
 \macc at depth=\count...
 LaTeX Info: Redefining \bmod on input line ....
 LaTeX Info: Redefining \pmod on input line ....
+LaTeX Info: Redefining \relbar on input line ....
+LaTeX Info: Redefining \Relbar on input line ....
 \c at MaxMatrixCols=\count...
 \dotsspace@=\muskip...
 \c at parentequation=\count...





More information about the latex3-commits mailing list.