Hans Hagen wrote:
that is interesting. In the very 1st version it even used modifiers like \latelua direct {} (still without the Lua number) and there were proper pdf_end_text and so on, like this from 10/2005:
procedure latelua(s: str_number; lua_mode: integer; warn: boolean); .... end;
From some time on somehow all these modifiers vanished and the Lua number went in (i can't even tell now if i threw them out). Currently it seems to behave as in "page" mode, as there is no pdf_set_origin(), which would be the default for \pdfliteral. It's not yet clear to me if \latelua does all the wanted, e. g. whether the timing is right if one wants to record positions within text on the page...
They were dropped in commit #195, back in December 2006. They could come back ...
the latest version (not sure if checked in) behaves like write so that we can do more interesting things (delayed expansion)
The delayed expansion should stay, though. It makes the \latelua much more powerful. Best wishes, Taco