ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Heading followed by itemize: how to keep them together?
Date: Wed, 20 Aug 2014 16:01:36 +0200	[thread overview]
Message-ID: <D2635B4B-3113-412B-8632-7B8232E09163@rna.nl> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 677 bytes --]

When I have:

\subsubsection{Foo}
\startitemize[joinedup,packed]
\item Bar
\item Bar
\item Bar
\stopitemize

TeX may put a page break between the heading and the paragraph. Is there a way to prevent this? I tried

\subsubsection{Foo}\page[no]
\startitemize[joinedup,packed]
\item Bar
\item Bar
\item Bar
\stopitemize

and 

\subsubsection{Foo}
\startitemize[joinedup,packed]\page[no]
\item Bar
\item Bar
\item Bar
\stopitemize

but both did not work. I can of course force with

\page[yes]\subsubsection{Foo}
\startitemize[joinedup,packed]
\item Bar
\item Bar
\item Bar
\stopitemize

but that is not ribust under change in the document.

G

[-- Attachment #1.2: Type: text/html, Size: 2865 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2014-08-20 14:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-20 14:01 Gerben Wierda [this message]
2014-08-20 15:11 ` Wolfgang Schuster

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=D2635B4B-3113-412B-8632-7B8232E09163@rna.nl \
    --to=gerben.wierda@rna.nl \
    --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).