From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60839 Path: news.gmane.org!not-for-mail From: Elias Oltmanns Newsgroups: gmane.comp.tex.context Subject: Re: Trouble with customising section heads Date: Wed, 11 Aug 2010 00:00:49 +0200 Message-ID: <87aaou6sby.fsf@denkblock.local> References: <87bp9a8q9h.fsf@denkblock.local> <4C618B04.8090001@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1281477681 10615 80.91.229.12 (10 Aug 2010 22:01:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Aug 2010 22:01:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 11 00:01:14 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 1Oiwsd-0000XL-78 for gctc-ntg-context-518@m.gmane.org; Wed, 11 Aug 2010 00:01:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AACF1CA2D5; Wed, 11 Aug 2010 00:01:06 +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 TH-rTsv38kU7; Wed, 11 Aug 2010 00:00:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D98ACA2C8; Wed, 11 Aug 2010 00:00:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD129CA004 for ; Wed, 11 Aug 2010 00:00:52 +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 nAbtYrXbzzln for ; Wed, 11 Aug 2010 00:00:50 +0200 (CEST) Original-Received: from nebensachen.de (nebensachen.de [78.46.130.30]) by balder.ntg.nl (Postfix) with ESMTP id 3C2ADCA2D1 for ; Wed, 11 Aug 2010 00:00:50 +0200 (CEST) Original-Received: from upstream.obscured ([192.168.0.1]) by mail.nebensachen.de (Postfix) with ESMTPSA id 2153820DA24E for ; Wed, 11 Aug 2010 00:00:50 +0200 (CEST) X-Hashcash: 1:20:100810:ntg-context@ntg.nl::havxmYZ0njLErL0L:00000000000000000000000000000000000000000003JJb Mail-Copies-To: nobody Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <4C618B04.8090001@googlemail.com> (Wolfgang Schuster's message of "Tue, 10 Aug 2010 19:23:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) 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:60839 Wolfgang Schuster wrote: > 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 > }{}] I see. Well, this seems to fix the issue with MkIV at least. Thanks, Elias ___________________________________________________________________________________ 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 ___________________________________________________________________________________