From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87661 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: sections Date: Sun, 01 Jun 2014 19:54:26 +0200 Message-ID: <538B68D2.5010405@gmx.es> References: <538B13B9.1030700@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401645295 6037 80.91.229.3 (1 Jun 2014 17:54:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2014 17:54:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 01 19:54:51 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 1Wr9y6-00062T-Q5 for gctc-ntg-context-518@m.gmane.org; Sun, 01 Jun 2014 19:54:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3792010211 for ; Sun, 1 Jun 2014 19:54: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 Hss3fM1dAxzI for ; Sun, 1 Jun 2014 19:54:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 09E2C101EC for ; Sun, 1 Jun 2014 19:54:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6662101E3 for ; Sun, 1 Jun 2014 19:54:42 +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 DzO3-zWddqo6 for ; Sun, 1 Jun 2014 19:54:41 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 44050101E2 for ; Sun, 1 Jun 2014 19:54:36 +0200 (CEST) Original-Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s51HsYR2029259 for ; Sun, 1 Jun 2014 19:54:35 +0200 Original-Received: from [192.168.1.33] ([83.52.97.162]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0Lnx9i-1WKJ7216ts-00g3gr for ; Sun, 01 Jun 2014 19:54:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <538B13B9.1030700@wxs.nl> X-Provags-ID: V03:K0:vxVr20mKRAq+rZxb5UBvVDNGrBE0LVq0Uc5yzYNXifkJICiYmv8 aAYf0MWnqno3I0ac/r+4Nx/iX0FwfruKXkANHxIgWkkT+AB+wRg3fEHIOQOsLCtadRLeI3S Fy1AicUrHJqXXgHLi9SXFv0TvpAPm50uDg6XABqS82oXQ8hWLwZx6l4U6bnMjltATAy9pNX JXsvQjAKJHOamapVZ+IEw== X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=74.208.4.201; country=US; region=Pennsylvania; city=Wayne; latitude=40.0440; longitude=-75.3877; http://maps.google.com/maps?q=40.0440,-75.3877&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TM95SzCW - becb728c6688 - 20140601 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:87661 Archived-At: Hi Hans, many thanks for your explanation and sorry for the trouble. I created the test case that only contains three issues related to page breaks. Many thanks for the new beta, I=92m afraid I=92m still experiencing issues. \showframe\showgrid \setupbodyfont[pagella,15pt] \starttext \dorecurse{100}{This is a sentence. } \startitemize \dorecurse{3}{\item This is an item.\par} \stopitemize \stoptext Previous beta located two items on the first page. Latest beta locates only one. But when items are higher than two, the first item disappears from the first page in the second run. And my first sample works fine with the new beta, but not with the real book. I=92ll try to get a new sample. Many thanks for your help again, Pablo. On 06/01/2014 01:51 PM, Hans Hagen wrote: > Hi Pablo, > = > The section breaks are a bit of a headache. In the old mechanism (also = > mkii) we used penalties between different section levels (different = > values so that there is some hierarchy). > = > In mkiv we have a weighted penalty/glue mechanism which has advantages = > but can also create side effects. The method of a few weeks ago could = > deal with > = > \section followed by 100 \subsections > = > i.e. no text between this. In a strict mechanism you end up with one = > long page fur to all the penalties. So, there was some precaution for = > this. However that didn't work well with content following sections that = > prefers breaks (read: section head followed by e.g. itemize or tabulate). > = > So, the newer mechanism tries to analyze the page stream which = > (currently) is somewhat tricky. That's why we need to iterate to an = > acceptable solution. > = > Some of these mkiv mechanisms are already a bit old and could be done = > better using some newer luatex trickery (but i need tome to do that). > = > It would be nice to have a large test case for this (sort of hard to = > make one as some trial and error is involved). As you already have some, = > best collect them for future reference. > = > A new beta ... > = > Hans -- = http://www.ousia.tk ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________