![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
8 Oct
2013
8 Oct
'13
1:40 p.m.
On 2013–10–08 Procházka Lukáš Ing. - Pontex s. r. o. wrote:
I'm trying to hook commands.stoptext()...
There is already a hook for that. No need to tinker with Lua. \setupexternalfigures [location=default] \setupdocument [after=\setups{document:after}] \startsetups [document:after] \startTEXpage \externalfigure [cow] \stopTEXpage \stopsetups \startdocument \input knuth \stopdocument Marco