> From 0c534df7af71e0a742a7123a14e0293da9f0e4c6 Mon Sep 17 00:00:00 2001 From: Dale Smith Date: Fri, 8 May 2009 10:54:49 -0400 Subject: [PATCH] Add support for docbook export for dot and ditaa blocks. --- contrib/lisp/org-exp-blocks.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/org-exp-blocks.el b/contrib/lisp/org-exp-blocks.el index 5803458..bbecd18 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)) -- 1.6.0.3