[XeTeX] Follow-up to previous mail about hyphenation

Philip Taylor P.Taylor at Hellenic-Institute.Uk
Thu Mar 25 11:15:08 CET 2021


Not entirely clear why this generates two pages of output, but it does 
seem to demonstrate the problem —

% !TeX Program=Ini-XeTeX

\catcode `\ = 10
\catcode `\         = 10
\catcode `\{ = 1
\catcode `\} = 2
\catcode `\^ = 7
\font \tenrm = cmr10
\tenrm

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

\def \showhyphens
         {
                 \setbox 0 = \vbox
                         {
                                 \parfillskip = 0 pt
                                 \hsize = \dimen 10
                                 \tenrm
                                 \pretolerance = -1
                                 \tolerance = -1
                                 \hbadness = 0
                                 \showboxdepth = 0 \ #1
                         }
         }

\lccode "200D = "200D
\catcode "200D = 11
bla^^^^200d^^^^200dbla
\showhyphens {bla^^^^200d^^^^200dbla}

\end
-- 
/Philip Taylor/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20210325/eee94607/attachment.html>


More information about the XeTeX mailing list.