From 21e08a117d1dd67434d91ebb1831baccf592254b Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sun, 10 May 2009 16:25:12 +0200 Subject: [PATCH] Docbook export: Support ditaa images Patch by Dale Smith. --- contrib/ChangeLog | 6 ++++++ contrib/lisp/org-exp-blocks.el | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 795b9881d..01c23182a 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,9 @@ +2009-05-10 Carsten Dominik + + * lisp/org-exp-blocks.el (org-export-blocks-format-ditaa) + (org-export-blocks-format-dot): Support ditaa export also for the + docbook exporter. + 2009-05-07 Carsten Dominik * lisp/org-special-blocks.el: New file. diff --git a/contrib/lisp/org-exp-blocks.el b/contrib/lisp/org-exp-blocks.el index 5803458e9..bbecd18e4 100644 --- a/contrib/lisp/org-exp-blocks.el +++ b/contrib/lisp/org-exp-blocks.el @@ -187,7 +187,7 @@ passed to the ditaa utility as command line arguments." (org-split-string body "\n") "\n"))) (cond - ((or htmlp latexp) + ((or htmlp latexp docbookp) (with-temp-file data-file (insert body)) (message (concat "java -jar " org-ditaa-jar-path " " args " " data-file " " out-file)) (shell-command (concat "java -jar " org-ditaa-jar-path " " args " " data-file " " out-file)) @@ -222,7 +222,7 @@ digraph data_relationships { (args (if (cdr headers) (mapconcat 'identity (cdr headers) " "))) (data-file (make-temp-file "org-ditaa"))) (cond - ((or htmlp latexp) + ((or htmlp latexp docbookp) (with-temp-file data-file (insert body)) (message (concat "dot " data-file " " args " -o " out-file)) (shell-command (concat "dot " data-file " " args " -o " out-file)) -- 2.11.4.GIT