ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* columnset + floats = bad
@ 2018-04-17  0:59 Henri Menke
  2018-04-17  1:08 ` Alan Braslau
  0 siblings, 1 reply; 3+ messages in thread
From: Henri Menke @ 2018-04-17  0:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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: threecolumnset.pdf --]
[-- Type: application/pdf, Size: 22707 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: columnset + floats = bad
  2018-04-17  0:59 columnset + floats = bad Henri Menke
@ 2018-04-17  1:08 ` Alan Braslau
  2018-04-17 23:34   ` Henri Menke
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Braslau @ 2018-04-17  1:08 UTC (permalink / raw)
  To: Henri Menke; +Cc: mailing list for ConTeXt users

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: columnset + floats = bad
  2018-04-17  1:08 ` Alan Braslau
@ 2018-04-17 23:34   ` Henri Menke
  0 siblings, 0 replies; 3+ messages in thread
From: Henri Menke @ 2018-04-17 23:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-17 23:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-17  0:59 columnset + floats = bad Henri Menke
2018-04-17  1:08 ` Alan Braslau
2018-04-17 23:34   ` Henri Menke

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).