From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Malcolm Cook Newsgroups: gmane.emacs.help Subject: how to handle svg files when exporting orgmode to html and pdf? Date: Wed, 17 Jul 2013 17:25:15 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1374107840 30757 80.91.229.3 (18 Jul 2013 00:37:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 00:37:20 +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:37:22 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 1UzcDi-0001QQ-O2 for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jul 2013 02:37:22 +0200 Original-Received: from localhost ([::1]:50682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzcDi-0001Um-DB for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 20:37:22 -0400 X-Received: by 10.224.172.129 with SMTP id l1mr12374479qaz.4.1374107115632; Wed, 17 Jul 2013 17:25:15 -0700 (PDT) X-Received: by 10.49.4.136 with SMTP id k8mr468047qek.19.1374107115617; Wed, 17 Jul 2013 17:25:15 -0700 (PDT) Original-Path: usenet.stanford.edu!t19no2023750qam.0!news-out.google.com!dk8ni470qab.0!nntp.google.com!t19no2023744qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=12.201.176.150; posting-account=CtxIBQoAAABRpNj1BsOSwPxamWh0TS_a Original-NNTP-Posting-Host: 12.201.176.150 User-Agent: G2/1.0 Injection-Date: Thu, 18 Jul 2013 00:25:15 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:199950 X-Mailman-Approved-At: Wed, 17 Jul 2013 20:37:14 -0400 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:92216 Archived-At: 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