From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Process diagrams with dot and some glue using Org-mode Date: Wed, 26 Jun 2013 18:54:56 +0200 Message-ID: <8761x0g6cf.fsf@gmail.com> References: <2013-06-26T17-08-48@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urt0F-00085K-0S for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 12:55:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Urszu-0007kD-D9 for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 12:55:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:49459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urszu-0007i5-7N for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 12:55:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Urszr-0005Eh-SC for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 18:55:07 +0200 Received: from g231233094.adsl.alicedsl.de ([92.231.233.94]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Jun 2013 18:55:07 +0200 Received: from tjolitz by g231233094.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Jun 2013 18:55:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Karl Voit 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