From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81148 Path: news.gmane.org!not-for-mail From: john Culleton Newsgroups: gmane.comp.tex.context Subject: Re: TOC: Chapters with and without page-numbers Date: Fri, 15 Mar 2013 11:53:11 -0400 Organization: WexfordPress Message-ID: <20130315115311.07a2e1e6@localb.wexfordpress.net> References: <5142C3C5.4020307@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363362803 26079 80.91.229.3 (15 Mar 2013 15:53:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Mar 2013 15:53:23 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 15 16:53:48 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 1UGWx0-0004Lt-UW for gctc-ntg-context-518@m.gmane.org; Fri, 15 Mar 2013 16:53:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 15C4F10202; Fri, 15 Mar 2013 16:53:24 +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 8UV3UAlwnK6u; Fri, 15 Mar 2013 16:53:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2068B101EE; Fri, 15 Mar 2013 16:53:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4A936101EE for ; Fri, 15 Mar 2013 16:53:15 +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 SGZCPLO3l4tF for ; Fri, 15 Mar 2013 16:53:11 +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 893F5101E8 for ; Fri, 15 Mar 2013 16:53:11 +0100 (CET) Original-Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:32]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2FFcd4j020021 for ; Fri, 15 Mar 2013 16:38:40 +0100 Original-Received: from omta09.westchester.pa.mail.comcast.net ([76.96.62.20]) by qmta03.westchester.pa.mail.comcast.net with comcast id BoUR1l00C0SCNGk53rt8wT; Fri, 15 Mar 2013 15:53:08 +0000 Original-Received: from localb.wexfordpress.net ([68.50.233.152]) by omta09.westchester.pa.mail.comcast.net with comcast id Brt71l00u3HwwZ83Vrt75S; Fri, 15 Mar 2013 15:53:08 +0000 In-Reply-To: X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.10; x86_64-unknown-linux-gnu) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1363362788; bh=cYWymZzocWnhj+Ji9BlHWc9czJOkb+eHfUyBVeFI524=; h=Received:Received:Date:From:To:Subject:Message-ID:Mime-Version: Content-Type; b=LxKC/0+1CSAP/dxvZzvFqKWUsUBcNi+iiHsOGVwZqJeheG2L2s+ITvSrz18oWPv6E ywOde4DGAmRhq2F6BZfuFHv28xjkmVMppS2RVjGFgYHGNDmFC7kVCd+kNG6QVyNaDK UaWJB5QQIQB0pnOCsfmMA27b/AWrIAM2MJYCI0wxOI8UGPvDYhb1zis0zRYlTEGvXf GByVBaGXj5sEbqy2g/R3Z6TpnVISNXylVpJgMccMJ7KG4necGJlAA25AAYr4BiKxw2 oeabFWC/NQAFsL4xvJPRplQeuBt083Z4egZFDN3J75aP09MvmMtDsO7EcTLNYHxUiV nsH981/T7TZ+Q== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2001:558:fe14:43:76:96:62:32; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJbPCDh9 - 0291ad79360d - 20130315 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81148 Archived-At: On Fri, 15 Mar 2013 09:07:33 +0100 "Keith J. Schultz" wrote: > 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 create 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 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 > _________________________________________________________________________= __________ With other versions of TeX (eplain comes to mind) You can edit the TOC file external to the tex program, and then take a second run without recording page numbers. There is a command for this. With Context this might be too complex. = I see no problem with having a page number on chapter 1 however. Most books look that way. The Chicago Manual of Style has: Proofs (a chapter) 91 Introduction (a section) 91 -- = John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" available at http://www.booklocker.com/books/4055.html ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________