From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Options for HTML & PDF export Date: Wed, 18 May 2011 16:07:34 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMny0-0003jL-Qb for emacs-orgmode@gnu.org; Wed, 18 May 2011 17:07:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMnxz-0005sF-Ik for emacs-orgmode@gnu.org; Wed, 18 May 2011 17:07:40 -0400 Received: from mailout1-trp.thomsonreuters.com ([163.231.6.6]:23802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMnxz-0005rt-Ch for emacs-orgmode@gnu.org; Wed, 18 May 2011 17:07:39 -0400 Received: from trpusmneagrly01.int.westgroup.com (relay1 [163.231.22.97]) by mailout1-trp.thomsonreuters.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p4IL7afa007182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 18 May 2011 21:07:36 GMT Received: from TLRUSMNEAGHUB01.ERF.THOMSON.COM (TLRUSMNEAGHUB01.erf.thomson.com [163.231.22.181]) by trpusmneagrly01.int.westgroup.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p4IL7Znl019302 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 18 May 2011 21:07:36 GMT Content-Language: en-US List-Id: "General diqcussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-mrgmode-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 use the Babel features of org-mode to do a sort of literate-programming t= hing. I have lots of R code that generates graphics which get included int= o an exported HTML or PDF (via LaTeX) document. I'm wondering about "best practices" (though I hate that term) for managing= the export to both HTML & PDF. For the HTML I generate the graphics files= as PNG, but for PDF the PNG format doesn't embed very well, so I need to g= enerate PDF or EPS or somesuch. But then I have to change the ":file filen= ame.png" to ":file filename.pdf", which is quite cumbersome to do every tim= e I want to export. Is there some wcy people have for dealing with this situation? Some option= s setting maybe? Thanks. -- Ken Williams Senior Research Scientist Thomson Reuters http://labs.thomsonreuters.com