From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82747 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Database module and command key Date: Tue, 4 Jun 2013 18:07:15 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1370362051 29577 80.91.229.3 (4 Jun 2013 16:07:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Jun 2013 16:07:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 04 18:07:33 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ujtlk-0008VH-AB for gctc-ntg-context-518@m.gmane.org; Tue, 04 Jun 2013 18:07:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6BF11101E8; Tue, 4 Jun 2013 18:07:31 +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 kA7dDVQtDgiW; Tue, 4 Jun 2013 18:07:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BFF0A101E4; Tue, 4 Jun 2013 18:07:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CBE94101E0 for ; Tue, 4 Jun 2013 18:07:28 +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 cM71PIO4Gj35 for ; Tue, 4 Jun 2013 18:07:24 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 25473101E5 for ; Tue, 4 Jun 2013 18:07:14 +0200 (CEST) Original-Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r54G7DJu026867 for ; Tue, 4 Jun 2013 18:07:13 +0200 Original-Received: by mail-ee0-f51.google.com with SMTP id e52so130264eek.10 for ; Tue, 04 Jun 2013 09:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer; bh=pFNMS2k4C8ny4zZpDWA4knFF63zuvgthnuBay3TbrWw=; b=HzP2IlDd/agTEH9CLtsQZsbWZiXYLqxtsmmqOEk1YgShGF00DGft8lABvZxJhbP7kl 0hnUSjZfqwMoObfh229jVjPI8t6zq616l90AqbH8lTNNmv+MFgKvqIQ7KG5Ods3+F1yr iRvYGLvyhrM+idyRZmdSDgfhssxjkk3Lzn+8v9r0YFP3JP7PPzsuMsHku2OXipObghNC cjqDNnL33mAhRcpG0agSku7vAuEmIcmOvZAExtxr0IlFucXsuc9+NTZ/GgczpBSdOVnm LYL2fi5qeGDV7izbfosorr/rJkpS6OKF7SBftS8aGzqc2n6DnqxzbfjYChYjxXGZVQtV uyDA== X-Received: by 10.14.9.1 with SMTP id 1mr27182435ees.71.1370362033039; Tue, 04 Jun 2013 09:07:13 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbfad05.pool.mediaWays.net. [77.191.173.5]) by mx.google.com with ESMTPSA id b14sm22203045ees.16.2013.06.04.09.07.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 09:07:11 -0700 (PDT) X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JIg7dHw - 4b753c6b5b2c - 20130604 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82747 Archived-At: Hi Hans, why has the meaning of the command key changed in MkIV? In MkII you can define a command which has as many argument as entries in t= he list. % engine=3Dpdftex \usemodule[database] \starttext \define[3]\TestCommand{\ruledhbox{#1:#2:#3}} \defineseparatedlist[test][command=3D\TestCommand] \starttest 1,2,3 \stoptest \stoptext In MkIV the argument of the command key is applied to each entry in the list and you can=92t grab all entries with a single command. \usemodule[database] \starttext \define[1]\TestCommand{\ruledhbox{#1}} \defineseparatedlist[test][command=3D\TestCommand] \starttest 1,2,3 4,5,6 \stoptest \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________