From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88495 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Heading followed by itemize: how to keep them together? Date: Wed, 20 Aug 2014 16:01:36 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============1825350993==" X-Trace: ger.gmane.org 1408543328 10999 80.91.229.3 (20 Aug 2014 14:02:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2014 14:02:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 20 16:02:04 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XK6Sg-00063d-Gm for gctc-ntg-context-518@m.gmane.org; Wed, 20 Aug 2014 16:02:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2792D10218 for ; Wed, 20 Aug 2014 16:02:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ywrr5gmD3Oem for ; Wed, 20 Aug 2014 16:02:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7A5D710220 for ; Wed, 20 Aug 2014 16:01:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0BDB9101E3 for ; Wed, 20 Aug 2014 16:01:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kFT0S+PyH10Z for ; Wed, 20 Aug 2014 16:01:45 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 2605F101E1 for ; Wed, 20 Aug 2014 16:01:40 +0200 (CEST) Original-Received: from smtpq2.gn.mail.iss.as9143.net (smtpq2.gn.mail.iss.as9143.net [212.54.34.165]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7KE1dLv026657 for ; Wed, 20 Aug 2014 16:01:39 +0200 Original-Received: from [212.54.34.134] (helo=smtp3.gn.mail.iss.as9143.net) by smtpq2.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1XK6SJ-0008CH-AQ for ntg-context@ntg.nl; Wed, 20 Aug 2014 16:01:39 +0200 Original-Received: from d57d7632.static.ziggozakelijk.nl ([213.125.118.50] helo=mail.rna.nl) by smtp3.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1XK6SI-0008U2-Vv for ntg-context@ntg.nl; Wed, 20 Aug 2014 16:01:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 69DB6104DCCC for ; Wed, 20 Aug 2014 16:01:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id afAe25zYLkkw for ; Wed, 20 Aug 2014 16:01:37 +0200 (CEST) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) by mail.rna.nl (Postfix) with ESMTPSA id D520C104DCB2 for ; Wed, 20 Aug 2014 16:01:37 +0200 (CEST) X-Mailer: Apple Mail (2.1878.6) X-Ziggo-spambar: --- X-Ziggo-spamscore: -3.6 X-Ziggo-spamreport: ALL_TRUSTED=-1, BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.668 X-Ziggo-Spam-Status: No X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.54.34.165; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08MF21DKG - 25c890e3dc9a - 20140820 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88495 Archived-At: --===============1825350993== Content-Type: multipart/alternative; boundary="Apple-Mail=_143D433B-79D8-41E0-A6D6-D4F789F95D9C" --Apple-Mail=_143D433B-79D8-41E0-A6D6-D4F789F95D9C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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=20 \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= --Apple-Mail=_143D433B-79D8-41E0-A6D6-D4F789F95D9C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
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 
<= br>
\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
= --Apple-Mail=_143D433B-79D8-41E0-A6D6-D4F789F95D9C-- --===============1825350993== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1825350993==--