From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26167 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: wrong order of content-list items if using balanced columnsets Date: Tue, 28 Feb 2006 02:00:48 +0100 Message-ID: <4403A0C0.1050201@wxs.nl> References: <440379B9.6010609@seznam.cz> 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 1141088462 12715 80.91.229.2 (28 Feb 2006 01:01:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Feb 2006 01:01:02 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 28 02:01:00 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 1FDtEV-0003kR-59 for gctc-ntg-context-518@m.gmane.org; Tue, 28 Feb 2006 02:00:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 832B21279B; Tue, 28 Feb 2006 02:00:54 +0100 (CET) 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 14239-05; Tue, 28 Feb 2006 02:00:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 88EDB12793; Tue, 28 Feb 2006 02:00:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83CB012793 for ; Tue, 28 Feb 2006 02:00:49 +0100 (CET) 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 14267-04 for ; Tue, 28 Feb 2006 02:00:48 +0100 (CET) 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 54B0012772 for ; Tue, 28 Feb 2006 02:00:48 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 7196 for ; Tue, 28 Feb 2006 04:00:47 +0300 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: <440379B9.6010609@seznam.cz> 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:26167 Archived-At: Vit Zyka wrote: > Hello Wizards, > > the next example illustrates the problem with wrong order of > content-list items if using balanced columnsets: > > ----------------------------------------------------------------- > \setuplayout[grid=yes,topspace=1cm,bottomspace=1cm,height=middle] > \showgrid > > \definecolumnset[A][n=2,balance=yes] > \setupcolumnsetlines[A][1][1][21] > \setupcolumnsetlines[A][1][2][21] > \definecolumnset[B][n=2,balance=yes] > > \starttext > \startcolumnset[A] > \section{Knuth} > \dorecurse{2}{\input knuth \endgraf} > \stopcolumnset > \placeongrid{\hairline} > \startcolumnset[B] > \section{Zapf} > \dorecurse{1}{\input zapf \endgraf} > \blank > Content: > \placecontent[criterium=all] > \stopcolumnset > > \stoptext > -------------------------------------------------------------------- > > Problem is that the second section (Zapf) is inserted to .tui before the > first one (Knuth). My observation: on the page where one columnset (A) > is closed by \setupcolumnsetlines and the second (B) continues, .tuo > contains marks from B firstly. This makes book content unsable in this > configuration. > > Any solutions? I am thinking about: Proper order writting to .tuo or to > sort items according to mark number - it is correct (not sure if it is > implemented?). > it's a kind of bug; how about swapping the order: (page-lyr.tex) \def\settextpagecontent#1#2#3% #2 and #3 will disappear {\doifelselayerdata{OTRTEXT} {\setbox#1\hbox to \makeupwidth {\startoverlay {\tightlayer[OTRTEXT]} % first, otherwise problems with toc {\normalsettextpagecontent{#1}{#2}{#3}\box#1} \stopoverlay}% \dp#1\zeropoint}% {\normalsettextpagecontent{#1}{#2}{#3}}} (you really don't want to know what happens there -) 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 -----------------------------------------------------------------