From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80312 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Bug in label and setuphead Date: Fri, 18 Jan 2013 02:36:45 +0100 Message-ID: <84F03858-4273-4FFD-ABE0-6B85D8ADDEAB@gmail.com> References: 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="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1358473015 26171 80.91.229.3 (18 Jan 2013 01:36:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2013 01:36:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 18 02:37:14 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 1Tw0tF-0000LO-Sc for gctc-ntg-context-518@m.gmane.org; Fri, 18 Jan 2013 02:37:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0283101EE; Fri, 18 Jan 2013 02:36:48 +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 9b0dggrqvPV3; Fri, 18 Jan 2013 02:36:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9E75A101E5; Fri, 18 Jan 2013 02:36:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 909F1101E5 for ; Fri, 18 Jan 2013 02:36:44 +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 XKzWUs4hnEA7 for ; Fri, 18 Jan 2013 02:36:42 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 82C2C101E2 for ; Fri, 18 Jan 2013 02:36:42 +0100 (CET) Original-Received: from mail-ee0-f50.google.com (mail-ee0-f50.google.com [74.125.83.50]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0I1agCR007240 for ; Fri, 18 Jan 2013 02:36:42 +0100 Original-Received: by mail-ee0-f50.google.com with SMTP id e51so1551944eek.37 for ; Thu, 17 Jan 2013 17:36:41 -0800 (PST) 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=xfEs4z+mAeCqKPoKroEfIe+sfxxCxCXEhg1ezg7BYCA=; b=uq9RlQFeC7Q+HNphNtsuCp82Ht6y3qHP40V1nK91f8OdZ/WHxocexAxb/HCg0Q/SPq AvFZCVq+4GzPY54Qdl0TbHxiNhVynrDp/LG34z+7b8rQ3Z330y9wfwgEx7myyTg56o9S qRuXaQDpNTNtxkzWgmxXwC3p8HNS2kRHSTCed3+HAbOxiNloxAzCS7JIR+oz1IoZHPK+ +/oSPm2l4hDrCDxH1/aOYFsF3SnbgffsSL2a/NmW6OQiCmz9o9z8zYh4j810g1aJJIrt d8N0ICdK5tqPdEpYP5PClCAWpP6OrMRl6hI+ijPDFJ5kfJgi8jSfpU8S9Om/pbpgn1/i +wLQ== X-Received: by 10.14.215.197 with SMTP id e45mr20532983eep.0.1358473001898; Thu, 17 Jan 2013 17:36:41 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4d07543e.pool.mediaWays.net. [77.7.84.62]) by mx.google.com with ESMTPS id z8sm5116650eeo.11.2013.01.17.17.36.40 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Jan 2013 17:36:41 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.50; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QINdAGfO - fe9472c136a9 - 20130118 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:80312 Archived-At: Am 17.01.2013 um 19:20 schrieb Aditya Mahajan : > Hi, > = > (This is based on a question on tex.se: http://tex.stackexchange.com/q/94= 170/323) > = > If a new head is defined based on an existing head, it still uses the lab= el of the previous head. > = > \definehead[whatever][chapter] > = > \setuplabeltext[en][whatever=3DWhatever~] > \setuplabeltext[en][chapter=3DChapter~] > = > \starttext > \whatever{Animals} > \chapter{Plants} > \stoptext > = > Uses the label Chapter for both heads. This is because the .tuc file cont= ains label=3Dchapter for both elements. > = > utilitydata_structures_lists.collected=3D{ > { > ["metadata"]=3D1, > ["numberdata"]=3D3, > ["references"]=3D{ > ["block"]=3D"bodypart", > ["internal"]=3D1, > ["realpage"]=3D1, > ["section"]=3D1, > }, > ["titledata"]=3D{ > ["label"]=3D"chapter", > ["title"]=3D"Animals", > }, > }, > { > ["metadata"]=3D4, > ["numberdata"]=3D6, > ["references"]=3D{ > ["block"]=3D"bodypart", > ["internal"]=3D2, > ["realpage"]=3D2, > ["section"]=3D2, > }, > ["titledata"]=3D{ > ["label"]=3D"chapter", > ["title"]=3D"Plants", > }, > }, > } > = > = > Adding > = > \setuphead[whatever][label=3Dwhatever] > = > does not change anything. This looks like a bug to me. > = > Otherwise, what is the right way of changing the label of a section head? \setuphead[=85][bodypartlabel=3D=85] 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 ___________________________________________________________________________= ________