Hello list.
The patch below changes org-odt-inline-image-rules value, thus
allowing exported ODT documents to include SVG images by default.
From 991f4add7c644902bd6bcd2a5b9eb01e1ea5ade9 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <[email protected]>
Date: Mon, 27 Apr 2015 18:02:22 -0300
Subject: [PATCH] ox-odt: Allow attaching SVG images by default
* lisp/ox-odt.el (org-odt-inline-image-rules): Modify default rule to
allow including inline SVG images in exported ODT documents.
TINYCHANGE
---
lisp/ox-odt.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el
index faf0b1c..444c1b7 100644
--- a/lisp/ox-odt.el
+++ b/lisp/ox-odt.el
@@ -765,7 +765,7 @@ link's path."
:value-type (regexp :tag "Path")))
(defcustom org-odt-inline-image-rules
- '(("file" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\)\\'"))
+ '(("file" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\|svg\\)\\'"))
"Rules characterizing image files that can be inlined into ODT.
A rule consists in an association whose key is the type of link
--
1.9.1