Re: [dev-context] [luatex] luatex beta 0.36.0

2009-03-24 Thread Yue Wang
Hi, Taco:

On Mon, Mar 23, 2009 at 6:04 PM, Taco Hoekwater t...@elvenkind.com wrote:

 Hi,

 Somehow I can't seem to do these announcements without an error :(

 Taco Hoekwater wrote:

 * New lua function: node.vpack() via a patch from Khaled Hosny
   that also improves error handling in node.hpack().

 Wrong attribution. The patch was by Yue Wang, sorry.


Never mind:)

btw, vpack() and hpack() still admit numeric third argument (exactly
and additional are just macros in WEB source). So maybe it will be
better to change

else if (lua_type(L, 3) == LUA_TNUMBER) {
m = lua_tonumber(L, 3);
} else {
lua_pushstring(L, incorrect 3rd argument);
}

to

else {
lua_pushstring(L, incorrect third argument);
lua_error(L);
}

So the conditional tests will be more strict.

Anyway, since the API will be changed in the future (as Hans said in
that mail), It is fine if we don't touch that at this moment.

 Best wishes,
 Taco


Yue Wang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


Re: [dev-context] [luatex] luatex beta 0.36.0

2009-03-23 Thread Taco Hoekwater

Hi,

Somehow I can't seem to do these announcements without an error :(

Taco Hoekwater wrote:
 
 * New lua function: node.vpack() via a patch from Khaled Hosny
   that also improves error handling in node.hpack().

Wrong attribution. The patch was by Yue Wang, sorry.

Best wishes,
Taco
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context