[NTG-context] page float in columnset

Vit Zyka vit.zyka at seznam.cz
Wed Feb 1 02:36:15 CET 2006

Hans Hagen wrote:
> Vit Zyka wrote:
>>Hi wizards,
>>let me go back to columnsets. I try to place a float spanning the whole 
>>page area. When doing that the running text placing exactly one page is 
>>completely and forever lost! Please see example:
>>  \dorecurse{4}{#1 --- \input knuth \blank\endgraf}
>>  \placefigure[here]{none}{%
>>    \framed
>>      [width=\makeupwidth,height=\textheight,offset=overlay]
>>      {Page float.}}
>>  \dorecurse{10}{#1 --- \input knuth \blank\endgraf}
>>Switching here -> page, tops, ... does not solve the problem.
>>The similar behaviour is observed when a float has one column width and 
>>fit the whole column height.
>>Is there some solution or another way how to do that and preserve the text?
> you were the guy running an ancient context, wasn;t it? 

Yes on my machine, not so ancient on an notebook; but your context is 
old too since you sent me off-list the same wrong result ;-)

Please, closely look on the paragraph numbering. In the second paragraph 
sequence the number 2, 3, and 4 are missing, number 1 and 5 are partialy 
missing -> total one page is lost.

> works ok here (although i admit that this mechanism is a bit tricky;

i believe; it is one context's advantage over plain or latex, so it can 
be a new challenge to decrease the number of bugs...

> a solution is to make the graphic .99 textheight

even .98 not ;-) No, it does not solve. Text stops to disappear when 
there is enough space for at least one line. But I would like only 
figure on the page. Not with one or more line text. Yes one can add some 
imaginary empty line, but it is agly (and difficult if some \vadjust 
inside a paragraph is needed).

> (in columnset sone runs into rounding error problems 

Perhaps but loosing text it the worst variant - no error, no warning, no 
graphical mark. You can easily overlook such disaster.


More information about the ntg-context mailing list