From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60835 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Trouble with customising section heads Date: Tue, 10 Aug 2010 19:23:16 +0200 Message-ID: <4C618B04.8090001@googlemail.com> References: <87bp9a8q9h.fsf@denkblock.local> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1281461013 3067 80.91.229.12 (10 Aug 2010 17:23:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Aug 2010 17:23:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 10 19:23:32 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 1OisXz-00033C-Ff for gctc-ntg-context-518@m.gmane.org; Tue, 10 Aug 2010 19:23:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8C12CA2BA; Tue, 10 Aug 2010 19:23:30 +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 XG+iOjtXnTcC; Tue, 10 Aug 2010 19:23:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BE1E3CA2A0; Tue, 10 Aug 2010 19:23:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 466ABCA2A0 for ; Tue, 10 Aug 2010 19:23:26 +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 7ZDBj3DDVDFz for ; Tue, 10 Aug 2010 19:23:23 +0200 (CEST) Original-Received: from mail-ew0-f41.google.com (mail-ew0-f41.google.com [209.85.215.41]) by balder.ntg.nl (Postfix) with ESMTP id AF69CCA28C for ; Tue, 10 Aug 2010 19:23:23 +0200 (CEST) Original-Received: by ewy28 with SMTP id 28so4989115ewy.14 for ; Tue, 10 Aug 2010 10:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=EQEblIdICc+HDMPtxhpBLD/WCSVTT4CqK5H6OEK/Jjc=; b=feEMkOaQGTNPFVqiKwyYlCtKZ57ufbfbEMvYoj/LvfLTWxXUylZKYJMopJjh8OxPu7 yUpoOqRjUEeWy85Ri5vGk88SBuQKnpFr6d/6uiEGDwV5Hi+cGIhMNehIuepASbtXUqa5 UnmED0DlZ646MoM/om14UExuIsiTWH9aSjcw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=EUfiGL8m03VwjlxEnxhSZ8MPIvCmm2ZXHg0tQYshmjNyIEXMOjsCzIyh8YlKIf/xE2 XMJ71u2/s89EQ5yOicaBmgWMwwBiuZqdAuhW9hdjC8f+0sY7Y49c8Jq/1xUBGgOirhuL IWXlSfsfd3jazC73kq8VCE58AE4wPnYT8mwKk= Original-Received: by 10.213.104.211 with SMTP id q19mr13767656ebo.45.1281461003324; Tue, 10 Aug 2010 10:23:23 -0700 (PDT) Original-Received: from meta.fritz.box (dslb-092-075-121-121.pools.arcor-ip.net [92.75.121.121]) by mx.google.com with ESMTPS id a48sm10095358eei.1.2010.08.10.10.23.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Aug 2010 10:23:22 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 In-Reply-To: <87bp9a8q9h.fsf@denkblock.local> 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:60835 Archived-At: Am 10.08.10 17:02, schrieb Elias Oltmanns: > Hi again, > > sorry for bothering you so persistently, but I really did try to hard to > find a solution -- and failed: > In the attempt to customise my section headings by means of > \setuphead[section][...command=] > > I followed the instructions at > http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings > . For the purposes of testing, I've installed a current minimals > distribution. As it turns out, neither MkII nor MkIV processes the > attached example as expected: > MkII The table of contents is incomplete, even though the wiki says it > shouldn't be; > MkIV \currentheadnumber seems to be 0 all the time. > > There is a possibility, of course, that something is wrong with my setup > of ConTeXt. But I just did another > % ./first-setup.sh --context=current > > Thanks in advance for any hint, > > Elias > > > %%%%%%%%%% > \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum] \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect }{}] Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________