From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79954 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Whitespace and quotechar in database module Date: Tue, 18 Dec 2012 09:20:34 +0100 Message-ID: <20121218082034.GC3400@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0226463396==" X-Trace: ger.gmane.org 1355818846 16061 80.91.229.3 (18 Dec 2012 08:20:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2012 08:20:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 18 09:20:59 2012 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 1TksQ6-0002z3-9W for gctc-ntg-context-518@m.gmane.org; Tue, 18 Dec 2012 09:20:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4BD80101F2; Tue, 18 Dec 2012 09:20:44 +0100 (CET) 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 moFZfzWGvpLu; Tue, 18 Dec 2012 09:20:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 01BF110223; Tue, 18 Dec 2012 09:20:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DA4810223 for ; Tue, 18 Dec 2012 09:20:42 +0100 (CET) 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 pQVjq99miQY6 for ; Tue, 18 Dec 2012 09:20:41 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 73B72101F2 for ; Tue, 18 Dec 2012 09:20:41 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qBI8KdkO022136 for ; Tue, 18 Dec 2012 09:20:40 +0100 Original-Received: from b.earth.lavabit.com (b.earth.lavabit.com [192.168.111.11]) by karen.lavabit.com (Postfix) with ESMTP id AAD2F11BCD1 for ; Tue, 18 Dec 2012 02:20:37 -0600 (CST) Original-Received: from homerow (miun110-236.dynamic.miun.se [193.10.110.236]) by lavabit.com with ESMTP id 0NLWECVG6Z1A for ; Tue, 18 Dec 2012 02:20:36 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=NPLocY8FUBdrX+7i585IxtV2ECd4UY6dq9XYE8JgmSf29OVC/jkG7qwaer7UNaVBggiiU8DKWOEijpQpEbNzrOXLILEg4LDMA2KPQyn9l0mV6l7WZFu3pg9fES8VqQFZ/3lDna2oO1LSR0S2bH9utdge7Nfkix+gTJEQf2y/ivA=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:MIME-Version:Content-Type:Content-Disposition:User-Agent; Mail-Followup-To: mailing list for ConTeXt users User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08IAUkDne - 549f933d6ae9 - 20121218 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:79954 Archived-At: --===============0226463396== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EY/WZ/HvNxOox07X" Content-Disposition: inline --EY/WZ/HvNxOox07X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, the following two database examples produce different output due to the white space between the field separator and the quotechar. \usemodule [database] \defineseparatedlist [CSV] [quotechar=", before={\starttabulate[|l|l|]}, after=\stoptabulate, first=\NC,last=\NR, left=,right=\NC] \starttext \startCSV alpha, loremloremlorem beta,"ipsum, ipsum, ipsum" \stopCSV \startCSV alpha, loremloremlorem beta, "ipsum, ipsum, ipsum" \stopCSV \stoptext Can the parser be made tolerant to this space? Marco --EY/WZ/HvNxOox07X Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQ0CdSAAoJEPGqVaNSn0iKxt0H/AqqD73t4Urdy8c2uj/BS9ov z548x2KRjHC6XOVbrLgKY3OPtWHkAZc0aqbK3vArLw+f9bYEf1p/qWa9lMZQQ8KG kIaIPcp9UDwdqJ4m4GmypjRPtuE2tW7d48scQMZ4jAmOYgzCV62Nh43Oci2LExIT Pw6lO6IGfNIH5XF8yqXYEyFwCfWvRFRK9ZFgGfYdi2xBNvxKufr+OHpoGM6DK+IQ JaIVDrIFc76+8G9eR9dIR0V1m0Jr4CPz8JK/psXRX+vYn9SwZerVAOrmvVprJ6Uz jUW47jnfB7l1cysLC4zqOAIBlm+1VoG1GHF/pCIjjA27cHhia10XO3TmjA123kY= =amsQ -----END PGP SIGNATURE----- --EY/WZ/HvNxOox07X-- --===============0226463396== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0226463396==--