Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Aditya Mahajan

Oops, I am wrong. \setupalign[height] seems to help indeed, so thanks
for your answer. However it would be nice to wikify this.


Then please do it!

Aditya
___
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
___


Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Alexey Kryukov
On Fri, 24 Jan 2014 21:45:32 +0400
Alexey Kryukov wrote:

> On Fri, 24 Jan 2014 18:41:45 +0100
> Wolfgang Schuster wrote:
> 
> > Use \setupalign[height].
> 
> I tested this before writing my first post, and the result was still
> different from one I get with \alignbottom .

Oops, I am wrong. \setupalign[height] seems to help indeed, so thanks
for your answer. However it would be nice to wikify this.

-- 
Regards,
Alexey Kryukov 

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
___


Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Alexey Kryukov
On Fri, 24 Jan 2014 18:41:45 +0100
Wolfgang Schuster wrote:

> Use \setupalign[height].

I tested this before writing my first post, and the result was still
different from one I get with \alignbottom .

-- 
Regards,
Alexey Kryukov 

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
___


Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Wolfgang Schuster
2014/1/24 Alexey Kryukov 

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


Use \setupalign[height].

Wolfgang
___
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
___

[NTG-context] setupalign and flushbottom

2014-01-24 Thread Alexey Kryukov
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 

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
___