From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26739 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Different pagebreaks for component and whole document Date: Mon, 03 Apr 2006 11:01:31 +0200 Message-ID: <4430E46B.2020800@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144055044 23248 80.91.229.2 (3 Apr 2006 09:04:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2006 09:04:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 03 11:04:04 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FQKya-0006bF-DS for gctc-ntg-context-518@m.gmane.org; Mon, 03 Apr 2006 11:03:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A21412798; Mon, 3 Apr 2006 11:03:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04771-01; Mon, 3 Apr 2006 11:03:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DB673127A5; Mon, 3 Apr 2006 11:01:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 16044127A5 for ; Mon, 3 Apr 2006 11:01:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04155-05-2 for ; Mon, 3 Apr 2006 11:01:35 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 092D212798 for ; Mon, 3 Apr 2006 11:01:34 +0200 (CEST) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 10881 for ; Mon, 03 Apr 2006 13:01:34 +0400 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26739 Archived-At: Aditya Mahajan wrote: > Hi, > I have run into a strange kind of a problem and I am not sure on how > to debug to figure out what is going wrong. Maybe someone with more > experience with context can help me here. > > I have the following document structure > > project: main.tex > environment:env_main.tex > products: assignments.tex > handouts.tex > > project: assignments.tex > components:assignment-01.tex > assignment-02.tex > and so on > > project: handouts.tex > component: handout-01.tex > handout-02.tex > and so on. > > Each component starts with \title which does a page break. There are > no local setups in any component. I expected that each component will > be typed out in the same manner, whether I compile the a component, > a product or the entire project. It turns out this is not the case. > > The first page of handout-01.tex is different when I compile the > project (main.tex). The pagebreak is set at a different place and I > get ugly page break at the end. If I compile handouts.tex or > handout-01.tex, the page breaks are same and there is no ugly > pagebreak at the end. > > Is it possible that such a behaviour is due to the length of the > document. main.pdf is 105 pages long, while handout-01.pdf is 4 pages > and handouts.pdf is 14 pages. It seems that due to the large length of > main.pdf, context is not trying hard enough to get good page break. > Even a manual \page[disable] does not prevent the ugly pagebreak for > main.tex. > > I am totally confused by this behaviour. Any explainations or > suggestions? > > it may be related to write nodes, marks etc that are flushed differently; if you can make a minimal example ... Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------