Am 02.01.2011 um 22:47 schrieb Joseph Wright: > On 02/01/2011 20:29, Philipp Stephani wrote: >> and it would be nice if the expansion behavior for \lua_shipout were >> documented (like \iow_shipout): >> - expanded now: yes/no >> - expanded at shipout: yes/no > > Re-reading the LuaTeX manual, I may have got the name wrong here, sorry. I > think it should be :n, with explanation that expansion takes place at > shipout. However, I'd appreciate some input from a Lua expert: any takers? > (I'm not 100% clear from reading the manual, I'm afraid.)
Reading the source code, I guess \directlua behaves identically to \immediate\write, while \latelua corresponds to \write. If that is true, then the naming convention of the \iow_… macros should be applied. But I'm not sure, so cc'ing the LuaTeX list.
