From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81462 Path: news.gmane.org!not-for-mail From: Malte Stien Newsgroups: gmane.comp.tex.context Subject: setuphead and Table of Content Date: Sun, 31 Mar 2013 20:53:59 +1100 Message-ID: <4E47A649-B0B3-45EF-A125-3C36F8BFA901@stien.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364723655 18644 80.91.229.3 (31 Mar 2013 09:54:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Mar 2013 09:54:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 31 11:54:40 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 1UMEyD-0004sQ-2i for gctc-ntg-context-518@m.gmane.org; Sun, 31 Mar 2013 11:54:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2976C101F1; Sun, 31 Mar 2013 11:54:12 +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 CyTO+F9u3c3u; Sun, 31 Mar 2013 11:54:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 43740101E4; Sun, 31 Mar 2013 11:54:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 912AB101E4 for ; Sun, 31 Mar 2013 11:54:07 +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 lQ94MYxTLQ28 for ; Sun, 31 Mar 2013 11:54:07 +0200 (CEST) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id EE4E2101E3 for ; Sun, 31 Mar 2013 11:54:06 +0200 (CEST) Original-Received: from homiemail-a32.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2V9s42Q008224 for ; Sun, 31 Mar 2013 11:54:05 +0200 Original-Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id 32E3A584065 for ; Sun, 31 Mar 2013 02:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=stien.de; h=from :content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; s=stien.de; bh=oT5cv28Vf0tJFys8+Jy9bW/jZJU=; b=X0UUX4zyvaPpDHdYYuY9YrPeXQB2jnhGWM3gc6Fn8XfBmB6s9EUXWPsCbBkr3 NbWhaD9g/EtsdDsuW4ZCSZuFCVypr8E9GpB9QaAG39sdh26G4RamKB+7o2tz6b5c Iz6cSwseeJthxdDWky0X0F4bX1hIyY2yh0JMdOvvYIEpfY= Original-Received: from [192.168.0.6] (51.125.96.58.static.exetel.com.au [58.96.125.51]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: malte@stien.de) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTPSA id 96BC0584058 for ; Sun, 31 Mar 2013 02:54:02 -0700 (PDT) X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0002 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=208.97.132.119; country=US; region=CA; city=Brea; postalcode=92821; latitude=33.9167; longitude=-117.9001; metrocode=803; areacode=714; http://maps.google.com/maps?q=33.9167,-117.9001&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04Ji9S5Rr - 1e186e9d7b42 - 20130331 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:81462 Archived-At: Hello everyone, I have defined my own set of heads with \setuphead like so, such that I can supply my own numbers: \definehead[foosection][section] \setuphead[foosection][number=yes, ownnumber=yes, sectionsegments=section] However, I need them to show up in the table of content. What's the trick? Regards, Malte. ___________________________________________________________________________________ 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 ___________________________________________________________________________________