From mboxrd@z Thu Jan 1 00:00:00 1970 From: malcolm cook Subject: how to handle svg files when exporting orgmode to html and pdf? Date: Thu, 18 Jul 2013 00:32:07 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzfJ3-0006Hx-WA for emacs-orgmode@gnu.org; Wed, 17 Jul 2013 23:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzfJ2-0007LH-VR for emacs-orgmode@gnu.org; Wed, 17 Jul 2013 23:55:05 -0400 Received: from plane.gmane.org ([80.91.229.3]:46238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzfJ2-0007Ih-Ma for emacs-orgmode@gnu.org; Wed, 17 Jul 2013 23:55:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UzfJ1-0004ny-6w for emacs-orgmode@gnu.org; Thu, 18 Jul 2013 05:55:03 +0200 Received: from 12.201.176.150 ([12.201.176.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jul 2013 05:55:03 +0200 Received: from malcolm.cook by 12.201.176.150 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jul 2013 05:55:03 +0200 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: emacs-orgmode@gnu.org Hi, I am creating .svg files with R source blocks and ESS in org. I am happily viewing them in-line in my emacs buffer. I am happily exporting as html and viewing them in-line in the resulting web page, including a table of images. I do not have an approach for including them into PDF when I export-tex-pdf. I'm thinking there might be an approach to converting them on-the-fly to png (or something) during the export->tex->pdf. A similar problem was addressed with custom macros here: http://thread.gmane.org/gmane.emacs.orgmode/56532/focus=58322 But it does not work with R source blocks that produce .svg files. Any suggestions for me? Is this a lost cause? Am I asking for too many assumptions to be made by such an auto-conversion process that it is doomed to fail anyway? Thanks for your thoughts and help! Malcolm