From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81880 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: typesetting TOC Date: Wed, 17 Apr 2013 19:01:39 +0000 Message-ID: <46894A5B-9F2C-450C-A5E6-F6D73AE1F382@uva.nl> References: <2F4876AD-CC60-4C93-9DC6-3941A4452596@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0931972822==" X-Trace: ger.gmane.org 1366225306 13083 80.91.229.3 (17 Apr 2013 19:01:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Apr 2013 19:01:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 17 21:01:50 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1USXc2-0005WN-Tg for gctc-ntg-context-518@m.gmane.org; Wed, 17 Apr 2013 21:01:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C098101EF; Wed, 17 Apr 2013 21:01:46 +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 BsI4plQB16Aj; Wed, 17 Apr 2013 21:01:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3780F101E8; Wed, 17 Apr 2013 21:01:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5EBE4101E8 for ; Wed, 17 Apr 2013 21:01: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 04LhTKtGD+Ja for ; Wed, 17 Apr 2013 21:01:41 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 3BA61101E7 for ; Wed, 17 Apr 2013 21:01:40 +0200 (CEST) Original-Received: from HUB02.uva.nl (hub02.uva.nl [146.50.108.231]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3HJ1eji023032 for ; Wed, 17 Apr 2013 21:01:40 +0200 Original-Received: from MBX02.uva.nl ([169.254.2.121]) by HUB02.uva.nl ([2002:9232:6ce7::9232:6ce7]) with mapi id 14.02.0342.003; Wed, 17 Apr 2013 21:01:39 +0200 Thread-Topic: [NTG-context] typesetting TOC Thread-Index: AQHOOt9o+s+EnJO080yTbmxx5naq4ZjapLWA In-Reply-To: <2F4876AD-CC60-4C93-9DC6-3941A4452596@uva.nl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.231; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VJp71E0U - fc908d2ed3bb - 20130417 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:81880 Archived-At: --===============0931972822== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_46894A5B9F2C450CA5E6F6D73AE1F382uvanl_" --_000_46894A5B9F2C450CA5E6F6D73AE1F382uvanl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable It took me quite a while to find the solution for this problem. By posting = it here, I hope this will be useful to others. \completecontent set the list composed of the chapters with a previous call= to: \setupcombinedlist[content][list=3Dchapter] and the list of chapters and included sections with: \setupcombinedlist[list=3D{chapter,section}] etcetera. Hans van der Meer On 16 Apr 2013, at 10:17 PM, "Meer, H. van der" > wrote: I am very sorry, but I still cannot understand how to get the TOC as I woul= d like it. The following does typeset the Content header but is empty otherwise. \startfrontmatter \completelist[content][criterium=3Dchapter] \stopfrontmatter I tried various possibilities from the reference manual, like \placelist[se= ction][criterium=3Dchapter]. But either this doesn't work (anymore?) or I a= m doing something very stupid. But these call do nothing. It seems so simple: use the \complete.. mechanism (because this wraps the T= OC nicely) to typeset a selection from the TOC using the criterium-mechanis= m. Which seems to me just made for this sort of action. But nothing comes o= ut of it. Hans van der Meer --_000_46894A5B9F2C450CA5E6F6D73AE1F382uvanl_ Content-Type: text/html; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable It took me quite a while to find the solution for this problem. By posting = it here, I hope this will be useful to others.

\completecontent set the list composed of the chapters with a previous= call to:
  \setupcombinedlist[content][list=3D= chapter]
and the list of chapters and included sections with:
   \setupcombinedlist[list=3D{ch= apter,section}]
etcetera.

Hans van der Meer



On 16 Apr 2013, at 10:17 PM, "Meer, H. van der" <H.vanderMeer@uva.nl> wrote:

I am very sorry, but I still cannot understand ho= w to get the TOC as I would like it.
The following does typeset the Content header but is empty otherwise.

\startfrontmatter
\completeli= st[content][criterium=3Dchapter]
\stopfrontmatter

I tried various possibilities from the reference manual, like \placelist[se= ction][criterium=3Dchapter]. But either this doesn't work (anymore?) or I a= m doing something very stupid. But these call do nothing.

It seems so simple: use the \complete.. mechanism (because this wraps the T= OC nicely) to typeset a selection from the TOC using the criterium-mechanis= m. Which seems to me just made for this sort of action. But nothing comes o= ut of it.

Hans van der Meer


--_000_46894A5B9F2C450CA5E6F6D73AE1F382uvanl_-- --===============0931972822== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0931972822==--