From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83386 Path: news.gmane.org!not-for-mail From: =?windows-1252?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: Re: keeping headings with following texts Date: Sat, 13 Jul 2013 16:08:14 +0200 Message-ID: <51E15F4E.7090707@web.de> References: <51E14307.6000602@web.de> <0E422403-CCBF-4B95-8CA4-4CF38A2888B6@gmail.com> <51E1518B.1060309@web.de> <7B131904-F7B1-4AAF-8314-164A709CAEC9@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1373724517 10967 80.91.229.3 (13 Jul 2013 14:08:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jul 2013 14:08:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 13 16:08:37 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uy0V3-0004dX-21 for gctc-ntg-context-518@m.gmane.org; Sat, 13 Jul 2013 16:08:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 391E1101E9; Sat, 13 Jul 2013 16:08:36 +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 zoZ6pK8PitFW; Sat, 13 Jul 2013 16:08:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 40EE0101E5; Sat, 13 Jul 2013 16:08:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 220A6101E5 for ; Sat, 13 Jul 2013 16:08:33 +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 1+8RgODvZcqY for ; Sat, 13 Jul 2013 16:08:32 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 21C5F101E0 for ; Sat, 13 Jul 2013 16:08:21 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.17.11]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6DE8LGq001002 for ; Sat, 13 Jul 2013 16:08:21 +0200 Original-Received: from [192.168.1.33] ([88.5.201.182]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0LetQh-1UO7id39uZ-00qiAK for ; Sat, 13 Jul 2013 16:08:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 In-Reply-To: <7B131904-F7B1-4AAF-8314-164A709CAEC9@gmail.com> X-Provags-ID: V03:K0:4X9W4FA8zgYqWUOlelkdN7V0gR26KybvplPiUlfw0NntReCv8oF jWIQeCfXD4e8NOxzSkHmNLPb11px1aZKSgb0HI3UoYW98s7J9tlQ5atEPRYfR7f2vTTcmxi GY/DSy5Wq0tqgqCZn+xoYcJRd0/tJ1jETX8nIzybgvIQqWx8XtGbrptm9HPRiIVQDGQqGQT FdHRS0QEUYA3vk6K00vHg== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.11; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QJXO8lHv - f40395a9fa8e - 20130713 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:83386 Archived-At: On 13/07/13 15:19, Wolfgang Schuster wrote: > [...] > Can you make a minimal tex document out of this. It would be also > interesting to see your definition for the problematic heading which > seems to use your own code. Here you have it: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella] \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=10000 \clubpenalty=10000 \brokenpenalty=10000 \stopsetups \setupinterlinespace[line=3.2ex] \setupnote[footnote][split=verystrict] \starttext \dorecurse{28}{line\\} \subsection{Subsection Heading} line one\\ line two% \footnote{This should be on the same page.}. \stoptext I need split set to verystrict in footnotes, otherwise footnotes can be placed in the next page where their body text reference occurs (I have never seen this on any printed book). This is exactly what happens when \setupnote[footnote] is disabled. But even removing the footnote itself and setting the recursion to 30 times, the subsection heading is also left alone on the first page. What am I doing wrong here? 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 ___________________________________________________________________________________