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
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
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
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
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
participants (3)
-
Giuseppe Bilotta
-
Hans Hagen
-
Taco Hoekwater