From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58625 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Vianney_le_Cl=E9ment?= Newsgroups: gmane.comp.tex.context Subject: quotechar and command with database module Date: Sun, 9 May 2010 20:29:30 +0200 Message-ID: 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 1273429799 6046 80.91.229.12 (9 May 2010 18:29:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 May 2010 18:29:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 09 20:29:58 2010 connect(): No such file or directory 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 1OBBGI-0007jU-LE for gctc-ntg-context-518@m.gmane.org; Sun, 09 May 2010 20:29:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20504C9CB6; Sun, 9 May 2010 20:29: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 TAWGlTe-aWND; Sun, 9 May 2010 20:29:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03BACC9C40; Sun, 9 May 2010 20:29:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFC71C9C40 for ; Sun, 9 May 2010 20:29: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 7AUE+MeNpdQr for ; Sun, 9 May 2010 20:29:50 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by balder.ntg.nl (Postfix) with ESMTP id 91CF2C9B8C for ; Sun, 9 May 2010 20:29:50 +0200 (CEST) Original-Received: by fxm9 with SMTP id 9so170713fxm.14 for ; Sun, 09 May 2010 11:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=x/zge9syvnpOqvnutqxsWDYhZh59UWTtU1qnJ0HufqE=; b=ZS+pxaIl/KPP7X1FRuomDJ5+4FbAPcF05FcMK6P3mhWfo5Smx01aVHctkBSY8mteEJ c92anZZNs0lBpLS4em9MoSoSQPCVtQPowt7VNkSrix/Ue6S9WFuoygh+5Tyj1lirGW/b 8BBF0KE0UtIBk3nF9OUaEtTUfIqWeXFv35yYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=EA7MTJvOeLYQHl1Gpq5CrEchp7/C6Wa2sYyvV+MghRwx6Q7bQVdA8RYj6ebfbCEd0a UcME2hbfSjLA0vEEge/6OJNrfQ4AKaRO//IXDGexxnSK/TRHkXjtSuuDvQVCLZGiXjqF PP5wPK67LcbAQTPSwSkAxPfeRHkD3AmQQmA2s= Original-Received: by 10.239.141.65 with SMTP id b1mr294861hba.8.1273429790170; Sun, 09 May 2010 11:29:50 -0700 (PDT) Original-Received: by 10.239.174.12 with HTTP; Sun, 9 May 2010 11:29:30 -0700 (PDT) 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:58625 Archived-At: Hello, There seems to be a bug in the database module when using the quotechar and command option at the same time. Here is a minimal example. \usemodule[database] \defineseparatedlist [CSV] [separator=comma, quotechar={"}, command=\Whatever] \def\Whatever#1#2{[#1][#2]\par} \starttext \startCSV One,Two Three,Four \stopCSV \startCSV One,Two "Three,three",Four \stopCSV \stoptext It works as expected when commenting the fifth line. Regards, Vianney ___________________________________________________________________________________ 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 ___________________________________________________________________________________