From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35560 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: Re: Unnumbered TOC Date: Tue, 24 Jul 2007 22:34:51 +0200 Message-ID: References: <200707241433.11830.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1185309317 5554 80.91.229.12 (24 Jul 2007 20:35:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2007 20:35:17 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 24 22:35:14 2007 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 1IDR6A-0003Sh-7T for gctc-ntg-context-518@m.gmane.org; Tue, 24 Jul 2007 22:35:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B59D62004D; Tue, 24 Jul 2007 22:35:11 +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 23394-01-4; Tue, 24 Jul 2007 22:35:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 232262002A; Tue, 24 Jul 2007 22:35:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B1B32002A for ; Tue, 24 Jul 2007 22:35:00 +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 23394-01-3 for ; Tue, 24 Jul 2007 22:34:53 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by ronja.ntg.nl (Postfix) with ESMTP id 5DFE420022 for ; Tue, 24 Jul 2007 22:34:52 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id h2so213448ugf for ; Tue, 24 Jul 2007 13:34:52 -0700 (PDT) Original-Received: by 10.78.176.20 with SMTP id y20mr1175839hue.1185309291775; Tue, 24 Jul 2007 13:34:51 -0700 (PDT) Original-Received: by 10.78.194.13 with HTTP; Tue, 24 Jul 2007 13:34:47 -0700 (PDT) In-Reply-To: <200707241433.11830.john@wexfordpress.com> Content-Disposition: inline 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:35560 Archived-At: On 7/24/07, John R. Culleton wrote: > Sections have numbers, subjects etc. don't. What I want is a series of > subdividisions (subject, subsubject etc. without visible numbers > which nevertheless show up in a chapter table of contents, again > without numbers, just page numbers. > > I tried defining a combined list foo thus: > \definelist[subject][alternative=a] > \definelist[subsubject][alternative=a] > \definelist[subsubsubject][alternative=a] > \definecombinedlist[foo] > [subject,subsubject,subsubsubject] > [level=subsubsubject,criterium=local] > > > but when I state > \placelist[foo] > ...nothing appears. > > Should I start all over, replace subjects with sections etc. and then > try to suppress the numbering in both places? > > There is of course an easy answer that I am missing. :<( maybe this can help you ? (untested) \def\SectionListCommand#1#2#3{#1 ... #2 ... #3}% \setuplist[section] [alternative=none, before={\blank[0pt]}, after={\blank[0pt]}, sectionnumber=no, partnumber=no, command={\SectionListCommand}] \def\SectionHeadCommand#1#2#3{#1 ::: #2 ::: #3}% \setuphead[section] [command={\SectionHeadCommand}] -- luigi ---------------------------------------------------------------- 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________