[tex-live] (future) bug in mkluatexfontdb
Khaled Hosny
khaledhosny at eglug.org
Thu Jan 20 19:43:54 CET 2011
On Fri, Jan 14, 2011 at 12:32:57PM -0800, Paul Vojta wrote:
> This is not a problem with the version of luatex shipped with texlive.
> However, anyone who compiles luatex from the sources on luatex.org will
> get the error message
>
> .../tex/luatex/lualibs/lualibs-dir.lua:37: bad argument #1 to '(for generator)' (directory metatable expected, got nil)
>
> The problem is that, apparently, the "for" command, or perhaps the iterator
> provided by lfs.dir, is more finicky now about having the second argument.
> For details about iterators, see Chapter 7 of the lua documentation.
>
> Here is a patch that will fix the problem. The patched file still works
> with older versions of luatex, so I see no harm in applying it now instead
> of waiting for a new version of luatex to be used in texlive.
>
> (I hope this is the correct place to report this -- I don't know of any
> "home site" similar to luatex.org that supports lualib-dir.lua.)
>
> --Paul Vojta, vojta at math.berkeley.edu
Thanks for the patch, I applied it and a new release uploaded to CTAN.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the tex-live
mailing list