From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25885 Path: news.gmane.org!not-for-mail From: Elliot Clifton Newsgroups: gmane.comp.tex.context Subject: Re: ToC problem Date: Mon, 6 Feb 2006 14:08:47 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139235019 9337 80.91.229.2 (6 Feb 2006 14:10:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2006 14:10:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 06 15:10:09 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6731-0004d1-OO for gctc-ntg-context-518@m.gmane.org; Mon, 06 Feb 2006 15:08:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 656ED127FD; Mon, 6 Feb 2006 15:08:54 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30675-03; Mon, 6 Feb 2006 15:08:51 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 06FA8127F7; Mon, 6 Feb 2006 15:08:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 046D8127F7 for ; Mon, 6 Feb 2006 15:08:49 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30544-05-2 for ; Mon, 6 Feb 2006 15:08:48 +0100 (CET) Original-Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.195]) by ronja.ntg.nl (Postfix) with SMTP id 14FA1127F4 for ; Mon, 6 Feb 2006 15:08:47 +0100 (CET) Original-Received: by uproxy.gmail.com with SMTP id m2so840043uge for ; Mon, 06 Feb 2006 06:08:47 -0800 (PST) Original-Received: by 10.48.42.20 with SMTP id p20mr1201413nfp; Mon, 06 Feb 2006 06:08:47 -0800 (PST) Original-Received: by 10.48.157.1 with HTTP; Mon, 6 Feb 2006 06:08:47 -0800 (PST) Original-To: ntg-context@ntg.nl Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25885 Archived-At: Hi Taco, Thanks for the suggestion. It looks good. I set up a test document, and cut and pased your example. Alas, it won't compile. Output from texexec: ! Undefined control sequence. \ArticleTitle -- \ArticleAuthor \listtextcommand #1->\begstrut #1 \endstrut \doattributes ...sname #1#2\@EA \endcsname \fi {#4 }\dostopattributes ... {\ArticleTitle -- \ArticleAuthor }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... ... l.16 ...- \ArticleAuthor }{2::0:2:0:0:0:0:0::1}{1} Any idea what's wrong? Thanks for your help. Elliot