[tex-hyphen] right/left hyphenmin

Hans Hagen pragma at wxs.nl
Mon Jun 16 11:54:42 CEST 2008


Mojca Miklavec wrote:
> On Mon, Jun 16, 2008 at 11:43 AM, Mojca Miklavec wrote:
>> There's another issue concerning righthyphmin, namely - XeTeX seems to
>> set lccode for guillemets, so that they are treated as a letter
> 
> Sorry for my weird sentences.
> 
> Additional quote:
> 
> ---
> Now, I have almost completed the work on UTF-8 patterns for ancient
> Greek (see also attached), but I have come across a small incident and
> I need your help: I noticed that words ending with a consonant (e.g.,
> λ) and right guillemets (») get hyphenated before the consonant, which
> is wrong, despite the patterns that prohibit hyphenation before final
> consonants (e.g., 4λ.). To overcome the problem I added extra
> prohibitive patterns with the right guillemets after the final
> consonant (e.g., 4λ».). But I think that the problem is just the
> \llcode of the character ». What do you think?
> ---

hm, weird indeed; so maybe ship two versions *-normal, *-weird

> There are some now extra weird patterns using quillements just in
> order to prevent weird breaks, but I agree that it's probably a wrong
> lccode. (On the first place: XeTeX should complain that » in patterns
> is not a letter, but it doesn't. It only complains when it hits an
> apostrophe. Do not ask me how mapping=tex-text which maps ' to some
> unicode apostrophe handles that case.)

it makes no sense to polute patterns with hacks

(i remember something similar with french and apostrofe)

Hans

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


More information about the tex-hyphen mailing list