From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60931 Path: news.gmane.org!not-for-mail From: Elias Oltmanns Newsgroups: gmane.comp.tex.context Subject: Re: Trouble with customising section heads Date: Sun, 15 Aug 2010 15:35:46 +0200 Message-ID: <8762zc577x.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 1281879371 768 80.91.229.12 (15 Aug 2010 13:36:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2010 13:36:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 15 15:36:08 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 1OkdNb-0000Rc-9y for gctc-ntg-context-518@m.gmane.org; Sun, 15 Aug 2010 15:36:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCD1ECA508; Sun, 15 Aug 2010 15:36:01 +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 ADhhUd9q3E-y; Sun, 15 Aug 2010 15:35:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BBA17CA502; Sun, 15 Aug 2010 15:35:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1ECAFCA502 for ; Sun, 15 Aug 2010 15:35:58 +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 cxG+fKrQ89kX for ; Sun, 15 Aug 2010 15:35:55 +0200 (CEST) Original-Received: from nebensachen.de (nebensachen.de [78.46.130.30]) by balder.ntg.nl (Postfix) with ESMTP id 91D74CA4F9 for ; Sun, 15 Aug 2010 15:35:55 +0200 (CEST) Original-Received: from upstream.obscured ([192.168.0.1]) by mail.nebensachen.de (Postfix) with ESMTPSA id E76B120DA24E for ; Sun, 15 Aug 2010 15:35:53 +0200 (CEST) X-Hashcash: 1:20:100815:ntg-context@ntg.nl::lh+ydnKyoXCraMrT:00000000000000000000000000000000000000000001lhO Mail-Copies-To: nobody Mail-Followup-To: mailing list for ConTeXt users 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:60931 Archived-At: Wolfgang Schuster wrote: > Am 10.08.10 17:02, schrieb Elias Oltmanns: >> 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. [...] >> >> %%%%%%%%%% >> \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum] > > \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect > }{}] Since I need customised headings like above in the same document that also features footnotes in the margin, I'm wedged now. As explained in http://archive.contextgarden.net/message/20100812.153552.6606809c.en.html , I'm forced to use MkII to get footnote ordering right. On the other hand, only MkIV produces a complete table of contents when I customise the headings in that document. Is there any chance to get one of those bugs fixed or to find a suitable workaround in either of the two versions of ConTeXt? Thank you ever so much for any help, 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 ___________________________________________________________________________________