From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-exp-block patch and Graphviz Demo Date: Thu, 28 May 2009 09:48:51 +0200 Message-ID: <240CD10F-57E8-4AEB-B2D1-E03A9851DB41@gmail.com> References: <20090527190924.GS10324@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9apP-0002gq-4t for emacs-orgmode@gnu.org; Thu, 28 May 2009 04:19:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9apK-0002cN-9m for emacs-orgmode@gnu.org; Thu, 28 May 2009 04:19:06 -0400 Received: from [199.232.76.173] (port=38132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9apK-0002cH-2l for emacs-orgmode@gnu.org; Thu, 28 May 2009 04:19:02 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:48184) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9apJ-00019U-L5 for emacs-orgmode@gnu.org; Thu, 28 May 2009 04:19:01 -0400 Received: by ewy6 with SMTP id 6so5626139ewy.42 for ; Thu, 28 May 2009 01:19:00 -0700 (PDT) In-Reply-To: <20090527190924.GS10324@thinkpad.adamsinfoserv.com> 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: Russell Adams Cc: Org Mode List On May 27, 2009, at 9:09 PM, Russell Adams wrote: > I updated org-exp-block.el to support other Graphviz output types (ie: > neato, fdp, twopi, and circo.), and created a test document to > demonstrate each type. > > Attached is a tar file containing the demo, diff, and updated > org-exp-block.el. It could use some tuning before being permanently > applied, see the comments within. > > I considered posting this to Worg, but was concerned that it would > bomb without the updated block support. After its added to core, I'd > be happy to post this into Worg. > > > My next question relates to using Graphviz between HTML and Latex > export. When I do HTML I don't mind using PNG, however with Latex it > is better to export to EPS. That way you export to a vector format > that looks superb in the final PDF. This requires a postprocessing > step that I'm not sure how to integrate. > > From one of my Makefiles, I use this line to fix the EPS so that Latex > can import it: > > sed -i -e 's/PS-Adobe-2.0/PS-Adobe-2.0 EPSF-1.2/1' $@ Maybe this needs a bug report to the Graphviz people??? I guess the best solution would actually be to allow a lisp function to do the formatting, and it should return the link to be used. then you can implement whatever is needed. Eric, would that make sense? - Carsten