From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: org-exp-block patch and Graphviz Demo Date: Tue, 9 Jun 2009 10:50:18 -0500 Message-ID: <20090609155018.GX11193@thinkpad.adamsinfoserv.com> References: <20090527190924.GS10324@thinkpad.adamsinfoserv.com> <87prdthzpw.fsf@selenimh.orion.org> <20090528224724.GC10324@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME3ak-0002ka-5q for emacs-orgmode@gnu.org; Tue, 09 Jun 2009 11:50:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME3ah-0002kB-Pf for emacs-orgmode@gnu.org; Tue, 09 Jun 2009 11:50:25 -0400 Received: from [199.232.76.173] (port=46480 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME3ah-0002k7-D9 for emacs-orgmode@gnu.org; Tue, 09 Jun 2009 11:50:23 -0400 Received: from squirtle.drak.net ([72.52.144.201]:42393) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ME3ag-0005AW-MC for emacs-orgmode@gnu.org; Tue, 09 Jun 2009 11:50:23 -0400 Received: from 206.180.154.148.adsl.hal-pc.org ([206.180.154.148] helo=localhost) by squirtle.drak.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1ME3aZ-0004Wl-Mc for emacs-orgmode@gnu.org; Tue, 09 Jun 2009 10:50:16 -0500 Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I've looked, and it appears that the sed line is no longer required, it was an old hack. Regarding graphviz inclusion in PDF, the best output is still obtained by dot -> EPS, and then epstopdf -> PDF, and its inclusion in latex. How would you handle that in org-exp-block.el? Thanks. On Thu, May 28, 2009 at 03:57:42PM -0700, Eric Schulte wrote: > > That's fantastic, much simpler than the patch! > > Russell Adams writes: > > > Nicolas, > > > > You're right! I'd never seen -K, and its not in the manual page > > either. But clearly enough: > > > > $ dot --help > > Usage: dot [-Vv?] [-(GNE)name=val] [-(KTlso)] > > > > ... > > > > -Kv - Set layout engine to 'v' (overrides default based on command name) > > > > I just tried it in the example I had supplied, and it worked properly! > > > > #+BEGIN_dot dot neato.png -Tpng -Kneato > > digraph test { > > > > a -> { b c d e }; > > e -> { f g h i }; > > > > }; > > > > #+END_dot > > > > Perhaps the patch and changes for that are pointless after all! > > > > I went back and checked the postscript / EPS issue, and it is still > > present. > > > > Thanks for that neat tip! > > > > > > On Thu, May 28, 2009 at 08:03:23PM +0200, Org Mode List wrote: > >> Hello, > >> > >> I could be wrong, but org-exp-block.el already provides support for any > >> Graphviz command since you can add the option -K as an argument to dot. > >> > >> Then again, I can have mistaken your point. > >> > >> -- > >> Nicolas Goaziou > >> > >> > >> > >> _______________________________________________ > >> Emacs-orgmode mailing list > >> Remember: use `Reply All' to send replies to the list. > >> Emacs-orgmode@gnu.org > >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > >> > > > > > > ------------------------------------------------------------------ > > Russell Adams RLAdams@AdamsInfoServ.com > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Remember: use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3