From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95060 Path: news.gmane.org!not-for-mail From: cryo shock Newsgroups: gmane.comp.tex.context Subject: How can I create a table from a CSV file? Date: Tue, 31 May 2016 10:55:14 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8520856954977883901==" X-Trace: ger.gmane.org 1464684965 31710 80.91.229.3 (31 May 2016 08:56:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 May 2016 08:56:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 31 10:55:51 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b7fSo-0000kJ-Od for gctc-ntg-context-518@m.gmane.org; Tue, 31 May 2016 10:55:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C31F0E8B0; Tue, 31 May 2016 10:55:31 +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 diDkUQD2AkA6; Tue, 31 May 2016 10:55:29 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 53DA9E8AC; Tue, 31 May 2016 10:55:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7F97CE844 for ; Tue, 31 May 2016 10:55:27 +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 Xxa0-eeiwq2p for ; Tue, 31 May 2016 10:55:26 +0200 (CEST) Original-Received: from mail-vk0-f68.google.com (mail-vk0-f68.google.com [209.85.213.68]) (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 BE0C5E841 for ; Tue, 31 May 2016 10:55:16 +0200 (CEST) Original-Received: by mail-vk0-f68.google.com with SMTP id a6so5847650vkg.1 for ; Tue, 31 May 2016 01:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=BNR44H4DpA0LYCveBNaphh0IwtbJ1jTS3/Z8CcPJebY=; b=jK6JPWOm+PuBLzi4kYL0gX9XYCXg5C9fIaty2qkJGeOzx6RzlsRoJehS+4Zunhn1Gb 74SxKdG8VTIUbnh8Vaz9FLsjVuHWpHhIV0R7fpyJ/F84VDE7j0G8T5Gd0OSQL0PwHKIo LhR7azXR5QmF6/q7ExKsZdcpotFHEv/rWQ88AEy6ev5pX9xjtv7+EkisLNHTSvifpgQV KhHj8ayl3x0WTQNaEGhS4pZaZD+mciUlibdoLwje19H3e9kPmxZj/NnTE/38v4lDuAg6 Gdh4RlQHTK2LxIAaergwBim5cnccf/IqeOiocJGHQZfEaOXbktGPz5AjL5S7Kvyc/WU3 5ksw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=BNR44H4DpA0LYCveBNaphh0IwtbJ1jTS3/Z8CcPJebY=; b=Mn55K+U04SKK7oGSNBJ5kzhG1uA0DPk9YpxSV7+ISuYO9JpXjydBTbYJzuKtnPhh9Z 68BAG1dc5O5UrlS8PPs31Gsl1VvvdAMcmOd+ulRhZhz/7VesMhzoGoMFaTW/EYa4WHdP gUaHRB1FenYiXIqgu/877dbPRJhXMRXFwhmn6erRa7NfA+W1jax1aQI17x5o+mnC1STK Fl96dsZ1Fztq4AJ1hqQx9P0hsCHbv+c6DCGCZPqrBcqn96/Oa2AfdkZm84EGSLb3gL0P SBw0mgtrZnMXKmozihUQyzRXVtUuDTz2uSurrbZYkbM+Pc85+EZh1H+zVxRwvHTXGBS+ FOtw== X-Gm-Message-State: ALyK8tIueNyng6iJFIH8x6oujXrkHpXRy0fEz80rOpMzrYSKsy1y6A7xPA9cKdgyQimGqGT17l4dYEWgUQpeoA== X-Received: by 10.31.206.133 with SMTP id e127mr12178125vkg.138.1464684914528; Tue, 31 May 2016 01:55:14 -0700 (PDT) Original-Received: by 10.176.69.164 with HTTP; Tue, 31 May 2016 01:55:14 -0700 (PDT) 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:95060 Archived-At: --===============8520856954977883901== Content-Type: multipart/alternative; boundary=001a114e56fe09da2905341f889f --001a114e56fe09da2905341f889f Content-Type: text/plain; charset=UTF-8 Hello together, I am fighting with creating a table from a CSV file. I found the "MyWay" doc by Mojca. But the doc is 10 years old and for example the command \defineseperatedlist gives me an error: unkown command. Is there a newer doc that I missed somewhere? I have a CSV file with values seperated by tabs. What code should I use to let CTX read the values and print them in the document? Let's say the values are 11 tab 12 tab 13 21 tab 22 tab 23 31 tab 32 tab 33 and the file is called values.csv Greetings, Seba --001a114e56fe09da2905341f889f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello together,
I am fighting with creating a table from a CSV file. I found the= "MyWay" doc by Mojca. But the doc is 10 years old and for exampl= e the command \defineseperatedlist gives me an error: unkown command. Is th= ere a newer doc that I missed somewhere?

I have a CSV file wit= h values seperated by tabs. What code should I use to let CTX read the valu= es and print them in the document?

Let's say the values ar= e

11 tab 12 tab 13
21 tab 22 tab 23
31 tab 3= 2 tab 33

and the file is called values.csv

<= br>
Greetings, Seba
--001a114e56fe09da2905341f889f-- --===============8520856954977883901== 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= --===============8520856954977883901==--