[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Process diagrams with dot and some glue using Org-mode
From: |
Karl Voit |
Subject: |
Re: [O] Process diagrams with dot and some glue using Org-mode |
Date: |
Wed, 26 Jun 2013 19:03:17 +0200 |
User-agent: |
slrn/0.9.9 (Linux) |
* Rick Frankel <address@hidden> wrote:
>
> Two things:
>
> 1. You don't need to write table parsing code, as passing in a
> table as an argument to a code block will convert it to an
> array.
>
> #+name: ptable
>| head1 | head2 |
>|-------+-------|
>| a | 1 |
>| b | 2 |
[...]
> #+RESULTS:
>| a | 1 |
>| b | 2 |
[...]
> t=[["a", 1], ["b", 2]]
You're right, I totally forgot about this neat feature.
However, the header information seems to get lost. This requires
hard-coded column content which is a minor drawback of this method.
> 2. You can also use the pydot or pygraphviz libraries for
> generating the graph directly from python instead of generating
> dot code.
Thanks for the pointer!
If somebody else is looking for an example (or some less formal
documentation), take a look at [1] which gave me a much better
start-up than the pydot web page.
1. https://pythonhaven.wordpress.com/tag/pydot/
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
Re: [O] Process diagrams with dot and some glue using Org-mode, Thorsten Jolitz, 2013/06/26
Re: [O] Process diagrams with dot and some glue using Org-mode, Eric S Fraga, 2013/06/26