[lltx] [luatexbase] Allocating attributes from lua

Khaled Hosny khaledhosny at eglug.org
Sat May 22 18:46:05 CEST 2010


On Sat, May 22, 2010 at 01:53:42PM +0200, Manuel Pégourié-Gonnard wrote:
> Le 22/05/2010 12:09, Elie Roux a écrit :
> > Manuel Pégourié-Gonnard a écrit :
> >> Is the following interface ok with you?
> >> luatexbase.newattribute(<string> name)
> >>     - allocates a new attribute
> >>     - stores its number in luatexbase.attributes[name]
> >>   
> > 
> > I think it could also return the attribute number.
> > 
> Agreed.

That and the unsetattribute seems fine to me, too.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the lualatex-dev mailing list