Marius wrote:
On Fri, Apr 23, 2010 at 9:34 AM, Taco Hoekwater
wrote: Marius wrote:
Hello,
I am writing an environment for a document and there should be a page with some text at the end of the document. In LaTeX I use \AtEndDocument{} command, but how does one achieve the same effect in ConTeXt? \appendtoks (stuff I want to do) \to\everystoptext
Thank you for the help, but with this command I have a little problem. The two pages at the end of the attached document should be the same, but, as given in this example, the \vfill command does not work as expected, if added to the \appendtoks. The \vfill fills just half of the page.
That is because \stoptext adds another \vfill at the bottom of the page. This works: \appendtoks \page must be at the top\vfill must be at the bottom\vfillneg \to\everystoptext Best wishes, Taco