From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38011 Path: news.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: chapter without number but in table of contents Date: Sat, 15 Dec 2007 17:33:08 +0100 Organization: chaos Message-ID: References: <115224fb0712150748q4e5f390br2f74a8b89fe0fa58@mail.gmail.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: ger.gmane.org 1197736552 3928 80.91.229.12 (15 Dec 2007 16:35:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Dec 2007 16:35:52 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 15 17:36:03 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 1J3Zze-0004Ds-2k for gctc-ntg-context-518@m.gmane.org; Sat, 15 Dec 2007 17:36:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B6D01FC09; Sat, 15 Dec 2007 17:35:30 +0100 (CET) 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 18577-04-3; Sat, 15 Dec 2007 17:34:53 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 049C21FBD4; Sat, 15 Dec 2007 17:34:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 183DC1FB5B for ; Sat, 15 Dec 2007 17:34:52 +0100 (CET) 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 20162-02 for ; Sat, 15 Dec 2007 17:34:14 +0100 (CET) Original-Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51]) by ronja.ntg.nl (Postfix) with ESMTP id 85AB51FBDB for ; Sat, 15 Dec 2007 17:34:14 +0100 (CET) X-UniDo-MailScanner-Watermark: 1198341235.66557@mOjMxuhQc40k7rwkBbeXdw Original-Received: from Clancy.local (f050088144.adsl.alicedsl.de [78.50.88.144]) (authenticated bits=0) by unimail.uni-dortmund.de (8.14.2/8.14.1) with ESMTP id lBFGXn6H014435 for ; Sat, 15 Dec 2007 17:33:54 +0100 (CET) X-Lieblings-Musik: the_capricorns In-Reply-To: <115224fb0712150748q4e5f390br2f74a8b89fe0fa58@mail.gmail.com> (Wolfgang Schuster's message of "Sat\, 15 Dec 2007 16\:48\:00 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) X-MailScanner-Information: UniDo-UniMail X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (nicht zwischen gespeichert, Wertung=-4.219, benoetigt 5, autolearn=not spam, ALL_TRUSTED, AWL, BAYES_00) X-MailScanner-From: patrick@gundla.ch 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:38011 Archived-At: Hello Wolfgang, >> I know that this must be an faq and I seem to have lost my context >> knowledge: >> >> I'd like to get an unnumbered chapter, but it should appear in the >> table of contents. This is what I've tried so far: >> >> -------------- >> \completecontent >> [alternative=c] >> >> \definehead[mychapter][chapter] >> \setuphead [mychapter][number=no] > > add incrementnumber=list to \setuphead This doesn't seem to work: -------------------------------------------------- \starttext \completecontent [alternative=c] \chapter{chapter1} \chapter{chapter2} \chapter{chapter3} \definehead[mychapter][chapter] \setuphead [mychapter][number=no,incrementnumber=list] \mychapter{chapter4} \stoptext -------------------------------------------------- I'd like to have an (unnumbered) entry for 'chapter4' in the table of contents. Did I misunderstand your suggestion perhaps? My version is: ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.10.10 int: english/english Patrick -- ConTeXt wiki and more: 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 ___________________________________________________________________________________