From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5609 Path: main.gmane.org!not-for-mail From: e_w_g@t-online.de (Eckhart =?iso-8859-1?Q?Guth=F6hrlein?=) Newsgroups: gmane.comp.tex.context Subject: Re: nlines parameter for floats has no effect Date: Tue, 11 Sep 2001 16:33:43 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.0.20010911155409.00aa8368@pop.t-online.de> References: <5.1.0.14.0.20010910121523.00a8dae0@pop.t-online.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396190 3100 80.91.224.250 (23 Oct 2002 18:03:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:03:10 +0000 (UTC) Cc: ConTeXt mailing list Original-To: Hans Hagen In-Reply-To: <5.1.0.14.1.20010910232304.026a8f38@server-1> Xref: main.gmane.org gmane.comp.tex.context:5609 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5609 At 23:24 10.09.2001 +0200, Hans Hagen wrote: >At 12:20 PM 9/10/2001 +0200, Eckhart Guthöhrlein wrote: >>Oh, those .. floats! I have a rather large float which leaves nearly no >>room for text on the page. The problem: nearly - since context puts a >>single line of text below the float! According to the manual, the nlines >>parameter has a default value of 4, so this should not happen. Setting >> >>\setupfloats[nlines=10] >> >>has no effect, I still get this single line (as well as other floats with >>6 and 8 lines below...) >> >>Anybody any ideas what is wrong? >> >>I tried to put the float on a page of its own via the placement key >>'page', but then, as I reported some days ago, context immediately starts >>a new page where \placefigure occurs in my input file. This is more what >>I would expect from 'here'. > >Can you provide a minimal example? There can be subtle rounding error >changes in such cases, sometimes it helps to define the heigh tof the text >in lines instead of height: > >\setuplayout[lines=50] > >but i really need an example First, an example demonstrating the nlines problem. %\setupfloats[nlines=10] \starttext \dorecurse{100}{Some text. } \placefigure[][refrfsjd]{Some figure.} {\framed{\vbox to 18cm{\vss\tfd\hfil High and mighty\hfil\vss}}} \dorecurse{250}{Some text. } Some text. \stoptext The figure is put on the second page with three lines of text. Uncommenting the nlines=10 doesn't change anything. Shouldn't the figure get a page without text if there is no possibility to get at least nlines? Here, a text showing my problem with the 'page' key of \placefigure - it is typeset on three pages: \starttext There will be a page break just in a moment! \placefigure[page][refrfsjd]{Well, the figure is in fact on a page of its own.} {\framed{\tfd High and mighty}} But this should go on the first page, too, I think. \stoptext Eckhart