ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Page Breaks after Headings
@ 2015-01-20 22:41 Malte Stien
  2015-01-20 23:40 ` Hans Hagen
  2015-01-22 18:28 ` Pablo Rodriguez
  0 siblings, 2 replies; 3+ messages in thread
From: Malte Stien @ 2015-01-20 22:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

Is there a way I can avoid page breaks after “headings”, i.e. \section, \subsection, \subject, \subsubject, etc?

Thank you,
Malte.

--
“The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Page Breaks after Headings
  2015-01-20 22:41 Page Breaks after Headings Malte Stien
@ 2015-01-20 23:40 ` Hans Hagen
  2015-01-22 18:28 ` Pablo Rodriguez
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2015-01-20 23:40 UTC (permalink / raw)
  To: ntg-context

On 1/20/2015 11:41 PM, Malte Stien wrote:
> Hi all,
>
> Is there a way I can avoid page breaks after “headings”, i.e. \section, \subsection, \subject, \subsubject, etc?

example needed ... normally page breaks are avoided

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Page Breaks after Headings
  2015-01-20 22:41 Page Breaks after Headings Malte Stien
  2015-01-20 23:40 ` Hans Hagen
@ 2015-01-22 18:28 ` Pablo Rodriguez
  1 sibling, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2015-01-22 18:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 01/20/2015 11:41 PM, Malte Stien wrote:
> Hi all,
> 
> Is there a way I can avoid page breaks after “headings”, i.e.
> \section, \subsection, \subject, \subsubject, etc?

Hi Malte,

since I experienced this before and Wolfgang kindly explained to me, the
workaround is:

   \setuphead[section][after={\blank[samepage]}]

Only defining after for section (I think it) should work for other headings.

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2015-01-22 18:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-20 22:41 Page Breaks after Headings Malte Stien
2015-01-20 23:40 ` Hans Hagen
2015-01-22 18:28 ` Pablo Rodriguez

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