From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/15010 Path: news.gmane.org!not-for-mail From: John Gabriele Newsgroups: gmane.text.pandoc Subject: Re: Markdown, tables and CSV Date: Fri, 27 May 2016 02:33:27 -0400 Message-ID: <1464330807.2727387.620260561.2CC32090@webmail.messagingengine.com> References: <047d7b86ebe83c062b05332eab9b@google.com> <20BF19CB-A2B0-4B19-A749-D750CDD89736@martinfenner.org> <1463766905.1918988.613990665.6CD67781@webmail.messagingengine.com> <471daa3c-e2ec-4445-b4fd-44e5c8a3fd6b@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_----------=_146433080727273870"; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1464330819 27842 80.91.229.3 (27 May 2016 06:33:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 May 2016 06:33:39 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJ3XKWUQQDBBOWUT65AKGQESUNJWFA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri May 27 08:33:35 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qk0-f189.google.com ([209.85.220.189]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b6BKt-0001he-R1 for gtp-pandoc-discuss@m.gmane.org; Fri, 27 May 2016 08:33:31 +0200 Original-Received: by mail-qk0-f189.google.com with SMTP id q124sf34127944qkb.1 for ; Thu, 26 May 2016 23:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:message-id:from:to:mime-version:content-transfer-encoding :subject:date:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=COR6ebzeOtyAanTuxLfFWTYRXXCaN3ZXz3qmKG8ilvw=; b=m8wvsxT82JEzOSVUYaepRTNsawlGUaZwwUio4Qwt75FxvWALZ/SYeAf+LMeTbwbpjg kOn0TV9ZuNQOa/9EwxJW/VKigFzmaCFfQ3CvJv9CSP0/DtfLpPUVrw/mGMUEc2SAU0d/ JnJew9ybj1Wjz0JJvBpVEoKw1K2dE8LEbMRBaCK6dgmwk+axQ5FdMZPZDVpG6GY/BHm0 rdaWZ9Ypsf+bBFaADQNtKU04/Ql3St4bAlnI3V080/8O7D00R0iPTD5NaCBbcZZ4oMR3 zOxvDEeRgKnfZHBtjg6/5UBbzegmtzP4IKxbkS5Ei7PFOI9Ml2NfzjRvBdIA7XmtIWvn WzBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:message-id:from:to:mime-version :content-transfer-encoding:subject:date:in-reply-to:references :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=COR6ebzeOtyAanTuxLfFWTYRXXCaN3ZXz3qmKG8ilvw=; b=eCqMu/mGBYIiEVhj/96Dg9MUaDUSGxA94u7lPf9SlZo2tOTYvdOa4QAogvY1KwxZeD bMhqs7+HKhQ+40EGN17EVbKykv6v4VIfI06My2NFn16TkHrL6+HyEgY9JkLL63qtTT0U zzTAcDVF9u0H5ePsgTlabyQ+V3BeO5nDpLhAwW+DpMBnXoITzA5t+Np0wskwid2rwuL6 Qu9VmHd4x8gaToKb9wSNtVfsBVg9DeSdIqi4vPAgAvcu8vHonEmFjEv6QeylVRKLmYnz Us30jAYsfrPIsvnyyctAKBip6/4UVME6gB0DGZzNDkpgnpj8t9KOC1+JCYLQX/HKyBNZ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALyK8tJigFZbpL3LL5JsL5Gh7fXa6+g8Lq4OK6sAlntFgZMWp/JN4nczTy/jG7UvnvPfVA== X-Received: by 10.157.40.228 with SMTP id s91mr194302ota.13.1464330811020; Thu, 26 May 2016 23:33:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.14.15 with SMTP id c15ls845616otc.8.gmail; Thu, 26 May 2016 23:33:30 -0700 (PDT) X-Received: by 10.157.39.11 with SMTP id r11mr8623806ota.23.1464330810384; Thu, 26 May 2016 23:33:30 -0700 (PDT) Original-Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com. [66.111.4.27]) by gmr-mx.google.com with ESMTPS id z16si1862766pfi.2.2016.05.26.23.33.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 May 2016 23:33:30 -0700 (PDT) Received-SPF: pass (google.com: domain of jgabriele-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.27 as permitted sender) client-ip=66.111.4.27; Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 566A4204D3 for ; Fri, 27 May 2016 02:33:27 -0400 (EDT) Original-Received: from web5 ([10.202.2.215]) by compute6.internal (MEProxy); Fri, 27 May 2016 02:33:27 -0400 Original-Received: by mailuser.nyi.internal (Postfix, from userid 99) id 29460A8A0B; Fri, 27 May 2016 02:33:27 -0400 (EDT) X-Sasl-Enc: dq3/yEUY8IfSzcxAgboCfDRL46K23ClodKADbu3bvxN4 1464330807 X-Mailer: MessagingEngine.com Webmail Interface - ajax-b882aaad In-Reply-To: X-Original-Sender: jgabriele-97jfqw80gc6171pxa8y+qA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@fastmail.fm; dkim=pass header.i=@messagingengine.com; spf=pass (google.com: domain of jgabriele-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=jgabriele-97jfqw80gc6171pxa8y+qA@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:15010 Archived-At: This is a multi-part message in MIME format. --_----------=_146433080727273870 Content-Type: text/plain; charset=UTF-8 On Thu, May 26, 2016, at 07:48 AM, Frank Colcord wrote: > {snip} > I've handled the csv in previous projects by changing the delimiters > when saving a spreadsheet so the delimiters are pandoc friendly. I too have done the same thing in the past. LibreOffice can easily change the column delimiter in a csv file (from commas to pipes, and back again). But, in the end, even if you only want to copypaste the table into your .md file and not edit it, it still looks crummy when reading it in plain text. If I'm going to go through the (albeit small) hassle of converting csv to use pipes so I can paste it into my .md file, it's just as easy to use a script to convert the csv into a pandoc-markdown -formatted table, and paste that in instead. That way, my doc still is readable as plain text --- you just need to remember that it's generated content, and so if you want to make changes, do them in the csv. Because of how easy it is to do that, I'd be inclined to say that Pandoc could do without introducing extra syntax for automatic rendering of raw pasted-in csv data. -- John -- 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 email 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/1464330807.2727387.620260561.2CC32090%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout. --_----------=_146433080727273870 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8
On Thu, May 26, 2016, at 07:48 AM, = Frank Colcord wrote:
{snip}
I've handled the csv in previous projects by changing the delimiters w= hen saving a spreadsheet so the delimiters are pandoc friendly.
 
I too have done the same thing in the pas= t. LibreOffice can easily change the column delimiter in a csv file (from c= ommas to pipes, and back again). But, in the end, even if you only want to = copypaste the table into your .md file and not edit it, it still looks crum= my when reading it in plain text. If I'm going to go through the (albeit sm= all) hassle of converting csv to use pipes so I can paste it into my .md fi= le, it's just as easy to use a script to convert the csv into a pandoc-mark= down -formatted table, and paste that in instead. That way, my doc still is= readable as plain text --- you just need to remember that it's generated c= ontent, and so if you want to make changes, do them in the csv.
 
Because of how easy it is to do that, I'd= be inclined to say that Pandoc could do without introducing extra syntax f= or automatic rendering of raw pasted-in csv data.
 
-- John
 

--
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.g= oogle.com/d/msgid/pandoc-discuss/1464330807.2727387.620260561.2CC32090%40we= bmail.messagingengine.com.
For more options, visit http= s://groups.google.com/d/optout.
--_----------=_146433080727273870--