ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Floats page?
@ 2005-11-19 17:36 Giuseppe Bilotta
  2005-11-21  9:56 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Giuseppe Bilotta @ 2005-11-19 17:36 UTC (permalink / raw)


How do I tell ConTeXt that I don't mind if the pages are
totally filled by floats (two, three, as many as fit) even
if there is no text whatsoever?

-- 
Giuseppe "Oblomov" Bilotta

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Floats page?
  2005-11-19 17:36 Floats page? Giuseppe Bilotta
@ 2005-11-21  9:56 ` Hans Hagen
  2005-11-21 10:06   ` Taco Hoekwater
  2005-11-21 16:22   ` Re[2]: " Giuseppe Bilotta
  0 siblings, 2 replies; 6+ messages in thread
From: Hans Hagen @ 2005-11-21  9:56 UTC (permalink / raw)


Giuseppe Bilotta wrote:

>How do I tell ConTeXt that I don't mind if the pages are
>totally filled by floats (two, three, as many as fit) even
>if there is no text whatsoever?
>
>  
>
\setupfloats
  [ntop=100]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Floats page?
  2005-11-21  9:56 ` Hans Hagen
@ 2005-11-21 10:06   ` Taco Hoekwater
  2005-11-21 11:46     ` Hans Hagen
  2005-11-21 16:22   ` Re[2]: " Giuseppe Bilotta
  1 sibling, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2005-11-21 10:06 UTC (permalink / raw)




Hans Hagen wrote:
> Giuseppe Bilotta wrote:
> 
>> How do I tell ConTeXt that I don't mind if the pages are
>> totally filled by floats (two, three, as many as fit) even
>> if there is no text whatsoever?
>>
>>  
>>
> \setupfloats
>  [ntop=100]

I believe / guess what Giuseppe really wants is a way to tell
context that a page may be (say) 95% full when it contains only
floats. So that there are no single/double lines at the bottom
of a page that consists largely of topfloats. And if that is
not what Giuseppew wanted, well, that is something I would like
to know how to do :-)

Cheers,

Taco

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Floats page?
  2005-11-21 10:06   ` Taco Hoekwater
@ 2005-11-21 11:46     ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2005-11-21 11:46 UTC (permalink / raw)


Taco Hoekwater wrote:

>
>
> Hans Hagen wrote:
>
>> Giuseppe Bilotta wrote:
>>
>>> How do I tell ConTeXt that I don't mind if the pages are
>>> totally filled by floats (two, three, as many as fit) even
>>> if there is no text whatsoever?
>>>
>>>  
>>>
>> \setupfloats
>>  [ntop=100]
>
>
> I believe / guess what Giuseppe really wants is a way to tell
> context that a page may be (say) 95% full when it contains only
> floats. So that there are no single/double lines at the bottom
> of a page that consists largely of topfloats. And if that is
> not what Giuseppew wanted, well, that is something I would like
> to know how to do :-)

something

  nlines=5

shoudt do that but it's a long time since i used that

Hans

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re[2]: Floats page?
  2005-11-21  9:56 ` Hans Hagen
  2005-11-21 10:06   ` Taco Hoekwater
@ 2005-11-21 16:22   ` Giuseppe Bilotta
  2005-11-21 21:09     ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Giuseppe Bilotta @ 2005-11-21 16:22 UTC (permalink / raw)


Monday, November 21, 2005 Hans Hagen wrote:

> Giuseppe Bilotta wrote:

>>How do I tell ConTeXt that I don't mind if the pages are
>>totally filled by floats (two, three, as many as fit) even
>>if there is no text whatsoever?
>>
>>  
>>
> \setupfloats
>   [ntop=100]

Doesn't help.

\appendix{Test results}
\setupfloats[ntop=100]
\dorecurse{8}{\input tests/curves-\recurselevel.tex
\page
}

Each file that gets included have some 8 'tables' like the
following:

\placetable[here][approx-1-0.11269]{Results for curve 1, radius 0.11269}
{\centerline{\startcombination[1*2]{\scantokens{
\setuptable[bodyfont=8pt]
\starttable[|l|l|r|ra.o0|l|ra.o0|l|ra.o0|l|ra.o0|l|ra.o0|l|]
\HL
\NC\ReFormat[Bc]{Method}%
\NC\ReFormat[Bc]{Options}%
\NC\ReFormat[Bc]{Iterations}%
\NC\use4\ReFormat[Bc]{Lambdas}%
\NC\use2\ReFormat[Bc]{Error}%
\NC\use2\ReFormat[Bc]{Error\%}%
\NC\use2\ReFormat[Bc]{$L^2$}%
\SR
\HL
\CL[lightred]\MR
\NC Kinch\NC \NC 0\NC 0\NC 98005\NC 1\NC 09034\NC 0\NC 01891\NC 16\NC 78059\NC0\NC 59899\NC\MR
\NC Legendre\NC direct, 16 samples\NC 9\NC 0\NC 98275\NC 1\NC 1018\NC 0\NC 00871\NC 7\NC 7328\NC0\NC 33727\NC\MR
\NC Legendre\NC Kinch, 16 samples\NC 10\NC 0\NC 98275\NC 1\NC 1018\NC 0\NC 00871\NC 7\NC 7328\NC0\NC 33727\NC\MR
\NC Jacobi (1,1)\NC direct, 16 samples\NC 10\NC 0\NC 98359\NC 1\NC 10323\NC 0\NC 00768\NC 6\NC 81577\NC0\NC 34516\NC\MR
\CL[lightgreen]\MR
\NC Jacobi (1,1)\NC Kinch, 16 samples\NC 10\NC 0\NC 98359\NC 1\NC 10323\NC 0\NC 00768\NC 6\NC 81577\NC0\NC 34516\NC\MR
\NC Jacobi (2,2)\NC direct, 16 samples\NC 9\NC 0\NC 98329\NC 1\NC 10202\NC 0\NC 00874\NC 7\NC 75774\NC0\NC 34391\NC\MR
\NC Jacobi (2,2)\NC Kinch, 16 samples\NC 9\NC 0\NC 98329\NC 1\NC 10202\NC 0\NC 00874\NC 7\NC 75774\NC0\NC 34391\NC\MR
\NC Chebyshev\NC direct, 16 samples\NC 9\NC 0\NC 98243\NC 1\NC 10117\NC 0\NC 00919\NC 8\NC 15498\NC0\NC 33874\NC\MR
\NC Chebyshev\NC Kinch, 16 samples\NC 10\NC 0\NC 98243\NC 1\NC 10117\NC 0\NC 00919\NC 8\NC 15498\NC0\NC 33874\NC\MR
\NC Grid\NC direct, 3 scans\NC 70\NC 0\NC 98382\NC 1\NC 10435\NC 0\NC 00703\NC 6\NC 24151\NC0\NC 35264\NC\MR
\CL[lightblue]\MR
\NC Grid\NC direct, 5 scans\NC 60\NC 0\NC 98373\NC 1\NC 10409\NC 0\NC 0069\NC 6\NC 12706\NC0\NC 34982\NC\MR
\NC Nelder-Mead\NC direct, to 0\NC 132\NC 0\NC 98373\NC 1\NC 10409\NC 0\NC 0069\NC 6\NC 12706\NC0\NC 34982\NC\MR
\NC Nelder-Mead\NC direct, to 2\NC 108\NC 0\NC 98373\NC 1\NC 10409\NC 0\NC 0069\NC 6\NC 12706\NC0\NC 34982\NC\MR
\NC Nelder-Mead\NC Kinch/Legendre\NC 94\NC 0\NC 98373\NC 1\NC 10409\NC 0\NC 0069\NC 6\NC 12706\NC0\NC 34982\NC\MR
\HL
\stoptable
}}{}
{\externalfigure[tests/curves-1.1]}{}%
\stopcombination}}

Sometimes, two table+figure combo would fit in one page, but they
are still put in separate pages. Also, the first page has
the appendix title but nothing is inserted, not even the
first float.

Suggestions?

-- 
Giuseppe "Oblomov" Bilotta

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Floats page?
  2005-11-21 16:22   ` Re[2]: " Giuseppe Bilotta
@ 2005-11-21 21:09     ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2005-11-21 21:09 UTC (permalink / raw)


Giuseppe Bilotta wrote:

>Sometimes, two table+figure combo would fit in one page, but they
>are still put in separate pages. Also, the first page has
>the appendix title but nothing is inserted, not even the
>first float.
>  
>
hard to test without min-test file -)

if you run with \showframe, how much room is really left? it may be that 
you operate around thresholds

an option then is to slightly increase the height:

\setuplayout[height=20cm,footerdistance=1cm,footer=1cm,.....]

\definelayout[appendix][footerdistance=.5cm]

main doc text
\page
\setuplayout[appendix]
appendix text
\page
\setuplayout % revert to normal one
rest of doc

Hans

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-21 21:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-19 17:36 Floats page? Giuseppe Bilotta
2005-11-21  9:56 ` Hans Hagen
2005-11-21 10:06   ` Taco Hoekwater
2005-11-21 11:46     ` Hans Hagen
2005-11-21 16:22   ` Re[2]: " Giuseppe Bilotta
2005-11-21 21:09     ` Hans Hagen

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).