* nlines parameter for floats has no effect
@ 2001-09-10 10:20 Eckhart Guthöhrlein
2001-09-10 21:24 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Eckhart Guthöhrlein @ 2001-09-10 10:20 UTC (permalink / raw)
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'.
Eckhart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nlines parameter for floats has no effect
2001-09-10 10:20 nlines parameter for floats has no effect Eckhart Guthöhrlein
@ 2001-09-10 21:24 ` Hans Hagen
2001-09-11 14:33 ` Eckhart Guthöhrlein
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2001-09-10 21:24 UTC (permalink / raw)
Cc: ConTeXt mailing list
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
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nlines parameter for floats has no effect
2001-09-10 21:24 ` Hans Hagen
@ 2001-09-11 14:33 ` Eckhart Guthöhrlein
0 siblings, 0 replies; 3+ messages in thread
From: Eckhart Guthöhrlein @ 2001-09-11 14:33 UTC (permalink / raw)
Cc: ConTeXt mailing list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-11 14:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-10 10:20 nlines parameter for floats has no effect Eckhart Guthöhrlein
2001-09-10 21:24 ` Hans Hagen
2001-09-11 14:33 ` Eckhart Guthöhrlein
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).