# [NTG-context] under/over runs with odd and even pages

Paul Tremblay phthenry at iglou.com
Tue Mar 15 05:02:10 CET 2005

I am getting under and overruns when I define odd and even pages.

The problem seems to be that when  paragraph runs from and odd to an
evne page, it retains its formating that it had on the odd page. And
this is also true for a paragraph that starts on an even page and runs
to an odd page. So if the odd page is really wide, and the even page is
narrow, the paragraphs starts on the odd page fitting perfectly, and
then when it starts on the odd page, it overflows.

Likewise, when a paragraph starts on a narrow, even page, it retains its
narrowness at the start of an odd page, producing an underfill.

So what is wrong with my code?

\showframe
\definelayout[1][
leftmargin=33mm,
rightmargin=33mm,
cutspace=50mm,
backspace=50mm,
height=fit,
width=fit,
]

\definelayout[even][
rightmargin=25mm,
cutspace=40mm,
leftmargin=20mm,
backspace=35mm,
height=fit,
width=fit,
]

\definelayout[odd][
leftmargin=25mm,
rightmargin=35mm,
cutspace=50mm,
backspace=40mm,
height=fit,
width=fit,
]

\setuplayout

Paul

--

************************
*Paul Tremblay         *
*phthenry at iglou.com    *
************************

More information about the ntg-context mailing list