From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96130 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Vertical padding in tables Date: Mon, 12 Sep 2016 19:31:38 +0200 Message-ID: <57D6E67A.7040309@gmail.com> References: <57D5807B.2090300@gmail.com> <57D6A002.8020208@gmail.com> <57D6E429.9050105@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8692762441413817899==" X-Trace: blaine.gmane.org 1473701536 10868 195.159.176.226 (12 Sep 2016 17:32:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2016 17:32:16 +0000 (UTC) User-Agent: Postbox 5.0b5 (Macintosh/20160907) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 12 19:32:12 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjV5W-000218-2D for gctc-ntg-context-518@m.gmane.org; Mon, 12 Sep 2016 19:32:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 202DC17F36; Mon, 12 Sep 2016 19:31:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YAgF6Dh34HWi; Mon, 12 Sep 2016 19:31:54 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7D16717F3B; Mon, 12 Sep 2016 19:31:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8155E17F36 for ; Mon, 12 Sep 2016 19:31:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p_98jgTUesTr for ; Mon, 12 Sep 2016 19:31:52 +0200 (CEST) Original-Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3D2A117F32 for ; Mon, 12 Sep 2016 19:31:42 +0200 (CEST) Original-Received: by mail-wm0-f48.google.com with SMTP id b187so147064130wme.1 for ; Mon, 12 Sep 2016 10:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=oqNZEqzoZTZnFSCqhm/VZ24aYSwYVgQkoT0HjZEmVIk=; b=RpPqklPCoyvbqYrmCVoUIylvJ1IoaGUWRoIVc2AQ+7kzI02H8gzAEeacg22wxJ5qcR 6HDZYRW5Ea8rRD7i+BBt0JLbLhmpVudgGtlfc+T4Su+kE2HBnen8VNRWIMX7OMZW7378 I9CPl9hzNBe/9B/eB2elO25fZ6r6GMOcIjO1uFHGXi4lhPjUjwpQGEgL94BxwmD52BM4 qBl0G32Ct8ttHtfqzCmmYuY8aIjJUtUNc73Bo1gbjA3q6pbc5ftFDFtjovBzdWtsYxA2 g3nm8W51Bt20gjfqK4WSh3ZRXdZ5bvaBwDuRStAZfcpZ4Vo64BXu/VyK4mmGsC43pYYA Oagw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=oqNZEqzoZTZnFSCqhm/VZ24aYSwYVgQkoT0HjZEmVIk=; b=GnvNHT/Tqlb9atTNFVb+aUDlxBhlyV48qlLRdHQ6q/LCjW2p1gURomo4dNgTyteWDr lIdW0oyuq1lvuFnUJaYhqq4CAIatcgLG7p0sRbkhQRL3xJ2GPac3UAQyLQnAQO2vu8Dy yQ/LegDu2j+Rt6qHu4C/fwpHUS1bM9lHemIrbJVYNcIYxyQFKk/AkFTuZnhmHR2vqMPJ TMfl6jVTtyjBUz4UlnZ67pFznupxckSlw9rAgZZI1ImqpcB4Zq8hRY7v4P5OFrJhIG+1 ATNOk1RJQ73FEmWGaH+IVOtss9XNiR1uDwR26Epauebx2id7q6R3dsCq14SEl40Uj2Qt s5Yg== X-Gm-Message-State: AE9vXwNfD86YCkays5pLuabeNxEWf1FkzZqXxzjf/iHIIe8xfiMakNXZj/ucuPntnvOVpw== X-Received: by 10.28.156.16 with SMTP id f16mr11337465wme.56.1473701501660; Mon, 12 Sep 2016 10:31:41 -0700 (PDT) Original-Received: from keima.localdomain (x2f26df2.dyn.telefonica.de. [2.242.109.242]) by smtp.gmail.com with ESMTPSA id o5sm18833670wmg.16.2016.09.12.10.31.40 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Sep 2016 10:31:41 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:96130 Archived-At: This is a multi-part message in MIME format. --===============8692762441413817899== Content-Type: multipart/alternative; boundary="------------090105060809090009020903" This is a multi-part message in MIME format. --------------090105060809090009020903 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Jose Luis Arellano > 12. September 2016 um 19:25 > Is there a way to import data from csv using tabulate? \usemodule[database] \startbuffer[data] 927,273,276 308,930,298 934,390,278 \stopbuffer \defineseparatedlist [TESTLIST] [separator=comma, before={\starttabulate[|l|l|l|]}, after=\stoptabulate, first=\NC, last=\NR, right=\NC] \starttext \processdatabasebuffer[TESTLIST][data] \stoptext Wolfgang --------------090105060809090009020903 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
12. September 2016 um 19:25
Is there a way to import data from csv using tabulate?
\usemodule[database]

\startbuffer[data]
927,273,276
308,930,298
934,390,278
\stopbuffer

\defineseparatedlist
  [TESTLIST]
  [separator=comma,
   before={\starttabulate[|l|l|l|]},
   after=\stoptabulate,
   first=\NC,
   last=\NR,
   right=\NC]

\starttext
\processdatabasebuffer[TESTLIST][data]
\stoptext

Wolfgang
--------------090105060809090009020903-- --===============8692762441413817899== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8692762441413817899==--