figure placement and flushbottom
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 \def\fps@figure{tbp} 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/
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 -----------------------------------------------------------------
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/
participants (2)
-
Hans Hagen
-
Peter Münster