From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40936 Path: news.gmane.org!not-for-mail From: Paul Gideon Dann Newsgroups: gmane.comp.tex.context Subject: Re: TOC columns Date: Wed, 07 May 2008 13:05:45 +0100 Message-ID: <48219B19.5020500@gmail.com> References: <48218051.60805@gmail.com> <48218BF4.1050108@wxs.nl> <482194A9.2020108@gmail.com> <115224fb0805070448r47e56913t5fa36bf24d30492f@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0766544769==" X-Trace: ger.gmane.org 1210171538 8357 80.91.229.12 (7 May 2008 14:45:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2008 14:45:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 07 16:46:11 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1Jtkso-00081q-Hd for gctc-ntg-context-518@m.gmane.org; Wed, 07 May 2008 16:44:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC6B41FB89; Wed, 7 May 2008 16:43:53 +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 13642-03; Wed, 7 May 2008 16:43:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 363741FC27; Wed, 7 May 2008 14:06:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 007761FC14 for ; Wed, 7 May 2008 14:06:25 +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 31735-02-8 for ; Wed, 7 May 2008 14:05:51 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by ronja.ntg.nl (Postfix) with ESMTP id DE5FB1FB82 for ; Wed, 7 May 2008 14:05:49 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id c10so148856nfd.44 for ; Wed, 07 May 2008 05:05:49 -0700 (PDT) Original-Received: by 10.210.134.5 with SMTP id h5mr1776407ebd.109.1210161949592; Wed, 07 May 2008 05:05:49 -0700 (PDT) Original-Received: from Lemmie.local ( [83.217.97.162]) by mx.google.com with ESMTPS id b33sm2671595ika.2.2008.05.07.05.05.47 (version=SSLv3 cipher=RC4-MD5); Wed, 07 May 2008 05:05:48 -0700 (PDT) User-Agent: Thunderbird 3.0a1pre (Macintosh/2008043003) In-Reply-To: <115224fb0805070448r47e56913t5fa36bf24d30492f@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:40936 Archived-At: This is a multi-part message in MIME format. --===============0766544769== Content-Type: multipart/alternative; boundary="------------090407030602020108020805" This is a multi-part message in MIME format. --------------090407030602020108020805 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The same example produces the problem for me. Maybe I have an older version? I got MacTex pretty recently (two weeks ago), but the version is: 2007.01.12 15:56. Here's the exact source: \definecombinedlist[content][chapter] \setuplist[chapter][after={\startcolumns\placelist[section]\stopcolumns}] \placecontent \starttext \dorecurse{3} {\chapter{Chapter} \dorecurse{4}{\section{Section}}} \stoptext Paul Wolfgang Schuster wrote: > On Wed, May 7, 2008 at 1:38 PM, Paul Gideon Dann > wrote: > >> Thanks, that's genius! However, the problem I now have is that the sections >> from *both* chapters are displayed below each chapter heading. That is, >> \placelist[section] generates the same content in both contexts. >> > > The followings works for me, give us a example. > > \setuplist > [chapter] > [after={\startcolumns\placelist[section]\stopcolumns}] > > \starttext > > \placelist[chapter] > > \dorecurse{3} > {\chapter{Chapter} > \dorecurse{4}{\section{Section}}} > > \stoptext > > Wolfgang > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > --------------090407030602020108020805 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit The same example produces the problem for me.  Maybe I have an older version?  I got MacTex pretty recently (two weeks ago), but the version is:  2007.01.12 15:56.  Here's the exact source:

\definecombinedlist[content][chapter]
\setuplist[chapter][after={\startcolumns\placelist[section]\stopcolumns}]

\placecontent

\starttext
\dorecurse{3}
  {\chapter{Chapter}
   \dorecurse{4}{\section{Section}}}
\stoptext

Paul


Wolfgang Schuster wrote:
On Wed, May 7, 2008 at 1:38 PM, Paul Gideon Dann
<pdgiddie@googlemail.com> wrote:
  
Thanks, that's genius!  However, the problem I now have is that the sections
from *both* chapters are displayed below each chapter heading.  That is,
\placelist[section] generates the same content in both contexts.
    

The followings works for me, give us a example.

\setuplist
  [chapter]
  [after={\startcolumns\placelist[section]\stopcolumns}]

\starttext

\placelist[chapter]

\dorecurse{3}
  {\chapter{Chapter}
   \dorecurse{4}{\section{Section}}}

\stoptext

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________
  
--------------090407030602020108020805-- --===============0766544769== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0766544769==--