ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: columnset + floats = bad
Date: Wed, 18 Apr 2018 11:34:56 +1200	[thread overview]
Message-ID: <1524008096.18581.100.camel@gmail.com> (raw)
In-Reply-To: <20180416190837.4302ee55@poo.hsd1.co.comcast.net>

[-- Attachment #1: Type: text/plain, Size: 2436 bytes --]

Thanks for the suggestion Alan!

I tried out the pagecolumns approach.  According to the manual it seems to
handle floats a bit better than the columnsets and I do not require spans right
now.  However, here another weird thing is happening.  After the end of the
pagecolumns an extra page is flushed even though it does not contain any
material.  Why?  MWE is below, output of latest beta attached.

Cheers, Henri

---

\setuppapersize[A0]
\setupbodyfont[sans,25pt]

\definepagecolumns
  [threecolumn]
  [n=3]

\setuppagecolumns
  [threecolumn]
  [distance=3cm]

\starttext

\startpagecolumns[threecolumn]

  \input lorem

\column

  \input zapf\par

  \startplacefigure[title={\input zapf\par}]
    \externalfigure[dummy][width=\columnwidth]
  \stopplacefigure

  \input hawking\par

\column

  \input Douglas\par

  \input bryson\par

  \startplacefigure[title={\input bryson\par}]
    \externalfigure[dummy][width=\columnwidth]
  \stopplacefigure

\stoppagecolumns

\stoptext

On Mon, 2018-04-16 at 19:08 -0600, Alan Braslau wrote:
> Hans points out that you need to use:
> \setuplayout [grid=yes]
> with columnsets (and floats).
> 
> You can also try "pagecolumns", yet another mechanism, each has its own
> charm. ;-)
> 
> Alan
> 
> 
> 
> 
> On Tue, 17 Apr 2018 12:59:46 +1200
> Henri Menke <henrimenke@gmail.com> wrote:
> 
> > 
> > Dear list,
> > 
> > I wanted to make a conference poster in ConTeXt MKIV using the
> > newcolumnsets. However, when I use floats weird shit is happening.
> >  Is this intended or am I doing something seriously wrong?  MWE
> > below, output of latest beta attached.
> > 
> > Cheers, Henri
> > 
> > ---
> > 
> > \setuppapersize[A0]
> > \setupbodyfont[sans,25pt]
> > 
> > \usemodule[newcolumnsets]
> > 
> > \definecolumnset
> >   [threecolumn]
> >   [n=3]
> > 
> > \setupcolumnset
> >   [threecolumn]
> >   [distance=3cm]
> > 
> > \starttext
> > 
> > \startcolumnset[threecolumn]
> > 
> >   \input lorem
> > 
> > \column
> > 
> >   \input zapf\par
> > 
> >   \startplacefigure[title={\input zapf\par}]
> >     \externalfigure[dummy][width=\textwidth]
> >   \stopplacefigure
> > 
> >   \input hawking\par
> > 
> > \column
> > 
> >   \input Douglas\par
> > 
> >   \input bryson\par
> > 
> >   \startplacefigure[title={\input bryson\par}]
> >     \externalfigure[dummy][width=\textwidth]
> >   \stopplacefigure
> > 
> > \stopcolumnset
> > 
> > \stoptext

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 22680 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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:[~2018-04-17 23:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-17  0:59 Henri Menke
2018-04-17  1:08 ` Alan Braslau
2018-04-17 23:34   ` Henri Menke [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=1524008096.18581.100.camel@gmail.com \
    --to=henrimenke@gmail.com \
    --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).