ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alexey Kryukov <anagnost@yandex.ru>
To: ntg-context@ntg.nl
Subject: setupalign and flushbottom
Date: Fri, 24 Jan 2014 18:55:52 +0400	[thread overview]
Message-ID: <20140124185552.7b17adf34e19a3811e97ace4@yandex.ru> (raw)

Dear list,

according to the wiki and the ConTeXt manual, the ConTeXt equivalent
for the LaTeX \flushbottom command is \setupalign[line]. However in my
tests this setting doesn't have the desired effect. For example:

\setuplayout[height=720pt]
\setuphead[subject][before={\vskip4pt plus 1fil},after={\blank[small]}]
\setupalign[line]
\showgrid

\starttext
\dorecurse{3}{\input knuth}

\subject{My Subject}

\dorecurse{8}{\input knuth}
\stoptext

Here at the first page there is a small gap between the last line and
the page border, although the glue above the heading can safely be
expanded to make the page filled. However I do get the desired result if
I replace \setupalign [line] with a low-level command (\alignbottom).

So what is the correct way to get pages bottom-aligned in MKIV?

-- 
Regards,
Alexey Kryukov <anagnost at yandex dot ru>

Moscow State University
Faculty of History
___________________________________________________________________________________
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:[~2014-01-24 14:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 14:55 Alexey Kryukov [this message]
2014-01-24 17:41 ` Wolfgang Schuster
2014-01-24 17:45   ` Alexey Kryukov
2014-01-24 17:50     ` Alexey Kryukov
2014-01-24 19:25       ` Aditya Mahajan

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=20140124185552.7b17adf34e19a3811e97ace4@yandex.ru \
    --to=anagnost@yandex.ru \
    --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).