From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/8063 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: CodeBlock elements in pandocfilters.py stringify function Date: Mon, 4 Nov 2013 08:15:42 -0800 Message-ID: <20131104161542.GB27120@Johns-MacBook-Pro.local> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1383581750 27293 80.91.229.3 (4 Nov 2013 16:15:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2013 16:15:50 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBOEQ36JQKGQEEZCBSYI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Nov 04 17:15:55 2013 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qe0-f59.google.com ([209.85.128.59]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VdMok-0001AY-3I for gtp-pandoc-discuss@m.gmane.org; Mon, 04 Nov 2013 17:15:54 +0100 Original-Received: by mail-qe0-f59.google.com with SMTP id w7sf1646145qeb.24 for ; Mon, 04 Nov 2013 08:15:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:subject:message-id:references:mime-version:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type :content-disposition; bh=kIXuIxUo92chUZS+u+kdm2Ii8sEHEoU6xQKwxvgB/F0=; b=ZCSbeTJ8GxEFg9HHubSlpC/KOArMDeffqZA0pguEjMAu/nfDroF90T/b83AFcAOONX 7Gx6gitbVWIBDP8y0/knAGv5ziLCZj8qDbEtpPT+IQRS8eSW71i7/VkH+WpvVI9B7qk1 9ia8GXleK6Teq/k5JZ92TvCa/kbKKDr6ACkCEyanZlXXWvy6UM/tgDSayTgxw3JejcFJ lsa2yE1Nr7xoakQ4EmnoBhRugJoHc4PXsw7ByNgMTanVRCBHaPV7578zHAoP9gszQ3F+ Sa+XSlZlZGLmZ2vfFU4VmvUtvoskzU1xPNdgso2q8ttKTtyTIkdPtLudjpZkX9Ce8LDk U3Mw== X-Received: by 10.50.20.6 with SMTP id j6mr147810ige.15.1383581753314; Mon, 04 Nov 2013 08:15:53 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.164.200 with SMTP id ys8ls1469623igb.23.gmail; Mon, 04 Nov 2013 08:15:52 -0800 (PST) X-Received: by 10.66.189.163 with SMTP id gj3mr5689729pac.32.1383581752554; Mon, 04 Nov 2013 08:15:52 -0800 (PST) Original-Received: from cm03fe.IST.Berkeley.EDU (cm03fe.IST.Berkeley.EDU. [169.229.218.144]) by gmr-mx.google.com with ESMTPS id kh12si4910070pab.2.2013.11.04.08.15.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 04 Nov 2013 08:15:52 -0800 (PST) Received-SPF: neutral (google.com: 169.229.218.144 is neither permitted nor denied by best guess record for domain of jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org) client-ip=169.229.218.144; Original-Received: from li55-134.members.linode.com ([74.82.3.134] helo=johnmacfarlane.net) by cm03fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (auth plain:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org) (envelope-from ) id 1VdMog-0006Op-CN for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Mon, 04 Nov 2013 08:15:52 -0800 Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 5BC0FBBBE9; Mon, 4 Nov 2013 11:19:55 -0500 (EST) In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 169.229.218.144 is neither permitted nor denied by best guess record for domain of jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org) smtp.mail=jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Content-Disposition: inline Xref: news.gmane.org gmane.text.pandoc:8063 Archived-At: I don't think there's a particular reason. I didn't really intend 'stringify' to be used on lists of block elements. +++ BP Jonsson [Nov 03 13 17:20 ]: > John, I see that CodeBlock elements are ignored by the stringify function > in pandocfilters.py. Is there any particular reason for that? > > Also wouldn't it be a good idea to insert spaces after block elements? > > I'm writing my perl version and wonder if since elements are represented by > objects anyway and stringify will likely be an object method would > potential users find it a good idea if string representation of objects > were overloaded to call that method? > > -- > 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/CAFC_yuSz_Egh8wE_D2Eu%2B6uFrFYZLHJ34QAh0_NDLM3UidxSbg%40mail.gmail.com. > For more options, visit https://groups.google.com/groups/opt_out.