summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2022-02-11 07:44:03 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2022-02-11 07:44:03 +0000
commita2b63cb66fbde22e2615466521546b8e9477a468 (patch)
tree1e09bc245d5713f0f6ee2756882766e007ff68ca
parent28041405724db109ac019ae12e29da4908c8893b (diff)
[WEB] Fix spacing in math expression.
The math expression in module name 173 gets wrangled in and out of math mode by WEAVE and the two arguments of '\max' are incorrectly spaced at the comma. git-svn-id: svn://tug.org/texlive/trunk@61978 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/ChangeLog4
-rw-r--r--Build/source/texk/web2c/weave.ch12
2 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 362846541d6..5a2f3d40139 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,7 @@
+2022-02-11 Andreas Scherer <https://ascherer.github.io>
+
+ * weave.ch: Fix spacing in math expression.
+
2022-02-05 Andreas Scherer <https://ascherer.github.io>
* ctangleboot.bin: CWEB 4.7 release.
diff --git a/Build/source/texk/web2c/weave.ch b/Build/source/texk/web2c/weave.ch
index 0ed63c395f5..73acd401381 100644
--- a/Build/source/texk/web2c/weave.ch
+++ b/Build/source/texk/web2c/weave.ch
@@ -326,6 +326,18 @@ begin if no_xref then return;
if (reserved(p)or(byte_start[p]+1=byte_start[p+ww]))and
@z
+@x [172] Fix spacing.
+@<Change |pp| to $\max(|scrap_base|,|pp+d|)$@>;
+@y
+@<Change |pp| to $\max(|scrap_base|,\,|pp+d|)$@>;
+@z
+
+@x [173] Fix spacing.
+@ @<Change |pp| to $\max(|scrap_base|,|pp+d|)$@>=
+@y
+@ @<Change |pp| to $\max(|scrap_base|,\,|pp+d|)$@>=
+@z
+
@x [239] omit index and module names if no_xref set
@<Phase III: Output the cross-reference index@>=
@y