[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: Trim spaces from math mode content (c9df91f1)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Dec 11 21:36:07 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : everymath
Link       : https://github.com/latex3/latex2e/commit/c9df91f1009d8985237239f9035b9cb7549c75b9

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

commit c9df91f1009d8985237239f9035b9cb7549c75b9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Dec 11 20:33:00 2022 +0000

    Trim spaces from math mode content


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

c9df91f1009d8985237239f9035b9cb7549c75b9
 required/latex-lab/latex-lab-everymath.dtx     | 2 +-
 required/latex-lab/testfiles/everymath-001.tlg | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/required/latex-lab/latex-lab-everymath.dtx b/required/latex-lab/latex-lab-everymath.dtx
index 5a7a3d2e..47b360cb 100644
--- a/required/latex-lab/latex-lab-everymath.dtx
+++ b/required/latex-lab/latex-lab-everymath.dtx
@@ -115,7 +115,7 @@
 \cs_new_protected:Npn \@@_process:n #1
   {
     \legacy_if:nF { measuring@ }
-      { \@@_process_aux:n {#1} }
+      { \tl_trim_spaces_apply:nN {#1} \@@_process_aux:n }
   }
 \cs_new_protected:Npn \@@_process_aux:n #1 { }
 %    \end{macrocode}
diff --git a/required/latex-lab/testfiles/everymath-001.tlg b/required/latex-lab/testfiles/everymath-001.tlg
index d72ca80a..9aa01cb5 100644
--- a/required/latex-lab/testfiles/everymath-001.tlg
+++ b/required/latex-lab/testfiles/everymath-001.tlg
@@ -1,6 +1,6 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
- y = mx + c
+y = mx + c
 y = mx + c
 y = mx + c \hskip 1em\relax \hbox {for all $c$}
 g_{\hbox {foo$b$}}





More information about the latex3-commits mailing list.