ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] preventing column break after section title
@ 2024-04-18  8:04 Peter Münster
  2024-04-18  8:23 ` [NTG-context] " Peter Münster
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Münster @ 2024-04-18  8:04 UTC (permalink / raw)
  To: ntg-context

Hi,

How could I prevent a column break after the second section title please?

Minimal example:

\starttext
\startcolumns[n=2]
  \section{title 1}
  \dorecurse{22}{bla\par}
  \section{title 2} % Here starts a new column.
  \startitemize
    \dorecurse{15}{\item bla}
  \stopitemize
\stopcolumns
\stoptext

I’ve tried "\setuphead[section][after={\columnbreak[no]}]", but it does
not help.

TIA for any hints,
-- 
           Peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: preventing column break after section title
  2024-04-18  8:04 [NTG-context] preventing column break after section title Peter Münster
@ 2024-04-18  8:23 ` Peter Münster
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Münster @ 2024-04-18  8:23 UTC (permalink / raw)
  To: ntg-context

On Thu, Apr 18 2024, Peter Münster wrote:

> How could I prevent a column break after the second section title please?

Ok, found it:

\setupitemize[each][autointro]

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2024-04-18  8:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18  8:04 [NTG-context] preventing column break after section title Peter Münster
2024-04-18  8:23 ` [NTG-context] " Peter Münster

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