[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-exp-block patch and Graphviz Demo

From: Carsten Dominik
Subject: Re: [Orgmode] org-exp-block patch and Graphviz Demo
Date: Thu, 28 May 2009 09:48:51 +0200

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]