[lltx] [luatexbase] Allocating attributes from lua
Khaled Hosny
khaledhosny at eglug.org
Fri May 21 16:29:39 CEST 2010
On Fri, May 21, 2010 at 04:50:41PM +0300, Elie Roux wrote:
> Khaled Hosny a écrit :
> >Is there going to be support for allocating attributes from lua? Having
> >to resort to Te to allocate attributes from inside lua code is tricky,
> >for instance I tried:
> >
> >tex.sprint(luatexbase.catcodetables.latex, "\\newluatexattribute\\otfldummy")
> >
> >But it doesn't seem to work, and even if working it seems a bit hacky.
> >Hiding this inside luatexbse-attr seems more sensible to me.
>
> Although I agree it would be a good thing to be able to allocate
> attributes from lua, in our case it would make perfect sense to
> allocate it like the others in luaotfload.sty...
I agree, I actually wanted to do the other way around; to move all
allocations but this dummy one to lua. Hand allocating all required
attributes doesn't seem to be the best way to me, if the code allocates
them dynamically, so should we.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the lualatex-dev
mailing list