![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
Dear colisters, is there a way to tel Context to be dumb about pagebreaks? I mean to say "fill every page with the exact same number of lines, no matter what, regardless of clubs, widows, women and children"? Here's my setup: \setuplayout[lines=17,footer=0.7cm] \starttext \clubpenalty=0 \widowpenalty=0 Nevertheless, some pages are 1 or even three lines shorter than the rest (there are no tables, floats, pictures etc.). Can this be prevented? Thanks Thomas
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 10:42 26/09/2003 +0200, you wrote:
Dear colisters, is there a way to tel Context to be dumb about pagebreaks? I mean to say "fill every page with the exact same number of lines, no matter what, regardless of clubs, widows, women and children"? Here's my setup: \setuplayout[lines=17,footer=0.7cm] \starttext \clubpenalty=0 \widowpenalty=0 Nevertheless, some pages are 1 or even three lines shorter than the rest (there are no tables, floats, pictures etc.). Can this be prevented?
\def\defaultwidowpenalty{0} \def\defaultclubpenalty{0} or maybe: setuplayout[grid=yes] or in the beta i just posted: \startsetups [NeverMind] \setups[*reset] \widowpenalty\zerocount \clubpenalty \zerocount \stopsetups \setuplayout[setups=NeverMind] or ... Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
On Friday, September 26, 2003, at 06:15 PM, Hans Hagen wrote:
\def\defaultwidowpenalty{0} \def\defaultclubpenalty{0}
Thanks! This command alleviated the problem without eliminating all the "shorter" pages. \setuplayout[grid=yes] actually made it a lot worse; almost every page was several lines short. I suspect it might have something to with itemizations (of which there are quite a few); this seems to confuse (Con)TeX(t).
![](https://secure.gravatar.com/avatar/6af1f724a401c9f6f746a973f33ff595.jpg?s=120&d=mm&r=g)
"Thomas A.Schmitz"
Thanks! This command alleviated the problem without eliminating all the "shorter" pages. \setuplayout[grid=yes] actually made it a lot worse; almost every page was several lines short. I suspect it might have something to with itemizations (of which there are quite a few); this seems to confuse (Con)TeX(t).
If you really want your problem solved, you should post an example. Patrick -- Why is it so difficult to post a minimal but complete example????
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
Hi Patrick, feeling a bit grumpy this morning, are we? ;-) Well, it is kind of difficult to provide a minmal example because, as the nature of the problem involves, it would necessarily be more than ~2-4 pages of text. If you're interested, I can send you a file off-list, but I don't think I should bother everybody here with long excerpts. Thanks for your interest, and best wishes Thomas
![](https://secure.gravatar.com/avatar/6af1f724a401c9f6f746a973f33ff595.jpg?s=120&d=mm&r=g)
"Thomas A.Schmitz"
feeling a bit grumpy this morning, are we? ;-)
No. Not really. Do I make such an impression? ;-) Perhaps it is my 'smart-ass-day'...
Well, it is kind of difficult to provide a minmal example because, as the nature of the problem involves, it would necessarily be more than ~2-4 pages of text.
there is always \dorecurse{#}{what} and \input myfavoritefile
If you're interested, I can send you a file off-list, but I don't think I should bother everybody here with long excerpts.
You can do that. Patrick -- You are your own rainbow!
participants (3)
-
Hans Hagen
-
Patrick Gundlach
-
Thomas A.Schmitz