From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81143 Path: news.gmane.org!not-for-mail From: "Keith J. Schultz" Newsgroups: gmane.comp.tex.context Subject: Re: TOC: Chapters with and without page-numbers Date: Fri, 15 Mar 2013 09:07:33 +0100 Message-ID: References: <5142C3C5.4020307@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363334859 6745 80.91.229.3 (15 Mar 2013 08:07:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Mar 2013 08:07:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 15 09:08:04 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 1UGPgJ-0000OA-LE for gctc-ntg-context-518@m.gmane.org; Fri, 15 Mar 2013 09:08:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CCFE101F1; Fri, 15 Mar 2013 09:07:40 +0100 (CET) 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 AXgElj2bXDnB; Fri, 15 Mar 2013 09:07:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9E3A1101E8; Fri, 15 Mar 2013 09:07:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F074101E8 for ; Fri, 15 Mar 2013 09:07:37 +0100 (CET) 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 8HL+HebrMHKp for ; Fri, 15 Mar 2013 09:07:36 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 69E5F101E3 for ; Fri, 15 Mar 2013 09:07:36 +0100 (CET) Original-Received: from mout.web.de (mout.web.de [212.227.17.12]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2F7r7q6026973 for ; Fri, 15 Mar 2013 08:53:07 +0100 Original-Received: from [10.0.62.6] ([84.58.208.69]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MYeys-1UBPSW3TXO-00VcxU for ; Fri, 15 Mar 2013 09:07:34 +0100 In-Reply-To: <5142C3C5.4020307@mmnetz.de> X-Mailer: Apple Mail (2.1503) X-Provags-ID: V02:K0:cHZ9yAymHh8fe5Ypf84UULY+a/fPTmeRHhk9Xjeb7Wp KRjXjaaSc9p38tZB7jsLhBIpIRhM2TaUeUBcbOUw1EWMEtT3iS Ljkn1huGa1MRElyRykXvlThEC1YmGOF+BkxFUTvue2SdDE6NGp 1No/+1qdtHtd8D8LI970Mj6KLh4oiQR5NRpcATbv0kQMFkZb3N oM4ARjNLQAWV57UaIkYHw== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.12; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJbHR7re - 5bfba8ed324a - 20130315 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:81143 Archived-At: Hi, I could find any options to do what you want. I assume you would have to redefine completecontent command to get the functionality you need. I have not checked, but I assume that completecontent accesses a Lua-table with the TOC information. It should be easy enough to use this table to cre= ate the effect you want. regards Keith. Am 15.03.2013 um 07:46 schrieb H. =D6zoguz : > Maybe I have not made it clear, what I mean? > = > My Minexample is: > = > \setuplist[chapter][pagenumber=3Dno] > \starttext > \completecontent > \chapter{Chapter 1} > \section{Section 1} > \chapter{Chapter 2} > \stoptext > = > Now Chapter 1 is without pagenumber in the TOC, correct, because it has a= section after the chapter-title! But Chapter 2 has no sections, so it need= a page number, how to do that? ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________