6

I have read the manual and try the

\setuphead
  [chapter]
  [page=right]

but it has no effect :-(

1
  • You need to enable doublesided layout for this to work. \setuppagenumbering[alternative=doublesided].
    – Aditya
    Commented Apr 14, 2013 at 13:59

1 Answer 1

6

You probably use a single-page layout. Right pages only make sense in double-sided layouts. The following works here:

\setuppagenumbering
  [alternative=doublesided]

\setuphead
  [chapter]
  [page=right]

\starttext
  \startsectionlevel [title=Foo]
  \stopsectionlevel

  \startsectionlevel [title=Bar]
  \stopsectionlevel
\stoptext

Alternatively you can define a custom page break with \definepagebreak. Example:

\setuppagenumbering
  [alternative=doublesided]

\definepagebreak
  [chapterpagebreak]
  [yes, right]

\setuphead
  [chapter]
  [pagebreak=chapterpagebreak]

\starttext
  \startsectionlevel [title=Foo]
  \stopsectionlevel

  \startsectionlevel [title=Bar]
  \stopsectionlevel
\stoptext
1
  • I used single-page layout:-( Thanks, now I will remember this forever :-)
    – yanpengl
    Commented Apr 14, 2013 at 14:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .