ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: (URGENT) floating objects causing bug
Date: Sun, 15 May 2011 13:30:02 +0200	[thread overview]
Message-ID: <E6DFDEE5-FD14-4C14-811D-D3254277ED90@st.estfiles.de> (raw)
In-Reply-To: <590A6D26-8A72-480F-8C20-4A292686916F@elvenkind.com>


Am 15.05.2011 um 13:20 schrieb Taco Hoekwater:

> 
> 
> 
> 
> On 15 mei 2011, at 13:08, Steffen Wolfrum <context@st.estfiles.de> wrote:
> 
>> 
>> Am 15.05.2011 um 12:39 schrieb Taco Hoekwater:
>> 
>>> On 05/15/2011 11:35 AM, Steffen Wolfrum wrote:
>>>> Hi Hans,
>>>> 
>>>> while finishing a big project (900 pages, 300 floating tables/figures) I noticed that the first line of each page is moving up/down (almost half a line)!
>>>> 
>>>> Reason: As soon a a floating object is placed the next page is disturbed.
>>> 
>>> The problem is that the vertical space collapser is collapsing *into*
>>> topskip's spec field, thereby changing its value. That much is
>>> clear to me. I do not know how to fix this nicely, but a crude
>>> workaround to fix your project is:
>>> 
>>> \appendtoks \global\topskip=10pt plus 50pt \to \everyafteroutput
>> 
>> 
>> 
>> That seems to be at least a starting point. Thank you Taco.
>> I tried to use your workaround in my project: 
>> 
>> Well, something is different now ... but all in all it gets totally weird now!
>> 
>> Please have a look at a original chapter:
>> http://www.werksatz.com/attachments/chap_02_before.pdf
>> and the same with your workaround
>> http://www.werksatz.com/attachments/chap_02_after.pdf
>> 
>> See for example the space above the first lines on realpage 10 (userpage 14) and realpage 13 (userpage 17)!
>> 
>> 
>> Maybe I need to change the values 10pt, 50pt? What are they related to?
> 
> Maybe just deleting the plus 50pt will fix it.



Yes that's it! Seems to work now as desired (we'll have to see, if it is 100% water-proof ... )

Thank you very, very much for your "emergency aid" :o)

Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-05-15 11:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-15  9:35 Steffen Wolfrum
2011-05-15 10:39 ` Taco Hoekwater
2011-05-15 11:08   ` Steffen Wolfrum
2011-05-15 11:20     ` Taco Hoekwater
2011-05-15 11:30       ` Steffen Wolfrum [this message]
2011-05-15 12:05   ` Andreas Harder
2011-05-15 12:09   ` Hans Hagen
2011-05-15 12:48     ` Steffen Wolfrum

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=E6DFDEE5-FD14-4C14-811D-D3254277ED90@st.estfiles.de \
    --to=context@st.estfiles.de \
    --cc=ntg-context@ntg.nl \
    --cc=taco@elvenkind.com \
    /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).