ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: page float in columnset
Date: Wed, 01 Feb 2006 02:36:15 +0100	[thread overview]
Message-ID: <43E0108F.3070408@seznam.cz> (raw)
In-Reply-To: <43D94E89.9020302@wxs.nl>

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:
>>
>>-----------------------------------------
>>\setuplayout[grid=yes]
>>\showgrid
>>
>>\starttext
>>\startcolumnset
>>  \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}
>>\stopcolumnset
>>\stoptext
>>-------------------------------------------
>>
>>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.

Vit

  reply	other threads:[~2006-02-01  1:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-26 21:24 Vit Zyka
2006-01-26 22:34 ` Hans Hagen
2006-02-01  1:36   ` Vit Zyka [this message]
2006-02-01 19:35     ` Hans Hagen
2006-02-02 11:20       ` Vit Zyka
2006-02-02 12:21         ` Hans Hagen
2006-02-02 12:23         ` Hans Hagen
2006-02-02 13:20           ` Vit Zyka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43E0108F.3070408@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).