ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: the last page of a document
Date: Fri, 23 Apr 2010 14:05:35 +0200	[thread overview]
Message-ID: <4BD18D0F.9030500@elvenkind.com> (raw)
In-Reply-To: <s2tc86049a21004230437me2cd93fx5d75bcad0f8cf8fa@mail.gmail.com>

Marius wrote:
> On Fri, Apr 23, 2010 at 9:34 AM, Taco Hoekwater <taco@elvenkind.com> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


      reply	other threads:[~2010-04-23 12:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23  6:16 Marius
2010-04-23  6:34 ` Taco Hoekwater
2010-04-23 11:37   ` Marius
2010-04-23 12:05     ` Taco Hoekwater [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BD18D0F.9030500@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).