From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84072 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?=22H=2E_=D6zoguz=22?= Newsgroups: gmane.comp.tex.context Subject: Re: Different counters for titles Date: Tue, 03 Sep 2013 10:24:09 +0200 Message-ID: <52259CA9.1000101@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378196658 22587 80.91.229.3 (3 Sep 2013 08:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2013 08:24:18 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 03 10:24:20 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VGluN-0001GF-GW for gctc-ntg-context-518@m.gmane.org; Tue, 03 Sep 2013 10:24:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9EC261020F; Tue, 3 Sep 2013 10:22:49 +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 i0c467Cmag4f; Tue, 3 Sep 2013 10:22:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3428010203; Tue, 3 Sep 2013 10:22:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2DE0C10203 for ; Tue, 3 Sep 2013 10:22:46 +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 jiYO2jA8Tob6 for ; Tue, 3 Sep 2013 10:22:44 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 9395F101DE for ; Tue, 3 Sep 2013 10:22:44 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r838OC9i005091 for ; Tue, 3 Sep 2013 10:24:12 +0200 Original-Received: from [192.168.0.190] (dyndsl-095-033-070-157.ewe-ip-backbone.de [95.33.70.157]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0LckOB-1VgEx90Lot-00jqFJ; Tue, 03 Sep 2013 10:24:12 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 X-Provags-ID: V02:K0:5YKNbV6UMeyEAkq1Uf4ckrcKg6nC1hAhMwiauNUldAP ki9irJsamz3DREoF4tuOgYa02F/xbx4bAC0ZXErZKQJ48IR9Ls muO8iHv5HgZ33MUkBEvqVt0luoZBbwalOQvEHKEMSkgrsdcJZN GVNM2SG35pb1XyNaaLRs5aVWu1uPdOc6bMcoj87ZmoTSPBiaI7 BWHsG3H2SNd/jHAEbdI+t7U3XKokt3YaujW1RAKDJFclJOvY/A shgaInuBw7a9DVNoBudUtbqgrt5kPeTBP+K12rphJOAF1ykTIF X1L2mBqiYhX3tMKQ2xYW0S6IRkdvLWAAbULx/pdIMRKvmcGPCR w/tqymXZQI2UKFWiMZLQ= X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.126.187; 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: 08Kkwoc4d - 555e069f7ac9 - 20130903 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:84072 Archived-At: > \startchapter[ownnumber=1,title=chap 1] This cheat gives the chapter his own number, but the counter still counts. So for my minexample it does not work: \definehead[mychapter][chapter] \setuphead[mychapter][number=no] \setupcombinedlist [content] [list={mychapter, chapter, section}] \starttext \completecontent \startmychapter[ownnumber=0,title=Vorwort] \chapter{First Chapter} \section{Some section in the first chapter} \chapter{Second chapter} \section{Some section in the second chapter} \stoptext Still "first chapter" has the number 2 etc. Of course I could change all chapter numbers by my own with this cheat "ownnumber", but that would be inappropriate, I have many of them in my currect project, and maybe things change and then I have to change and correct all of them again and again ... Maybe this way would work too: To define a new title (same styled like chapter, but not a clone), which has no counter and to add this title "Vorwort" into the toc. Then the first "real" chapter would automatically begin with "1"?! Would that work, and if yes, how to do that? Huseyin ___________________________________________________________________________________ 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 ___________________________________________________________________________________