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
___________________________________________________________________________________
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
___________________________________________________________________________________