Re: [NTG-context] Fill up "bottom" space of page with some content

2015-12-03 Thread Thangalin
Hi Joseph,

Mind posting a minimum working example to illustrate what you're
trying to accomplish?
___
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
___

[NTG-context] Fill up "bottom" space of page with some content

2015-12-03 Thread josephcanedo
Hi Thangalin,





Thanks a lot for replying,




Sure, I attach 2 mwe’s. First one (fill_mwe.tex) shows a “lettrine” + paragraph 
cut in bottom of 1st page (not desirable).




To fix this problem I add \setpenalties\clubpenalties{5}{1} to make sure 
the 6 first lines of paragraph are all together (5 lines for lettrine + 1 line 
to cover down the “lettrine”). This is shown in fill2_mwe.tex. There is another 
problem if the paragraph is too short (less than 5-6 lines) as the next 
paragraph will overlap with the figure, but that’s another story.




Now of course, in the bottom of the page 1 there is a large space and I would 
like to insert some decorative item. But my problem is that I do not know how 
to write some logic to insert this decorative stuff only if the title of 
Section 2 is moved to second page (if it is not, ie the section 1 is shorter, 
the section 2 title and beginning would follow in page 1). I was hoping there 
was a possibility to have some “filling” function that’s called if the page has 
still some space (I remember there is a setting called \setuplayout[line] that 
arranges to do this with the lines in the page.)




Hope this clarifies a bit,




Best regards




Joseph





From: Thangalin
Sent: ‎Thursday‎, ‎December‎ ‎3‎, ‎2015 ‎9‎:‎27‎ ‎PM
To: ntg-context@ntg.nl





Hi Joseph,

Mind posting a minimum working example to illustrate what you're
trying to accomplish?
___
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
___

fill_mwe.tex
Description: fill_mwe.tex


fill2_mwe.tex
Description: fill2_mwe.tex
___
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
___

[NTG-context] Fill up "bottom" space of page with some content

2015-12-02 Thread josephcanedo
Dear all,


I wondered if there was a way to fill up the bottom of the page with some 
content (an image, some decorative pattern …) to avoid large blank space in 
page (given some limits, ie more than 2 lines of space is left blank).


By bottom of page I mean remaining space that could have been filled with text 
but given there was a page break it’s left blank. I saw some similar posts 
(relative to Fleuron) but the difficulty is that the amount of remaining space 
in the page is not easy to calculate, for example when having graphics, large 
drop caps that trigger a page break.


Hoping my question is clear enough.


Thanks for any hint


Best regards


Joseph Canedo___
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
___