emacs-orgmode
[Top][All Lists]
Advanced

[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: Thorsten Jolitz
Subject: Re: [O] Process diagrams with dot and some glue using Org-mode
Date: Wed, 26 Jun 2013 18:54:56 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux)

Karl Voit <address@hidden> writes:

Hi, 

> I was looking for a reasonable simple method to define processes and
> work-flows within Org-mode. My research did not result in anything
> existing I found useful. Therefore, I started to read about dot[1]
> and found [2].

[...]

> Some (still missing) glue should use these two tables and
> automatically generate the dot script:

[...]

> The question is: is somebody with decent ELISP knowledge able to
> implement the missing method? :-)

not really an answer to your question, but I wrote a library
(picodoc.el) that automatically generates PlantUML scripts from PicoLisp
source code:

,-------------------------------------------------------
| https://github.com/tj64/picodoc/blob/master/picodoc.el
`-------------------------------------------------------

maybe you can take some inspiration there.

Instead of parsing a source file you would need to process nested lists
after applying

,-----------------------------------------------------------------------------
| org-table-to-lisp is an autoloaded compiled Lisp function in `org-table.el'.
| 
| (org-table-to-lisp &optional TXT)
| 
| Convert the table at point to a Lisp structure.
| The structure will be a list.  Each item is either the symbol `hline'
| for a horizontal separator line, or a list of field values as strings.
| The table is taken from the parameter TXT, or from the buffer at point.
`-----------------------------------------------------------------------------

to your tables. 

-- 
cheers,
Thorsten




reply via email to

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