Re: [NTG-context] (URGENT) floating objects causing bug
Am 15.05.2011 um 13:20 schrieb Taco Hoekwater: > > > > > On 15 mei 2011, at 13:08, Steffen Wolfrum 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 ___
Re: [NTG-context] (URGENT) floating objects causing bug
Am 15.05.2011 um 14:09 schrieb Hans Hagen: > please don't use URGENT in a subject ... the bolder the subject, the lower it > moves on my todo list (and the sooner it moves out of my inbox view) Discovering this bug in the last minute before delivering made me a bit nervous. So I cried for help with "all the bells and whistles" ... Glad that it worked, nevertheless ;o) Please accept my apologies 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 ___
Re: [NTG-context] (URGENT) floating objects causing bug
On 15-5-2011 12:39, Taco Hoekwater wrote: 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. please don't use URGENT in a subject ... the bolder the subject, the lower it moves on my todo list (and the sooner it moves out of my inbox view) 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 Taco: in spac-ver.lua this helps ... --~ ps = writable_spec(previous) -- no writable needed here --~ ps.width, ps.stretch, ps.shrink = pw + cw, pp + cp, pm + cm previous.spec = nodes.pool.gluespec(pw + cw, pp + cp, pm + cm) so, we run into this writable mess again (maybe copying a gluespec in the engine when a topskip is injected is the best solution) ... ok, eventually gluespecs will become fields in a glue node so it's a temporary roblem Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] (URGENT) floating objects causing bug
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 What about \setupinterlinespace[top=0]? I had once a related (?) problem: http://archive.contextgarden.net/message/20110224.131537.352b2342.en.html Greeting Andreas___ 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 ___
Re: [NTG-context] (URGENT) floating objects causing bug
On 15 mei 2011, at 13:08, Steffen Wolfrum 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. Best wishes, taco ___ 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 ___
Re: [NTG-context] (URGENT) floating objects causing bug
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? 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 ___
Re: [NTG-context] (URGENT) floating objects causing bug
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 Best wishes, Taco ___ 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 ___