From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Options for HTML & PDF export Date: Fri, 20 May 2011 14:47:37 -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]:43109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNVfj-0000Ft-5x for emacs-orgmode@gnu.org; Fri, 20 May 2011 15:47:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNVfi-0004YN-6t for emacs-orgmode@gnu.org; Fri, 20 May 2011 15:47:43 -0400 Received: from mailout2-trp.thomsonreuters.com ([163.231.6.26]:32829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNVfi-0004Y5-2h for emacs-orgmode@gnu.org; Fri, 20 May 2011 15:47:42 -0400 Received: from trpusmneagrly02.int.westgroup.com (relay2 [163.231.22.113]) by mailout2-trp.thomsonreuters.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p4KJldki014561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 20 May 2011 19:47:39 GMT Received: from EAGE-ERFPHUB02.ERF.THOMSON.COM (EAGE-ERFPHUB02.erf.thomson.com [163.231.23.34]) by trpusmneagrly02.int.westgroup.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p4KJld8k009069 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 20 May 2011 19:47:39 GMT Content-Language: en-US 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 Sebastien Vauban writes: > > wrote: > > [...] > > I'm wondering about "best practices" (though I hate that term) for >managing > > the export to both HTML & PDF. >=20 > Just by curiosity, what don't use like that term? I'm not sure - I just hear it used a lot as sort of a "trump card" when someone wants to impress someone else with how great their methods are, or if they want to squash someone else's "non-compliant" tool usage. In this case though, I'm perfectly willing to be impressed with someone's method. =3D) > I've no time to customize it to your particular needs, but here's >something > you can update to map it to your needs: >=20 > #+begin_src org > #+BABEL: :results (if (and (boundp 'backend) (eq backend 'latex)) >"latex" "file") > #+end_src Thanks Seb, I'll try working with that. I haven't ever done any Lisp stuff in org-mode, so I may be a little bit lost here, but I'll experiment a bit. Is there somewhere in the orgmode manual that talks about where Lisp can be embedded in documents for interpolation like this? I hadn't seen that kind of thing before. >=20 > Please post your solution for the sake of further sharing... Definitely will if I find something useful! -- Ken Williams Senior Research Scientist Thomson Reuters http://labs.thomsonreuters.com