From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/11808 Path: news.gmane.org!not-for-mail From: Mohammed Haris Minai Newsgroups: gmane.text.pandoc Subject: Re: Graphviz python filter without using pygraphviz Date: Wed, 21 Jan 2015 04:00:39 -0800 (PST) Message-ID: <1b3951ec-ae53-4943-a4a9-ed5362dc9434@googlegroups.com> References: <229bfb34-a5bd-4b31-8511-ef9573585990@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4312_1895835518.1421841639419" X-Trace: ger.gmane.org 1421841647 27481 80.91.229.3 (21 Jan 2015 12:00:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 12:00:47 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDDNXS55UAJRB2FJ72SQKGQE35ZXQYA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 21 13:00:41 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pa0-f61.google.com ([209.85.220.61]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YDtxh-0000y0-Kt for gtp-pandoc-discuss@m.gmane.org; Wed, 21 Jan 2015 13:00:41 +0100 Original-Received: by mail-pa0-f61.google.com with SMTP id ey11sf1874319pad.6 for ; Wed, 21 Jan 2015 04:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=CJH96eetoKUOSYkpf0FdeHMdItdh78u6PbqalgVzd9g=; b=YxrG26gJXl63gDzYTbTRlZ8zQZRKp5UJNL8+BoBQHomCMYuJXh6limBodz5PWCMmc0 yZQsT7dZXDUkV6MoHUiCJIbdDUEvefIs3BnMoMUDD05pOF5zFF9JoGPhYGHcCZxLGcY/ giUk1e2518Tut9q9STQDSkVC+t5mKZu3Bo7ahMtBMIK9aTdX613meV/aFgyvMEec6SQr 79IDQK6ryF8gMnNGEghOzkQgGX6KD/qsW3Tmk3JBCPa+dEVIQmBi/HGLrdD2QokQJUIj 0ucvO7ib7jgcpKhoSCADHsV6rv33MGcUnLMkjOQUAs/46lkei5Toc5wyqBx/fvA76OiU HFxg== 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 :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=CJH96eetoKUOSYkpf0FdeHMdItdh78u6PbqalgVzd9g=; b=ZzXEEKvBW+mIU+OI3xOI/ytvFi4NIx4jfX0zqQRLco+1mcnKWZhVXTw142bJChYH1L MInq0AMBnaOV8iSb5/UAqM6afCY3iyA4FNbTgfErRNJGsi2aEeJpL6ecHR9Y5l/H1xf+ Igq8Pn0xQ/w6K741kVWBwg2PZjWYEC1XTgUuFl4zT8D72hAp5LG00uJkbtXZEUKCVBAd CHUivP+sVhkylWYFSVgPjMDUxDDvvnsObYY+kKZS4EGByTONNLPTxqG1g1OM93HiE7pP SbOIK0/Kl4MvsnKEf+JcnXK/TaEG1m0abvbY6hJFKG++5xPrAIkdO9rxu4gaBvV8oJjs kLeg== X-Received: by 10.50.178.180 with SMTP id cz20mr447121igc.14.1421841640686; Wed, 21 Jan 2015 04:00:40 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.170.225 with SMTP id ap1ls2457286igc.11.canary; Wed, 21 Jan 2015 04:00:40 -0800 (PST) X-Received: by 10.50.107.4 with SMTP id gy4mr446654igb.10.1421841640361; Wed, 21 Jan 2015 04:00:40 -0800 (PST) In-Reply-To: X-Original-Sender: mhminai-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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:11808 Archived-At: ------=_Part_4312_1895835518.1421841639419 Content-Type: multipart/alternative; boundary="----=_Part_4313_1092680487.1421841639419" ------=_Part_4313_1092680487.1421841639419 Content-Type: text/plain; charset=UTF-8 I had a look at this, and this could definitely work within a haskell filter I believe. There is a has haskell filter (written from within gitit) here . I am guessing this could be modified to use your graphviz library to generate the png/pdf file. If you could provide some examples of how to use the library to simply read in some text and then run the dot tool to generate a png/pdf file at the specified IO. I can try and modify the mentioned haskel filter for my needs? Thanks again. On Tuesday, January 20, 2015 at 5:35:52 PM UTC+5:30, Ivan Miljenovic wrote: (clipped for brevity) Maybe have a look at my Haskell graphviz library: > http://hackage.haskell.org/package/graphviz (though using this would > require parsing the Dot code just to immediately print it again, so > I'm not sure how helpful it would be). > (clipped for brevity) -- 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/1b3951ec-ae53-4943-a4a9-ed5362dc9434%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_4313_1092680487.1421841639419 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I had a look at this, and this could definitely work withi= n a haskell filter I believe. There is a has haskell filter (written from w= ithin gitit) here.

I am guessing this could be modified to use your graphviz library to gen= erate the png/pdf file. If you could provide some examples of how to use th= e library to simply read in some text and then run the dot tool to generate= a png/pdf file at the specified IO. I can try and modify the mentioned has= kel filter for my needs?

Thanks again.

On T= uesday, January 20, 2015 at 5:35:52 PM UTC+5:30, Ivan Miljenovic wrote:
(clipped for brevity)

Maybe have a look at my Haskell graphviz librar= y:
http://hackage.haskell.org/package/graphviz=  (though using this would
require parsing the Dot code just to immediately print it again, so
I'm not sure how helpful it would be).

(clipped for brevity) 

--
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/1b3951ec-ae53-4943-a4a9-ed5362dc9434%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_4313_1092680487.1421841639419-- ------=_Part_4312_1895835518.1421841639419--