<div dir="ltr">2016-03-16 0:06 GMT+01:00 Jonathan Kew <span dir="ltr"><<a href="mailto:jfkthame@gmail.com" target="_blank">jfkthame@gmail.com</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 15/3/16 18:04, Doug McKenna wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
There could be some subtle problems that simply changing the character count constant causes.<br>
<br>
In particular, the allocation size of a "whatsit" language node might also need changing, which would require adjusting other code in the core engine that assumes a default small size for that language node sub-type of a "whatsit".<br>
<br>
Or not.  I can't tell from the TeX source what the bit sizes of these node fields are.  But if they're too small to fit a pair of enhanced character count limits for hyphenation, there will likely be bugs elsewhere due to truncation or wraparound in the arithmetic.<br>
<br>
FWIW,<br>
<br>
Doug McKenna<br>
<br>
</blockquote>
<br>
<br></span>
AFAICS, this would only become an issue if we allow \lefthyphenmin and \righthyphenmin to be given larger values; currently, they're limited to the range 0..63 (actually, it's possible to set the parameters to larger values, but they'll be clamped when stored in a language node).<br>
<br>
But I don't think that's needed here; surely there's no realistic use-case that requires setting the *-min values greater than 63, even when hyphenating 1000-letter Sanskrit words.</blockquote><div><br></div><div>The contrary is true. These long strings are not single words, several words are glued together. For instance, Bhagavdgita contains श्रीभगवानुवाच which are in fact three words श्री भगवान् उवाच. It makes no sense to increase values of \lefthyphenmin and \righthyphenmin. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5"><br>
<br>
JK<br>
<br>
<br></div></div></blockquote><div><br><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
 <a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br></div></div>