[NTG-context] figure placement and flushbottom

2004-08-11 Thread Peter Mnster
Hello,
in general, the suggested method to get LaTeX \flushbottom behaviour, shown
on http://contextgarden.net/Flush_bottom, works quite well.
But here I have a situation, where I do not understand, why the first page
is not filled:

\setupwhitespace[0pt plus 1fill]
\defineblank[aroundfloat][0.8\lineheight plus 3fill minus 0.2\lineheight]
\setupfloats[spacebefore=aroundfloat,spaceafter=aroundfloat]
\let\stoptextO=\stoptext
\def\stoptext{\vfilll\stoptextO}

%\setupfloats[default={top,bottom,page}]% same as [EMAIL PROTECTED] in LaTeX?

\starttext
bla

\section{bla}% strange: if there is no table, then the figure placement is ok.
\starttable[|c|]
\NC bla\NC\AR
\stoptable

bla
\placefigure{bla}{\framed[height=10cm]{bla}}

\dorecurse{30}{\dorecurse{30}{bla }\par}
\stoptext


TIA for any hint, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] figure placement and flushbottom

2004-08-11 Thread Hans Hagen
Peter Münster wrote:
\let\stoptextO=\stoptext
\def\stoptext{\vfilll\stoptextO}
 

I don't know what you want to achieve but this is not working because 0 is not a character (and therefore not part of a \cs) 


\let\Mystoptext\stoptext
\def\stoptext{\vfilll\Mystoptext}
 

could but you may expect funny side effects, so better use:
\prependtoks \vfilll \to \everystoptext
Hans 

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] figure placement and flushbottom

2004-08-11 Thread Peter Mnster
On Wed, 11 Aug 2004, Hans Hagen wrote:

 Peter Münster wrote:
 
 \let\stoptextO=\stoptext
 \def\stoptext{\vfilll\stoptextO}
   
 I don't know what you want to achieve but this is not working because 0
 is not a character (and therefore not part of a \cs)

It's an O (for Original), not a 0 (zero).

 \prependtoks \vfilll \to \everystoptext

Thanks, this looks cleaner.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context