From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49450 Path: news.gmane.org!not-for-mail From: bbvogel@home.nl Newsgroups: gmane.comp.tex.context Subject: Problem with MyItemCommand Date: Wed, 15 Apr 2009 16:06:36 +0200 Message-ID: <200904151606.36136.bbvogel@home.nl> References: <49E2FF67.8020804@uni-konstanz.de> 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: ger.gmane.org 1239804475 24422 80.91.229.12 (15 Apr 2009 14:07:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Apr 2009 14:07:55 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 15 16:09:14 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1Lu5na-0006V1-ON for gctc-ntg-context-518@m.gmane.org; Wed, 15 Apr 2009 16:09:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 142401FA41; Wed, 15 Apr 2009 16:07:44 +0200 (CEST) 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 12168-04-4; Wed, 15 Apr 2009 16:07:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A5C91FA4C; Wed, 15 Apr 2009 16:07:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BBD211FA4C for ; Wed, 15 Apr 2009 16:07:03 +0200 (CEST) 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 12168-04-3 for ; Wed, 15 Apr 2009 16:06:53 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id D22771FA41 for ; Wed, 15 Apr 2009 16:06:53 +0200 (CEST) Original-Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) by filter1-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3FE6f9v000591 for ; Wed, 15 Apr 2009 16:06:46 +0200 Original-Received: from [212.54.42.137] (helo=smtp6.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Lu5lA-0004nC-HY for ntg-context@ntg.nl; Wed, 15 Apr 2009 16:06:40 +0200 Original-Received: from 5ed61b9e.cable.ziggo.nl ([94.214.27.158] helo=kosh.lan) by smtp6.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Lu5l6-0007LL-OJ for ntg-context@ntg.nl; Wed, 15 Apr 2009 16:06:36 +0200 User-Agent: KMail/1.9.9 In-Reply-To: Content-Disposition: inline X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Lu5l6-0007LL-OJ X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.066, required 5, ALL_TRUSTED -1.80, BAYES_00 -2.60, FH_RANDOM_SURE 3.33) X-ZiggoSMTP-MailScanner-From: bbvogel@home.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.54.42.165; country=NL; region=04; city=Groningen; latitude=53.2167; longitude=6.5500; http://maps.google.com/maps?q=53.2167,6.5500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 208940478 - 0a2bb3463f31 - 20090415 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49450 Archived-At: Dear all, Is the following example still valid for MKIV or is it a bug? %from: %tex/context/base/strc-itm.tex % \def\MyItemCommand#1{{\bf#1}\quad} \setupitemgroup[itemize][command=\MyItemCommand] \starttext \startitemize \item {test} is this okay? \item {test} is this okay? \item {test} is this okay? \stopitemize \stoptext This is the error I see: This is LuaTeX, Version snapshot-0.38.0-2009041013 (Web2C 7.5.7) (myitemcommand.tex ConTeXt ver: 2009.04.15 12:15 MKIV fmt: 2009.4.15 int: english/english ............. .......... ! Argument of \MyItemCommand has an extra }. \par } \doifsomething #1->\edef \!!stringa {#1} \ifx \!!stringa \empty \expandafter ... ...fsomething {command=\MyItemCommand } {\ifcase \currentitemleve... \firstoftwoarguments #1#2->#1 \dodosetupitemgroup ...dodosetupitemgroup [#2][#3] \doifsomething {#4} {\dodod... ... l.7 Regards, B. Vogel ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________