From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: how to handle svg files when exporting orgmode to html and pdf? Date: Thu, 18 Jul 2013 02:47:37 +0200 Message-ID: <20130718004737.GA24529@kuru.dyndns-at-home.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1374108486 4633 80.91.229.3 (18 Jul 2013 00:48:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 00:48:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 18 02:48:09 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UzcO8-0006V0-Q0 for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jul 2013 02:48:08 +0200 Original-Received: from localhost ([::1]:54582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzcO8-0004Lg-Fi for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 20:48:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzcNk-00045M-Bk for help-gnu-emacs@gnu.org; Wed, 17 Jul 2013 20:47:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzcNj-00081f-1U for help-gnu-emacs@gnu.org; Wed, 17 Jul 2013 20:47:44 -0400 Original-Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]:41613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzcNi-00081b-R3 for help-gnu-emacs@gnu.org; Wed, 17 Jul 2013 20:47:42 -0400 Original-Received: by mail-we0-f180.google.com with SMTP id w56so2333259wes.25 for ; Wed, 17 Jul 2013 17:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=d+37AFoaET7gqgu3L4McZy5VhPO5cVf72Jm1Lg9y0sQ=; b=ML7sJfalF1yEhIhnzcTLAO4ffrbeaJlJb1Vd3ag1e38PGMlYQTDfqek17IVEACB/yT BYAcDqWV+fZ8uIzluiFPESEFRGkujgpEtFZznj6LX4R0As60pjz6VhkiMIA0KpZ9bqQy PLFOGvBtet5kGhASPT0PfaPsEnUAe5uf+FESaE8lKcK0m8GEQ1KRbmh6E68Vs/C3eSaQ IG89oj7fA+fpX9JywMnjYC99Epg92Iu0lX6iZzPOJ4BmXW1HFWv8aSzkJuhBLyEsb4cO rxCsPL9cvz2qaW8oYyhn8vxNCOa+/uuLNa0n0AR1aUe/mCT9RKJu4lSuYHsA5cGCF9tU cgNw== X-Received: by 10.180.8.170 with SMTP id s10mr6437228wia.21.1374108461950; Wed, 17 Jul 2013 17:47:41 -0700 (PDT) Original-Received: from kuru.dyndns-at-home.com (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id d8sm13188401wiz.0.2013.07.17.17.47.40 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 17 Jul 2013 17:47:40 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92217 Archived-At: Hello Malcolm, On Wed, Jul 17, 2013 at 05:25:15PM -0700, Malcolm Cook wrote: > 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? > This kind of niche Org mode questions are more likely to be answered on the Org mode list. I would encourage you to post there in the future. That said, maybe the following Worg entry will help you adapt it for R: Cheers, -- Suvayu Open source is the future. It sets us free.