<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Jonathan Kew wrote:<br>
<br>
</div>
<blockquote type="cite"
cite="mid:eeed433f-072a-6a0c-2117-b6c5cd7db2bc@gmail.com">See
<a class="moz-txt-link-freetext" href="https://tug.org/pipermail/xetex/2014-January/025129.html">https://tug.org/pipermail/xetex/2014-January/025129.html</a> <br>
</blockquote>
<br>
Thank you, Jonathan. Now formatted and included in the next
iteration (code below, with "showhyphens.tex" attached). I <i>believe</i>
that "showhyphens.tex" is functionally equivalent to David's code,
but as he appears to have had a broken space bar and an intermittent
"=" key, I cannot be sure that they are functionally identical ...
And I <i>stil</i><i>l </i>don't understand why the code generates
two pages.<br>
<br>
<tt>% !TeX Program=Ini-XeTeX</tt><tt><br>
</tt><tt><br>
</tt><tt>\catcode `\ = 10</tt><tt><br>
</tt><tt>\catcode `\{ = 1</tt><tt><br>
</tt><tt>\catcode `\} = 2</tt><tt><br>
</tt><tt>\catcode `\# = 6</tt><tt><br>
</tt><tt>\catcode `\^ = 7</tt><tt><br>
</tt><tt>\catcode `\^^I = 10</tt><tt><br>
</tt><tt>\catcode `\% = 14</tt><tt><br>
</tt><tt><br>
</tt><tt>\let \bgroup = {</tt><tt><br>
</tt><tt>\let \egroup = }</tt><tt><br>
</tt><tt>\let \endgraf = \par</tt><tt><br>
</tt><tt><br>
</tt><tt>\tracingonline = 1</tt><tt><br>
</tt><tt>\tracinglostchars = 2</tt><tt><br>
</tt><tt><br>
</tt><tt>\input showhyphens</tt><tt><br>
</tt><tt>\message {\meaning \showhyphens}</tt><tt><br>
</tt><tt><br>
</tt><tt>\font \tenrm = "Amiri"</tt><tt><br>
</tt><tt>\tenrm</tt><tt><br>
</tt><tt>\hyphenchar \font = `\‐</tt><tt><br>
</tt><tt><br>
</tt><tt>\lccode "200D = "200D</tt><tt><br>
</tt><tt>\catcode "200D = 11</tt><tt><br>
</tt><tt>\patterns {^^^^200d1^^^^200d}</tt><tt><br>
</tt><tt><br>
</tt><tt>\def \text {foo^^^^200d^^^^200dbar}</tt><tt><br>
</tt><tt>\hsize = 0 pt</tt><tt><br>
</tt><tt>\vsize = \dimen 10</tt><tt><br>
</tt><tt>\noindent \ \text</tt><tt><br>
</tt><tt>\showhyphens \text </tt><tt><br>
</tt><tt>\end</tt><br>
-- <br>
<i>** Phil.</i><br>
<br>
</body>
</html>