Disable balancing of page bottoms
![](https://secure.gravatar.com/avatar/5883a55660d75172f7f5d4cc14b73a71.jpg?s=120&d=mm&r=g)
Dear list! Context (Mk IV) balances the bottoms of doublesided pages, even if I use \raggedbottom. How can I disable this? I'm thinking of something like "balance=no" for columns, only for pages. My problem is that I have a one-page float (rotated table) with the size of the textheight. The opposite page is not completely filled with text, which makes context crop the height of the page with the float, too, resulting in a shift of the float into the upper margin. That's why I want to disable balancing. Kind regards, Joshua Krämer
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 1/14/2014 11:26 PM, Joshua Krämer wrote:
Dear list!
Context (Mk IV) balances the bottoms of doublesided pages, even if I use \raggedbottom. How can I disable this? I'm thinking of something like "balance=no" for columns, only for pages.
My problem is that I have a one-page float (rotated table) with the size of the textheight. The opposite page is not completely filled with text, which makes context crop the height of the page with the float, too, resulting in a shift of the float into the upper margin. That's why I want to disable balancing.
then best post a minimal example showing the issue ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/5883a55660d75172f7f5d4cc14b73a71.jpg?s=120&d=mm&r=g)
I have found out that I had interpreted the problem wrongly. It is not a problem of balancing, it is a problem of the layout macros. I use a different page layout for the titlepage and switch to the main layout later. This switch is in the front matter part, which results in the new layout being respected for one page only. Somehow for subsequent pages, the layout is wrong. Here's a MWE: \definelayout[Titlelayout][width=10cm,height=10cm,header=0cm,footer=0cm] \definelayout[Mainlayout][width=10cm,height=25cm,header=0cm,footer=0cm] \showframe \definestartstop[Titlepage][ before={\setuplayout[Titlelayout]}, after={ \page[yes] \setuplayout[Mainlayout] }] \starttext \startfrontmatter \startTitlepage Title \stopTitlepage \stopfrontmatter \dorecurse{5}{\input{knuth}} \placetable[270,page]{none} {\setupTABLE[option=stretch, textwidth=25cm] \bTABLE \bTR \bTD 1 \eTD \bTD 2 \eTD \eTR \eTABLE} \dorecurse{5}{\input{knuth}} \stoptext The frames are drawn correctly on all pages. But only page 2 is filled with text completely. On subsequent pages, the real layout seems to be too short. If I remove \startfrontmatter and \stopfrontmatter, the problem disappears. It also works if I input \setuplayout[Mainlayout] in the preamble, which is cleaner anyway because it is independent of the titlepage macros. Kind regards, Joshua Krämer
![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
On 2014–01–15 Joshua Krämer wrote:
I have found out that I had interpreted the problem wrongly. It is not a problem of balancing, it is a problem of the layout macros.
It's not a problem with the macros, it's a consequence of you using them the wrong way.
I use a different page layout for the titlepage and switch to the main layout later. This switch is in the front matter part, which results in the new layout being respected for one page only. Somehow for subsequent pages, the layout is wrong.
Here's a suggestion of how to set it up correctly. This also fixes the table. \definemakeup [Titlelayout] [top=] \definelayout [Titlelayout] [width=10cm, height=10cm, header=0cm, footer=0cm] \setuplayout [width=10cm, height=25cm, header=0cm, footer=0cm] \showframe \starttext \startfrontmatter \startmakeup [Titlelayout] Title \stopmakeup \stopfrontmatter \dorecurse{5}{\input{knuth}} \startplacetable [location=270] \setupTABLE [option=stretch, textwidth=\textheight] \bTABLE \bTR \bTD 1 \eTD \bTD 2 \eTD \eTR \eTABLE \stopplacetable \dorecurse{5}{\input{knuth}} \stoptext Marco
![](https://secure.gravatar.com/avatar/5883a55660d75172f7f5d4cc14b73a71.jpg?s=120&d=mm&r=g)
Thank you, Marco. The problem with your solution is that in doublesided mode, after \startmakeup ... \stopmakeup, an empty page is inserted, but I need to have text on the back of the page. Do you maybe know how to solve this? MWE: \definemakeup [Titlelayout] [top=] \definelayout [Titlelayout] [width=10cm, height=10cm, header=0cm, footer=0cm] \setuplayout [width=10cm, height=26cm, header=0cm, footer=1cm, footerdistance=0cm] \setuppagenumbering[alternative=doublesided] \showframe \starttext \startfrontmatter \startmakeup [Titlelayout] Title \stopmakeup This text should be on the back of the title page. \stopfrontmatter \stoptext Kind regards, Joshua
![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
On 2014–01–15 Joshua Krämer wrote:
Thank you, Marco. The problem with your solution is that in doublesided mode, after \startmakeup ... \stopmakeup, an empty page is inserted, but I need to have text on the back of the page. Do you maybe know how to solve this?
\definemakeup [Titlelayout] [top=, doublesided=no] Marco
![](https://secure.gravatar.com/avatar/5883a55660d75172f7f5d4cc14b73a71.jpg?s=120&d=mm&r=g)
Thanks, Marco, I have adopted your solution, which works fine. Kind regards, Joshua
participants (3)
-
Hans Hagen
-
Joshua Krämer
-
Marco Patzer