From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Prince Subject: Re: ODT image export Date: Wed, 21 Sep 2011 11:39:33 -0400 Message-ID: <87boud7vm2.fsf@hermes.hocat.ca> References: <818vpikleu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Otj-0001oc-GH for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 11:39:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6Otd-0005sw-Ol for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 11:39:43 -0400 Received: from socrates.hocat.ca ([76.10.188.53]:49814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Otc-0005sF-Oa for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 11:39:37 -0400 In-Reply-To: <818vpikleu.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K , Derek Thomas Cc: emacs-orgmode@gnu.org On Wed, 21 Sep 2011 20:11:29 +0530, Jambunathan K wrote: > Does your plotter - R, gnuplot or whatever - support SVG. I see that > LibreOffice-3.4 (which I have locally installed) supports embedding of > SVG images. These SVG images are actually embedded as SVM files in the > exported ODT file. Using BasicODConverter (which uses UNO APIs) SVG->SVM > creation is a no-brainer. But my little experimentation suggests that > the SVG images might have to be cropped. But in the long run, working > with SVG files will probably be a winner. > > For now, you may want to export Tikz->Pdf->High Resolution PNG using > Image Magick. Hint: Search this list. I don't know how it would interact with R/gunplot/etc... But I have hacked my local copy of org-mode to use pdflatex+preview+pdf2svg instead of latex and dvipng for turning latex blocks into images. I haven't got around to submitting it, since there should really be some refactoring of the image handling code to deal with it. Tom