From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-exp-block patch and Graphviz Demo Date: Wed, 10 Jun 2009 09:06:09 -0700 Message-ID: References: <20090527190924.GS10324@thinkpad.adamsinfoserv.com> <87prdthzpw.fsf@selenimh.orion.org> <20090528224724.GC10324@thinkpad.adamsinfoserv.com> <20090609155018.GX11193@thinkpad.adamsinfoserv.com> <20090610152940.GA11193@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 1MEQJm-0007Ql-3z for emacs-orgmode@gnu.org; Wed, 10 Jun 2009 12:06:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEQJg-0007Nz-Bx for emacs-orgmode@gnu.org; Wed, 10 Jun 2009 12:06:25 -0400 Received: from [199.232.76.173] (port=57754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEQJg-0007Nu-7a for emacs-orgmode@gnu.org; Wed, 10 Jun 2009 12:06:20 -0400 Received: from rv-out-0708.google.com ([209.85.198.242]:11391) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEQJe-0004MW-0Q for emacs-orgmode@gnu.org; Wed, 10 Jun 2009 12:06:19 -0400 Received: by rv-out-0708.google.com with SMTP id c5so421295rvf.6 for ; Wed, 10 Jun 2009 09:06:15 -0700 (PDT) In-Reply-To: <20090610152940.GA11193@thinkpad.adamsinfoserv.com> (Russell Adams's message of "Wed, 10 Jun 2009 10:29:40 -0500") 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 Russell Adams writes: >> Since you would rather go to EPS as an intermediary step, then I would >> recommend defining a new block type which can handle this two-stage >> process. There are instructions in org-exp-blocks.el, and I would >> recommend using `org-export-blocks-format-dot' in >> contrib/lisp/org-exp-blocks.el as your starting point. It should be >> possible to achieve the result your want with only one or two lines of >> new elisp probably inserted right after the following line >> >> (shell-command (concat "dot " data-file " " args " -o " out-file)) >> >> Cheers -- Eric > > I'm still just teething in lisp, but I'll give it a peek. > This *should* be a good gentle introduction to lisp programming, and probably shouldn't include much more than the introduction of another call to `shell-command' which calls eps on the out-file. If you run into problems feel free to email me off list, and I'd be happy to try to share pointers. > > Have you compared the output between dot going straight to pdf, vs dot > to eps to pdf? > > Attached are a pair of pdf's for comparison. The default font in eps > is better, and the line style is blunted and looks better vs the > arrows showing up going through the nodes. I see what you mean, subtle but definitely looks nicer through EPS. > > Perhaps I can control these in the dot file, I'll look into it. > Really it would probably be much easier to do this with a new block type... what do the commands look like when you do this by hand? Cheers -- Eric > > Thanks. > > > ------------------------------------------------------------------ > 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