summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2020-07-03 06:53:42 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2020-07-03 06:53:42 +0000
commit2b116f0eb78462036120c8a043209a8348390fe7 (patch)
treed64aa51177c913010b7c3658709478f25e068cc4 /Build/source/texk/web2c/xetexdir
parentec9b6b12896f5b4ccb0ad6aef866a0ffc3bba4fd (diff)
[XeTeX] Fix |code| snippets in {comments}.
git-svn-id: svn://tug.org/texlive/trunk@55739 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/xetexdir')
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/xetexdir/xetex.web12
2 files changed, 10 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index bab5c229d83..fff156ba4a2 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-03 Andreas Scherer <https://ascherer.github.io>
+
+ * xetex.web: Fix |code| snippets in {comments}.
+
2020-07-03 David Jones <dmj@ams.org>
* XeTeXOTMath.cpp: New implementation of get_ot_math_kern().
diff --git a/Build/source/texk/web2c/xetexdir/xetex.web b/Build/source/texk/web2c/xetexdir/xetex.web
index 56f22364f9e..b7508a59bc1 100644
--- a/Build/source/texk/web2c/xetexdir/xetex.web
+++ b/Build/source/texk/web2c/xetexdir/xetex.web
@@ -18415,7 +18415,7 @@ is at least as high as the baseline plus four-fifths of the x-height.
@<Construct a sub/superscript combination box |x|...@>=
begin
save_f:=cur_f;
-
+
script_head := subscr(q);
@<Fetch first character of a sub/superscript@>;
@@ -18474,15 +18474,15 @@ The following definitions should be kept in sync with \.{XeTeXOTMath.cpp}.
this_math_style := sub_style(cur_style);
- { Loop through the sub_mlist looking for the first character-like
+ { Loop through the |sub_mlist| looking for the first character-like
thing. Ignore kerns or glue so that, for example, changing
$P_j$ to $P_{\!j}$ will have a predictable effect. Intercept
- style_nodes and execute them. If we encounter a choice_node,
+ |style_nodes| and execute them. If we encounter a |choice_node|,
follow the appropriate branch. Anything else halts the search
and inhibits OpenType kerning. }
{ Don't try to do anything clever if the nucleus of the
- script_head is empty, e.g., $P_{^j}$ and the such. }
+ |script_head| is empty, e.g., $P_{^j}$ and the such. }
if math_type(script_head) = sub_mlist then
begin
@@ -18518,7 +18518,7 @@ The following definitions should be kept in sync with \.{XeTeXOTMath.cpp}.
2: script_ptr := script_mlist(script_ptr);
3: script_ptr := script_script_mlist(script_ptr);
end
- else
+ else
script_ptr := link(script_ptr);
end;
end;
@@ -18548,7 +18548,7 @@ The following definitions should be kept in sync with \.{XeTeXOTMath.cpp}.
@<Set up the values of |cur_size| and |cur_mu|, based on |cur_style|@>;
end;
- { The remaining case is math_type(script_head) = sub_box.
+ { The remaining case is |math_type(script_head) = sub_box|.
Although it would be possible to deconstruct the box node to
find the first glyph, it will most likely be from a text font
without MATH kerning, so there's probably no point. }