Subject: | |
From: | |
Reply To: | |
Date: | Wed, 3 Mar 2010 07:14:17 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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.
>
> I believe this should be integrated into the LaTeX/babel kernel, but
> we've still got the problem that the babel test suite has not yet been
> integrated into the 2e SVN repository.
>
> Is there any way around this impasse?
For our case, we can install the patched hyphen.cfg under luatex
specific path, e.g. tex/luatex/babel/hyphen.cfg. So other engines won't
see it meaning less risk for melting the precious latex freeze.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
|
|
|