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

2009-06-10 Thread Mark Elston
Russell, Russell Adams wrote: 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.

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

2009-06-10 Thread Eric Schulte
Russell Adams writes: > On Wed, Jun 10, 2009 at 09:06:09AM -0700, Eric Schulte wrote: >> 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 > > dot -Teps -o file.eps file.dot > epstopdf file

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

2009-06-10 Thread Russell Adams
On Wed, Jun 10, 2009 at 09:06:09AM -0700, Eric Schulte wrote: > 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 dot -Teps -o file.eps file.dot epstopdf file.eps Quick and simple. --

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

2009-06-10 Thread Eric Schulte
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 >> cont

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

2009-06-10 Thread Eric Schulte
Russell Adams writes: > 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

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

2009-06-09 Thread Russell Adams
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

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

2009-05-28 Thread Eric Schulte
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'

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

2009-05-28 Thread Russell Adams
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,

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

2009-05-28 Thread Org Mode List
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 Rem

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

2009-05-28 Thread Eric Schulte
"Eric Schulte" writes: > Carsten Dominik writes: > >> On May 27, 2009, at 9:09 PM, Russell Adams wrote: >> [...] > > Hi Russel, > > Thanks for the update, and for the clear exposition in the org demo > file. I think that rather than changing the specification of the dot > block (which will brea

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

2009-05-28 Thread Eric Schulte
Carsten Dominik writes: > 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, dif

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

2009-05-28 Thread Carsten Dominik
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 coul