Jonathan Sauer wrote:
(2) IMO, \latelua should be modeled after \write, which (of course) also works in DVI mode but which also delays expansion of its argument to shipout. \latelua expands its argument completely when issued, as demonstrated above by displaying "foo" in the error message instead of "bar".
(the chunk name should still be expanded when the command is issued, in order to get the then-current input line number)
What do you think?
fyi: \latelua started as an experiment to manipulate (influence) the pdf stream and as such is a rather experimental command; for the moment you should not depend on it too much because its behaviour may change; the same is true for what actions are permitted when using it (e.g. pdf.print does not always make sense) concerning writes and similar whatsits ... at some point these may also be overhauled (for instance more control is needed ... think of copying boxes with writes and only one such write (say a toc entry) makes sense) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------