ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Thangalin <thangalin@gmail.com>
Subject: Re: Suppress blank page in asymmetrical multicolumn layout
Date: Fri, 6 Dec 2019 17:26:47 +0100	[thread overview]
Message-ID: <c0938240-5394-b3e1-357b-fa7709206fbf@gmail.com> (raw)
In-Reply-To: <CAANrE7rmZu=kexU5SKNZm+Sk6pgdw77xdSDMJ_VLvYS55V6VUQ@mail.gmail.com>

Thangalin schrieb am 06.12.2019 um 17:17:
> Hi there,
>
> How do I suppress the blank page in the following document while
> maintaining the asymmetrical multicolumn layout? The problem centres
> around "page=yes," whereby removing it eliminates the blank page, but
> then wreaks havoc on the document layout.
>
> \definepapersize[BookPaperSize][width=24in, height=12in,]
> \setuppapersize[BookPaperSize]
>
> \definelayout[BookTextLayout][
>    topspace=.5in,
>    backspace=.5in,
>    header=\zeropoint,
>    footer=\zeropoint,
>    grid=yes,
> ]
> \setuplayout[BookTextLayout]
>
> \definecolumnset[BookColumns][n=4,distance=.25in]

Add "page=yes" to start each new columnset environment with a page break.

\definecolumnset [BookColumns] [n=4,distance=.25in,page=yes]

> \setupcolumnset[BookColumns:1][width=11.75in]
> \setupcolumnset[BookColumns:2][width=3.46in]
> \setupcolumnset[BookColumns:3][width=3.46in]
> \setupcolumnset[BookColumns:4][width=3.46in]
>
> \setuphead[section][
>    page=yes,

Remove the page break at the begin of each section because the break
happens after you start the columnset environment. The value of the
beforesection key is inserted before the values from other keys are used.

page=,

>    beforesection={\startcolumnset[BookColumns]},
>    aftersection={\stopcolumnset},
> ]

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2019-12-06 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-06 16:17 Thangalin
2019-12-06 16:26 ` Wolfgang Schuster [this message]

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=c0938240-5394-b3e1-357b-fa7709206fbf@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=thangalin@gmail.com \
    /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).