From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79311 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?=22H=2E_=D6zoguz=22?= Newsgroups: gmane.comp.tex.context Subject: Re: Section alone on the page Date: Sun, 18 Nov 2012 23:12:00 +0100 Message-ID: <50A95D30.8060108@mmnetz.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0347351677==" X-Trace: ger.gmane.org 1353276737 4437 80.91.229.3 (18 Nov 2012 22:12:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2012 22:12:17 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 18 23:12:28 2012 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 1TaD6D-0007qC-4l for gctc-ntg-context-518@m.gmane.org; Sun, 18 Nov 2012 23:12:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB2D61032B; Sun, 18 Nov 2012 23:12:10 +0100 (CET) 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 a2qo7ejMQBYn; Sun, 18 Nov 2012 23:12:08 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 29B3D10229; Sun, 18 Nov 2012 23:12:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D3FD10229 for ; Sun, 18 Nov 2012 23:12:06 +0100 (CET) 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 X6glOdNJZ-N8 for ; Sun, 18 Nov 2012 23:12:04 +0100 (CET) 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 D3454101EF for ; Sun, 18 Nov 2012 23:12:04 +0100 (CET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAIMC3NN007723 for ; Sun, 18 Nov 2012 23:12:04 +0100 Original-Received: from [192.168.0.10] (77-23-164-143-dynip.superkabel.de [77.23.164.143]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LkUcJ-1SzDaK0E5T-00cICF; Sun, 18 Nov 2012 23:12:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: X-Provags-ID: V02:K0:2B98pEgCjAbexAIsUkACE/k1//MmoTNaHmf3qPxF/Mh d2dzJqGvQB9n8vZ1q1PXqI1YtJlY5VoLAMW+wwPsppZU47akO7 Sac1FiAPASaf1x3q1+kDzc7ot8uCtfXk9R9sczTnYZoJVFzr61 juToV75apxQFzwmou9OKplpRJO/+y8zRqi/cemDSfgpgj2EMF+ RId2k2Y2yrUxWuClifgs0hLnVa2f8jaIG4V2XCCpTJlaFOBK3l k5h5es2t+P1b9IBEBf7BDLP79+BceGqGC9KYQ6s8Zc/S4VuESN nfEvQRjBMgbgSdM9pfpGQNqTexEeTbk77epj4tLyYQwtBIOlyU 8I2vTpk7dR/qV7Mypdfw= X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.8; 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: 08Ipac3rl - 1184d4d27e81 - 20121118 (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:79311 Archived-At: This is a multi-part message in MIME format. --===============0347351677== Content-Type: multipart/alternative; boundary="------------020505020104090807030301" This is a multi-part message in MIME format. --------------020505020104090807030301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Am 18.11.2012 21:58, schrieb ntg-context-request@ntg.nl: > When you uncomment the \setuphead setting in the following example context won?t move the heading > to the next page with the text after it, the important thing to achieve this is the ?preference? keyword in > \blank which permits the page break. > > %\setuphead[section][after={\blank[big,preference]}] > > \starttext > > \dorecurse{39}{Line \recurselevel\par} > > \section > > Another line > > \stoptext > > Wolfgang Thanks, but I think this one is not the problem. I have made this minexample: +++++++++++++++ \definepapersize[MyBook][A5] \setuppapersize[MyBook][A5] % Prints on paper the size of MyBook \usemodule [simplefonts][size=11pt] \setmainfont[Times New Roman][expansion=quality,protrusion=quality] \setuplayout[location=middle, topspace=1cm, bottomspace=1.5cm, width=middle, cutspace=1.3cm, backspace=1.8cm, height=fit, footer=1.2cm, grid=yes] \starttext \dorecurse{28}{Line \recurselevel\par} \section{Should not be alone} Blabliblub \stoptext +++++++++++++++++ I know: Does not look like an minexample, but was the only way to reproduce the issue. What could be the problem? Thanks Huseyin --------------020505020104090807030301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Am 18.11.2012 21:58, schrieb ntg-context-request@ntg.nl:
When you uncomment the \setuphead setting in the following example context won?t move the heading
to the next page with the text after it, the important thing to achieve this is the ?preference? keyword in
\blank which permits the page break.

%\setuphead[section][after={\blank[big,preference]}]

\starttext

\dorecurse{39}{Line \recurselevel\par}

\section

Another line

\stoptext

Wolfgang
Thanks, but I think this one is not the problem. I have made this minexample:

+++++++++++++++

\definepapersize[MyBook][A5]

\setuppapersize[MyBook][A5] % Prints on paper the size of MyBook

\usemodule [simplefonts][size=11pt]

\setmainfont[Times New Roman][expansion=quality,protrusion=quality]

\setuplayout[location=middle,

topspace=1cm,

bottomspace=1.5cm,

width=middle,

cutspace=1.3cm,

backspace=1.8cm,

height=fit,

footer=1.2cm,

grid=yes]

\starttext

\dorecurse{28}{Line \recurselevel\par}

\section{Should not be alone}

Blabliblub

\stoptext
+++++++++++++++++

I know: Does not look like an minexample, but was the only way to reproduce the issue. What could be the problem?

Thanks
Huseyin



--------------020505020104090807030301-- --===============0347351677== 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 ___________________________________________________________________________________ --===============0347351677==--