[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: |
Eric Schulte |
Subject: |
Re: [Orgmode] org-exp-block patch and Graphviz Demo |
Date: |
Wed, 10 Jun 2009 09:06:09 -0700 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (darwin) |
Russell Adams <address@hidden> 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 address@hidden
>
> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode