From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Rustom Mody <rustompmody@gmail.com>
Cc: Bastien <bzg@gnu.org>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Request for worg page -- escaping questions
Date: Fri, 18 Apr 2014 09:08:15 +0200 [thread overview]
Message-ID: <m2eh0v6rog.fsf@polytechnique.org> (raw)
In-Reply-To: <CAJ+Teocw+RPbcOcO10KmUT7J2EahAxhbp=kXYpK1izvsmrcb9Q@mail.gmail.com> (Rustom Mody's message of "Fri, 18 Apr 2014 08:51:18 +0530")
Hi Rustom,
On 2014-04-18 05:21, Rustom Mody <rustompmody@gmail.com> writes:
> What I would like is a graphic -- an automata-diagram made perhaps by
> dot. Can that easily/conveniently go up onto worg?
I don't know how worg's export is configured, but something like this
may work ...
--8<---------------cut here---------------start------------->8---
# -*- org-confirm-babel-evaluate: nil -*-
#+name: mygraph
#+begin_src dot :file mygraph.png :exports results
digraph {
9 -> 4 [label=c];
9 -> 2 [label=" n"];
9 -> 9 [label=" e"];
5 -> 3 [label=" e"];
2 -> 4 [label=" k"];
4 -> 9 [label=" j"];
}
#+end_src
#+results: mygraph
--8<---------------cut here---------------end--------------->8---
You can, if you need, build the contents of the dot block from another
babel block.
Alan
next prev parent reply other threads:[~2014-04-18 7:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-18 3:21 Request for worg page -- escaping questions Rustom Mody
2014-04-18 7:08 ` Alan Schmitt [this message]
2014-04-18 12:00 ` Bastien
2014-04-20 7:59 ` Rustom Mody
2014-04-20 8:43 ` Bastien
-- strict thread matches above, loose matches on Subject: below --
2014-04-02 4:40 Rustom Mody
2014-04-17 16:12 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2eh0v6rog.fsf@polytechnique.org \
--to=alan.schmitt@polytechnique.org \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=rustompmody@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.