On 2013–10–08 Marco Patzer wrote: > 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
Even shorter: \setupexternalfigures [location=default] \setupdocument [after={\pagefigure[cow]}] \startdocument \input knuth \stopdocument Marco
signature.asc
Description: Digital signature
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________