Jonathan Sauer wrote:
Hello,
The "buildpage_filter" seems to be able to do this. Untested: I'll have to see eventually whether injecting TeX code here is workable.
If you are talking about tex.print, that won't work, at least not right now, since tex.print currently does not work in callbacks (see the discussion "process_input_buffer-callback and tex.sprint" starting yesterday).
sometimes you can use teh secodn call to the callback to finish actions, i.e. if a macro somehow triggers the callback, then in this macro you can do tex stuff and then again trigger the callback 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 -----------------------------------------------------------------