On Wed, Mar 03, 2010 at 07:14:17AM +0200, Khaled Hosny wrote: > On Tue, Mar 02, 2010 at 11:19:01AM +1030, Will Robertson wrote: > > On 02/03/2010, at 6:10 AM, Khaled Hosny wrote: > > > > > Trying to fix this for Babel, i.e. hyphenation patterns are only loaded > > > when requested, I patched hyphen.cfg file to do so when running under > > > LuaTeX. It seems to work, as far as my tests go, except that would need > > > to explicitly select a language or there will be now hyphenations i.e. > > > Bebel don't seem to load any language by default (unlike plain TeX), and > > > I'm not sure how to handle this. > > > > > > Patch is attached for your comments. > > > > > > Without doing any tests myself, this looks fine to me. > > (Which of course doesn't mean anything.) > > > > My only comment for now is that the line > > > > \ifcsname bbl@l@exceptions@#1\endcsname > > > > should be better written without assuming eTeX: > > > > \expandafter\ifx\csname bbl@l@exceptions@#1\endcsname\relax\else > > OK, attached a new patch. Actually attaching the patch this time. After Robin's comment, I think the main issue now is to get english hyphenation patterns loaded by default (either in the format or whenever babel is loaded), but I don't really know how. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer