I don't see what \dimen 10 is doing in any of this. It never seems to get set, so I assume it remains zero.

If so, you have \vsize zero, so minimal pages must be expected.

On 25/03/2021 12:28, Philip Taylor wrote:
Jonathan Kew wrote:

See https://tug.org/pipermail/xetex/2014-January/025129.html

Thank you, Jonathan.  Now formatted and included in the next iteration (code below, with "showhyphens.tex" attached).  I /believe/ 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 /stil//l /don't understand why the code generates two pages.

% !TeX Program=Ini-XeTeX

\catcode `\ = 10
\catcode `\{ = 1
\catcode `\} = 2
\catcode `\# = 6
\catcode `\^ = 7
\catcode `\^^I = 10
\catcode `\% = 14

\let \bgroup = {
\let \egroup = }
\let \endgraf = \par

\tracingonline = 1
\tracinglostchars = 2

\input showhyphens
\message {\meaning \showhyphens}

\font \tenrm = "Amiri"
\tenrm
\hyphenchar \font = `\‐

\lccode "200D = "200D
\catcode "200D = 11
\patterns {^^^^200d1^^^^200d}

\def \text {foo^^^^200d^^^^200dbar}
\hsize = 0 pt
\vsize = \dimen 10
\noindent \ \text
\showhyphens \text
\end
--
/** Phil./


Reply via email to