From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: wrong order of content-list items if using balanced columnsets
Date: Tue, 28 Feb 2006 15:51:40 +0100 [thread overview]
Message-ID: <4404637C.3000700@seznam.cz> (raw)
In-Reply-To: <4403A0C0.1050201@wxs.nl>
Hans Hagen wrote:
> 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}}}
>
Slaaavaaaa!
> (you really don't want to know what happens there -)
World record document with 40 balanced columnsets says it is OK.
Thanks you Hans
Vit
prev parent reply other threads:[~2006-02-28 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-27 22:14 Vit Zyka
2006-02-28 1:00 ` Hans Hagen
2006-02-28 14:51 ` Vit Zyka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4404637C.3000700@seznam.cz \
--to=vit.zyka@seznam.cz \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).