Odd, even , first page not working

From Wiki
Revision as of 23:20, 17 March 2005 by Paul (talk | contribs)
Jump to navigation Jump to search

Theoretically, one should be able to use different page layouts for the first, even and odd pages:

 % setup layout for first page
 \definelayout[1][
  leftmargin=25mm,
  rightmargin=30mm,
  cutspace=50mm,
  backspace=40mm,
  height=fit,
  width=fit,
 ]

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

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

\setuplayout

This code sets up different sizes for each page. However, the text does not flow from one page to the next. For examle, if the even pages is very wide, and the odd page is narrow, then a paragraph starting on the even page and continuing on the odd page will run over.


-----------------
|   odd page     |
|                |
|a paragraph from| the preceding page
|that is too wide|  for the page.
|                |
|other paragraphs|
|fit fine. they  |
|fit.
|                |
------------------