emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Embedded diagrams


From: Trent Buck
Subject: [emacs-wiki-discuss] Embedded diagrams
Date: Sun, 20 Feb 2005 20:14:47 +1100

I'm interested in embedding graphviz, gnuplot and pic diagrams in
emacs-wiki source.  The idea is you type something like

        <graph type="twopi">
        a -> b -> c;
        x -> y -> z;
        a -> x -> a;
        </graph>

and at publish time a function will create a PNG, save it at 
        (concat imgdir "/" type "-" (md5sum buffer) ".png")
and insert an <img> tag into the HTML.

Has anyone done something similar already?  I can sorta see how to adapt
the <mathml> and <src> handlers to suit, but I'm fumbling a bit over the
differences between CL and Elisp; it seemed prudent to ensure I'm not
duplicating effort needlessly.

-- 
-trent
I was introduced to Tolkien by the pair of British social scientists in
Peru that introduced me to Marxism.  They tossed LotR at me and said:
"It's reactionary, but amusing." I was eleven.




reply via email to

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