From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61797 Path: news.gmane.org!not-for-mail From: Aldo Lazich Newsgroups: gmane.comp.tex.context Subject: Re: How to hide or remove chapter e section number in subsection head and in TOC subsection head? Date: Tue, 21 Sep 2010 20:09:47 +0200 Message-ID: <8F69C72D-D3F1-410D-8007-CB715A227602@yahoo.com> References: <9B53778F-D755-44A2-B9C5-DCCC60AB1274@yahoo.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285092614 23100 80.91.229.12 (21 Sep 2010 18:10:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2010 18:10:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 21 20:10:10 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oy7IA-0004S3-3E for gctc-ntg-context-518@m.gmane.org; Tue, 21 Sep 2010 20:10:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2D89CA6DC; Tue, 21 Sep 2010 20:10:08 +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 h-N5g2RYwqgm; Tue, 21 Sep 2010 20:10:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5CB3CA696; Tue, 21 Sep 2010 20:10:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74D83CA696 for ; Tue, 21 Sep 2010 20:10:03 +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 O3DE88r-BiBL for ; Tue, 21 Sep 2010 20:09:52 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 05DE0CA693 for ; Tue, 21 Sep 2010 20:09:52 +0200 (CEST) Original-Received: from smtp101.prem.mail.ac4.yahoo.com (smtp101.prem.mail.ac4.yahoo.com [76.13.13.40]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id o8LI9o8r000343 for ; Tue, 21 Sep 2010 20:09:51 +0200 Original-Received: (qmail 77959 invoked from network); 21 Sep 2010 18:09:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=fPbVckU0LqPVPsxRA5Rkl1T7L40BnaRZBucwOYiuH0Vi+gUiBgznwrIQGngrpNqLI+0knKDwV6dfLe2MYW6ObgWmXJYnhaaIfAisof1+Mlvi/VVVqQ6IZb6FrI6uCEkX1YK6REQUlL98T7axfk+1UiHDBLFHu0LiJtEvfmFrb3Q= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1285092589; bh=jOEDgPFr1bFKroRv0byyh5hsF1JOC5Pnt96XvowDY0k=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=obMLPUMgyWNC2XZWKXcRpiw1u0nZR6Iy6uAccYEAF61CfrIGLbjoDpqeaMQF+G/HoP65PpZE3fRaPjJ6RyT2G1iJs0EBmyF7eg5ox2w5Srhqrsux5qZ1kcoi+bVW8kMw0dNTM7526TU3pplt9JkMxV2VHoht5boxfibAWNVUEIE= Original-Received: from [192.168.0.23] (aldo_lazich@87.8.122.215 with plain) by smtp101.prem.mail.ac4.yahoo.com with SMTP; 21 Sep 2010 11:09:49 -0700 PDT X-Yahoo-SMTP: N.VfNGqswBDZAhZg0pF695BiC8KYhw5W X-YMail-OSG: njowgZcVM1nyUWN6VBjfq_e3uiMRaDLLnKwg2J9PgcGnhwU twTVDwSzOuiMFAWWh2KhZgVKbkTlKOIK66vn.4EmydMvDHaJ5OtF9r42IG1U KFKGDAhmBHnsBKhRqCLkUSKXQsRwePPsSl5BL7UlyYZWm6WvRIX6PCxqZct2 ST1JKnDDpYwsINYPyIP9MDeIfANm8JHIBkFRj7UW9BENqCZZ48Um08QyMwtW JQwf0I.OKX4Tg8zq9PeIcBQqLk4sWsEBxxb3rWJsyCEeb81vwDufX8BE67Ly ff8s5PSGC6MBWlKMUyCQAKBd6aMLxpFBTfvZU8M.kGsVD9XvCYziFVhhwO03 cO2jw X-Yahoo-Newman-Property: ymail-3 In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.9333 (Score 4.2, tokens from: @@RPTN) X-CanIt-Geo: ip=76.13.13.40; country=US; region=CA; city=Sunnyvale; postalcode=94089; latitude=37.4249; longitude=-122.0074; metrocode=807; areacode=408; http://maps.google.com/maps?q=37.4249,-122.0074&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bD9u9Pu9 - ab8e56eecf31 - 20100921 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:61797 Archived-At: My first problem was about headers and I resolved it this way: ----8<----------------------------------- \definehead[capo][chapter] \setuphead [capo] [alternative=middle,ownnumber=yes] \def\myownnumber#1{\currentstructureownnumber} %-------------------^^^^^^^^^^^^^^^^^^^^^^ \definehead[sezione][section] \setuphead [sezione][alternative=middle,ownnumber=yes,numbercommand=\myownnumber] \definehead[articolo][subsubsection] \setuphead [articolo] [alternative=middle,ownnumber=yes] \starttext \capo{CAPO I}{Titolo del primo papo} text \sezione{Sezione I}{Titolo della prima sezione} text \articolo{ART. 1}{Titolo del primo articolo} text \sezione{Sezione II}{Titolo della seconda sezione} text \articolo{ART. 2}{Titolo del secondo articolo} \capo{CAPO II}{Titolo del secondo papo} text \articolo{ART. 3}{Titolo del terzo articolo} text \sezione{Sezione III}{Titolo della terza sezione} text \articolo{ART. 4}{Titolo del quarto articolo} text \articolo{ART. 5}{Titolo del quinto articolo} text \stoptext ----8<----------------------------------- I don't know if it the best solution but it works. @ Luigi, now I'll study the *lists* :-) On 18Sep 2010, at 5:14 PM, luigi scarso wrote: > Do you want to modify the list , right ? > If so, then you should see > http://wiki.contextgarden.net/Reference/en/definecombinedlist > until > http://wiki.contextgarden.net/Reference/en/setuplist > -- > 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________