From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/15017 Path: news.gmane.org!not-for-mail From: mb21 Newsgroups: gmane.text.pandoc Subject: Re: Markdown, tables and CSV Date: Sun, 29 May 2016 05:45:34 -0700 (PDT) Message-ID: References: <047d7b86ebe83c062b05332eab9b@google.com> <20BF19CB-A2B0-4B19-A749-D750CDD89736@martinfenner.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4_542478506.1464525934963" X-Trace: ger.gmane.org 1464525941 8004 80.91.229.3 (29 May 2016 12:45:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 May 2016 12:45:41 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDCMBBVJ5EFBB36IVO5AKGQE3T6EKOA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 29 14:45:37 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f59.google.com ([209.85.218.59]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b7065-0006CC-4j for gtp-pandoc-discuss@m.gmane.org; Sun, 29 May 2016 14:45:37 +0200 Original-Received: by mail-oi0-f59.google.com with SMTP id s139sf30370539oie.1 for ; Sun, 29 May 2016 05:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=JDOUQiqsT8VmaLVwFYKVgGvutQgDLEkCjRLtk0kXMKs=; b=G1PKBkpoZJjiUbY0f8wpADN0fdji4FQ4DAIWv2q12UhHcaacdbpuipfJtirQ2bekiB 495L3YKRWfRXcb5MYEiYsBazGT3yABwhU9r9ma6LL01URSOidcPeLjRRKjv1BESreXhV ZgJ6DskbRHA9P1dG8ylE1+G0HMhT2PtqVzlP/J04Al3vm+6Te+z/kaScYCxwBf2xvhkn qJuSifoLV0F246kfZCB6XwMZYndiF7Fwn/Y61ACpO4AChd7C3T0WCUFy9LhxSpEIc7C7 ufy1KMaYAgaRNP+lhWDKVQ8Ojrf+D6XsOMobqLOZBVhKenvHNRGDbJA+Ca02RWKZIg4J gQ+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=JDOUQiqsT8VmaLVwFYKVgGvutQgDLEkCjRLtk0kXMKs=; b=cW8+0O8RoXzuPgNhz1Q0+laDGwu4CcCOPdu/GycBZYxyWw2IQ1M6B7miiPyhQtwrIo 9wPeK6O5Snw5fkwCIgp4WvN+eOV3afoOHj4CnNIcVckBcxgusFW4U7fSMsWeq4Zl7+5P paNpmyaZXOPoVvt8iTREDpdH5csUlkc1m1s8+/vQJaTVu//TUHu9URTG7DS+MMIx/DJm tl+b+9QoAGmOCKATb30YRJsVJ5TSD2V73WeuL9kCMYh27PfCR99JOOxoD8iVEPGW+Ifb 7ra+HgdtvxtlcD72/4yK+V/YU1bn5N28ccDQ1wzvumjZJi0FzfQEvFOeBW9olz6cYaW6 OCEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=JDOUQiqsT8VmaLVwFYKVgGvutQgDLEkCjRLtk0kXMKs=; b=ktblHldvikg+3Aqt3I6nlQHhB+rjG3EBMieKtWnB5hyaWBRciEfpFFr1KzBjqysVdA Or0E4zhgsaRFrd3vxguci0JHl/2qJQkc6RaB5VyZkiLdMw+GOtF7v9kE5GieCcmlKV6n zbZmiSA7YwM4IU7g2fkW+kv323EEBjabvRsL9TfYUv3roEFRWuMg3b7WDDmKqfH+poE9 X6i5acd2HUqHzSXbWtEOmVXSFINnWV7XbXqBoCC7khaRazWS7A1SIME80XX3PLB6FUJi 8dTBmjTjPMTbJFTmH3M8fiy/v6AO87UMs+M3yqs11EAmtFhGj54xgLgjm4tndeFK3+PD IwNw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALyK8tKsv1WBqOvpQ9Tj4LnuiIDczMj/30yq0k3JyI4lJXbn3s/zoaZIDVbeCxtZobIDpw== X-Received: by 10.157.4.120 with SMTP id 111mr302694otc.15.1464525936305; Sun, 29 May 2016 05:45:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.35.109 with SMTP id k42ls1344891otd.62.gmail; Sun, 29 May 2016 05:45:35 -0700 (PDT) X-Received: by 10.157.56.116 with SMTP id r49mr301813otd.19.1464525935640; Sun, 29 May 2016 05:45:35 -0700 (PDT) In-Reply-To: X-Original-Sender: mauro.bieg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:15017 Archived-At: ------=_Part_4_542478506.1464525934963 Content-Type: multipart/alternative; boundary="----=_Part_5_1056759236.1464525934964" ------=_Part_5_1056759236.1464525934964 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable @Kurt, pandoc-placetable works perfectly to convert csv to markdown table= =20 syntax (and any other output format where pandoc supports generating=20 tables):=20 pandoc --filter pandoc-placetable -t markdown On Saturday, May 21, 2016 at 7:03:57 PM UTC+2, kurt.p...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org=20 wrote: > > Am Freitag, 20. Mai 2016 11:39:02 UTC+2 schrieb Martin Fenner: > > Dear group, >> >> The topic of CSV support in Pandoc has come up several times on this=20 >> list, includes this thread from 2014: >> https://groups.google.com/forum/#!topic/pandoc-discuss/kBdJU_JktzI >> >> Since last year I work for an organisation that frequently deals with=20 >> tabular data (and helped organize CSVconf earlier this month), and I hav= e=20 >> done some thinking on how CSV could fit into Pandoc. >> > Are you aware of these two Pandoc filters? > > - *pandoc-csv2table * ( > https://github.com/baig/pandoc-csv2table)=20 > - pandoc-placetable ( > https://github.com/mb21/pandoc-placetable)=20 > > Both =E2=80=9Cabuse=E2=80=9D the fenced code block syntax, assign the cla= ss .table to the=20 > block and allow inline CSV data as well as referencing an external CSV fi= le. > > Personally, I still prefer to use *csv2table* (over the newer *placetable= *)=20 > because I can also use it to convert CSV to Markdown tables (grid, simple= =20 > and multiline) =E2=80=94 which *placetable=E2=80=9D currently doesn=E2=80= =99t do because it works=20 > differently (AFAIU): > > - placetable converts CSV to Pandoc=E2=80=99s native format directly= =20 > - csv2table converts CSV to Markdown first.=20 > > =E2=80=8B > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/f0058def-bd69-40c1-82b4-e7bdd151c46c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_5_1056759236.1464525934964 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
@Kurt, pandoc-placetable works perfectly to convert csv to= markdown table syntax (and any other output format where pandoc supports g= enerating tables):=C2=A0
pandoc --filter pandoc-placetable -t markdown


On Sa= turday, May 21, 2016 at 7:03:57 PM UTC+2, kurt.p...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org wrote:

Am Freitag, 20. Mai 2016 11:39:02 UTC+2 sch= rieb Martin Fenner:

Dear group,
=
The topic of CSV support in Pandoc has come up several times= on this list, includes this thread from 2014:

Since last year = I work for an organisation that frequently deals with tabular data (and hel= ped organize CSVconf earlier this month), and I have done some thinking on = how CSV could fit into Pandoc.

Are you aware of these two Pandoc f= ilters?

Both =E2=80=9Cabuse=E2=80=9D the fe= nced code block syntax, assign the class .table to = the block and allow inline CSV data as well as referencing an external CSV = file.

Personally, I still prefer to use <= em>csv2table (over the newer placetable) because I can also u= se it to convert CSV to Markdown tables (grid, simple and multiline) =E2=80= =94 which *placetable=E2=80=9D currently doesn=E2=80=99t do because it work= s differently (AFAIU):

  • placetable converts CSV to Pandoc=E2=80=99s = native format directly
  • csv2table converts CSV to Markdown first.
=E2=80=8B

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to
pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/f0058def-bd69-40c1-82b4-e7bdd151c46c%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_5_1056759236.1464525934964-- ------=_Part_4_542478506.1464525934963--