10 Mar
2017
10 Mar
'17
10:07 a.m.
hello, i try to understand the difference of everybeforeoutput and everafteroutput to inject some pages. it seems as there is no difference. \the\everybeforeoutput is placed after the output of the page: \newtoks\Before \appendtoks \the\Before \global\Before\emptytoks \to\everybeforeoutput \newtoks\After \appendtoks \the\After \global\After\emptytoks \to\everyafteroutput \starttext \input{knuth}\par \appendtoks{before}\to\Before \appendtoks{after}\to\After \stoptext this code in page-otr.mkvi seems to put it before the content: \def\page_otf_set_engine_output_routine#content% {\global\output {\inotrtrue \the\everybeforeoutput #content\relax \the\everyafteroutput}} can this be fixed? thanks michael