[luatex] fontspec prevents hyphenation
Manuel Pégourié-Gonnard
mpg at elzevir.fr
Tue Nov 23 20:45:46 CET 2010
Le 23/11/2010 20:29, Mojca Miklavec a écrit :
> On Tue, Nov 23, 2010 at 20:22, Manuel Pégourié-Gonnard wrote:
>>
>> Well, just checked: LuaTeX doesn't insist that the characters in the "argument"
>> of \patterns has non-zero \lccode, it is apparently satisfied with it being
>> proper utf-8. Which is more reasonable IMO.
>
> But you are reading from plain text files anyway ...
Yep, but lang.patterns could check the lccodes just as \patterns does (or more
precisely, doesn't, with LuaTeX).
> when you do that
> you don't care about lccodes. Precisely that was one the main
> arguments for using plain text files instead of loadhyph (apart from
> speed).
>
Nope, the primary concern was category codes: this is not really related to
hyphenation, but a general robustness problem for macros executed at an
arbitrary time form a latex document.
Manuel.
More information about the luatex
mailing list