* [PATCH] TINYCHANGE Allow attaching SVG images by default in exported ODT documents
@ 2015-04-27 21:19 Vicente Vera
2015-04-27 22:28 ` Rasmus
0 siblings, 1 reply; 2+ messages in thread
From: Vicente Vera @ 2015-04-27 21:19 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
Hello list.
The patch below changes org-odt-inline-image-rules value, thus
allowing exported ODT documents to include SVG images by default.
[-- Attachment #2: 0001-ox-odt-Allow-attaching-SVG-images-by-default.patch --]
[-- Type: text/x-diff, Size: 930 bytes --]
From 991f4add7c644902bd6bcd2a5b9eb01e1ea5ade9 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] TINYCHANGE Allow attaching SVG images by default in exported ODT documents
2015-04-27 21:19 [PATCH] TINYCHANGE Allow attaching SVG images by default in exported ODT documents Vicente Vera
@ 2015-04-27 22:28 ` Rasmus
0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2015-04-27 22:28 UTC (permalink / raw)
To: emacs-orgmode
Vicente Vera <vicentemvp@gmail.com> writes:
> The patch below changes org-odt-inline-image-rules value, thus
> allowing exported ODT documents to include SVG images by default.
I pushed your change.
Thanks!
Rasmus
--
If you can mix business and politics wonderful things can happen!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-27 22:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 21:19 [PATCH] TINYCHANGE Allow attaching SVG images by default in exported ODT documents Vicente Vera
2015-04-27 22:28 ` Rasmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).