[NTG-context] another columnset issue (solved)

Henning Hraban Ramm texml at fiee.net
Mon Jan 20 07:54:31 CET 2020


Hi again,

I had the problem that my chapters always started on a left page, even if I just had page=yes.
I found out I had to set page=no in my columnset as well as in \setuphead[chapter].
Seems like either the columnset or the columnsetspan always starts a new page.
While testing I didn’t get a new page reliably, but I can’t reproduce it anymore.
So, this works so far.

I’m starting a new columnset for every chapter because I have chapters with 1-3 columns,
the example is a simplification.

HR

\usemodule[visual]
\setuppapersize[A5]
\showframe[text]
\definecolor[fakerulecolor][gray]
\setuplayout[
  grid=yes,
]
\showgrid

\setuphead[chapter][
  page=no,
  beforesection={\startcolumnset[Two]},
  aftersection={\stopcolumnset},
  before={\startcolumnsetspan[TwoSpan]},
  after={\stopcolumnsetspan},
]

\definecolumnset[Two][
  n=2,
  page=no,
]
\definecolumnsetspan[TwoSpan][n=2]

\starttext
\dorecurse{3}{

\startchapter{\fakewords{2}{5}}

\dorecurse{3}{
\section{\fakewords{3}{10}}
\fakewords{10}{50}\par
\fakewords{10}{50}\par
}
\stopchapter
}

\stoptext



More information about the ntg-context mailing list