From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81403 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setuphead [bodypartlabel=] Date: Tue, 26 Mar 2013 19:25:27 +0100 Message-ID: <0C15E511-98CB-4727-AEE0-7137AAE2220C@gmail.com> References: <20130326191524.0f3b3a86@iram-hb-003386.extra.cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1364322333 23598 80.91.229.3 (26 Mar 2013 18:25:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Mar 2013 18:25:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 26 19:26:00 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 1UKYZK-0003f8-Ux for gctc-ntg-context-518@m.gmane.org; Tue, 26 Mar 2013 19:25:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF39F101FE; Tue, 26 Mar 2013 19:25:34 +0100 (CET) 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 5MYqr3isdLPA; Tue, 26 Mar 2013 19:25:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 33ED6101EA; Tue, 26 Mar 2013 19:25:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 334E6101EA for ; Tue, 26 Mar 2013 19:25:31 +0100 (CET) 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 A-QUeSjTKa1z for ; Tue, 26 Mar 2013 19:25:30 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 1B86E101E5 for ; Tue, 26 Mar 2013 19:25:30 +0100 (CET) Original-Received: from mail-bk0-x236.google.com (mail-bk0-x236.google.com [IPv6:2a00:1450:4008:c01::236]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2QIPT9x001023 for ; Tue, 26 Mar 2013 19:25:29 +0100 Original-Received: by mail-bk0-f54.google.com with SMTP id q16so1098217bkw.13 for ; Tue, 26 Mar 2013 11:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=TBmEiFFT3o2Wcuxkx1azTVcXFqUlU8uCvYto/goZhAU=; b=NUgZtx83J0DtVoF30Vi7kztqvCfePC7UkAaFlhlNZvF/FAiR5HjmHzhc6vQFKPhbWm ASZTdTM/NhDQF39BPiqaHCQgMOGRwfQvnzalwqD7+egntJ1iXRjAEQVMoNM+R7YwQ/e/ uzzlzt+OBn+rs5ACMKlI7JPyR1cm5K/SPYb3KrtxdkrL5IR43iFitQBbELKVmx/Hsi5I 75YDXD4IfF84Ql3x6X7u7o5hKiin5pFKp+JvztrizjAdD4EMdtCG90HostKR42/20XlN UVMUIdtkXxPgdFE+Bo0mBgzGPVpo63Mw4zaHggqkYYZBftdZeM9Nw+83cVBQKfZLdY/2 4Dew== X-Received: by 10.204.231.143 with SMTP id jq15mr8462536bkb.76.1364322329156; Tue, 26 Mar 2013 11:25:29 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe5e6a.pool.mediaWays.net. [77.190.94.106]) by mx.google.com with ESMTPS id v2sm4417915bkw.5.2013.03.26.11.25.27 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Mar 2013 11:25:28 -0700 (PDT) In-Reply-To: <20130326191524.0f3b3a86@iram-hb-003386.extra.cea.fr> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Jgiptk5 - 6a44cff35bc4 - 20130326 X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81403 Archived-At: Am 26.03.2013 um 19:15 schrieb Alan BRASLAU : > \setuplabeltext [chapter=3DChapter ] > = > enables a label in chapter headings. > = > Sometimes, one wants to have an unnumbered chapter-level structure that > otherwise appears in the table of contents, bookmarks, marking, etc. > without having to make many special definitions. > = > One suggests: > \definehead [NOchapter] [chapter] > \setuphead [NOchapter] [incrementnumber=3Dno,number=3Dno,bodypartlabel=3D] > = > \starttext > \startNOchapter [title=3DIntroduction] > \stopNOchapter > \startchapter [title=3DFirst chapter] > \stopchapter > \stoptext \startnamedsection[NOchapter][title=3D=85] =85 \stopnamedsection \startnamedsection[chapter][title=3D=85] =85 \stopnamedsection > And then adding NOchapter to the contents combined list, to the > bookmarks, and so on, not to speak about marking. Ugh! > = > Much easier would be the occasional use of > \startchapter [title=3DIntroduction,incrementnumber=3Dno,number=3Dno,body= partlabel=3D] > \stopchapter > but this does not work! One gets: "Chapter Introduction". > That this does not work I suppose might be somewhat of a bug... > = > Even better, more coherent, more logical, would be > \startchapter [title=3DIntroduction,incrementnumber=3Dno,number=3Dno,labe= l=3Dno] > \stopchapter > (Note that "label=3Dno" is used for lists). > = > This would also have the advantage of allowing the chapter labeltext to b= e defined > for each language, rather than be empty, so that it could then be simply = turned on or off. \setuplabeltext[en][chapter=3D=85] \setuplabeltext[nl][chapter=3D=85] > In fact, label=3Dno would be the default setup. \setuplist[chapter][label=3Dyes|no|none|] Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________