ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: another columnset issue (solved)
Date: Mon, 20 Jan 2020 07:54:31 +0100	[thread overview]
Message-ID: <57EE47F9-3950-4B35-A0F7-4B25C3D3B2B1@fiee.net> (raw)
In-Reply-To: <28889C4B-4DB2-4597-AA07-36E49ED3B403@fiee.net>

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2020-01-20  6:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-19 22:38 columnset issues Henning Hraban Ramm
2020-01-19 22:40 ` Henning Hraban Ramm
2020-01-20  6:54 ` Henning Hraban Ramm [this message]
2020-01-26 12:07 ` Henning Hraban Ramm
2020-01-27  9:31   ` Henning Hraban Ramm
2020-01-27 19:28     ` Wolfgang Schuster
2020-01-27 22:22       ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57EE47F9-3950-4B35-A0F7-4B25C3D3B2B1@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).