On Wed, Mar 7, 2012 at 3:39 PM, luigi scarso <[email protected]> wrote:
> > > 2012/3/7 Procházka Lukáš Ing. - Pontex s. r. o. <[email protected]> > > Hello, >> >> I'd need to to hook \stoptext by Lua - I'd need to write something right >> before the end of the text. >> > > At least > \let\Oldstoptext\stoptext > \def\stoptext{% > \startluacode > context("END") > \stopluacode > \Oldstoptext} > > > > \starttext > \input knuth > \stoptext % To be hooked by Lua > > > But there are several \every* tokens list for this. > -- > luigi > > \appendtoks% \startluacode context("END") \stopluacode \to\everylastshipout \starttext \showframe \input knuth \page \input tufte \stoptext % To be hooked by Lua It's hooked by Lua too, but is it what you want ? -- luigi
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
