[tex-hyphen] String preparation

Hans Hagen pragma at wxs.nl
Fri May 27 16:24:34 CEST 2016


On 5/27/2016 3:06 PM, Élie Roux wrote:
> Le 27/05/2016 14:59, Hans Hagen a écrit :
>> On 5/27/2016 12:20 PM, Arthur Reutenauer wrote:
>>>> \hjcode 769=0 % combining acute counts for 0
>>>
>>>   I just realised that you expected 0 to mean “0 characters in length”,
>>> by analogy with the examples Hans gave with 1 and 2, but for \lccode 0
>>> has the effect to deactivate hyphenation.  (Obviously I don’t know which
>>> it is for \hjcode, otherwise I would just say it).)
>>
>> indeed, 0 means deactivate
>
> Do you think there could be some convention not to take into account
> deactivated hjcodes in right/lefthyphenmin? Or maybe with hjcode = -1?

maybe 32 can be used for that

(btw, i assume that you realize that such features are rather specific 
and special purpose and are not that likely to be supported identical 
across macro packages i.e. should be used very carefully in patterns 
that are shared)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the tex-hyphen mailing list