From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Lewis Subject: conditionally includes or file options Date: Fri, 18 Oct 2013 12:44:51 +1100 Message-ID: <52609293.200@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWz7f-0003qy-MW for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 21:45:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWz7Z-0007tx-Pp for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 21:45:03 -0400 Received: from ipmail07.adl2.internode.on.net ([2001:44b8:8060:ff02:300:1:2:7]:46009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWz7Z-0007tt-DK for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 21:44:57 -0400 Received: from [10.0.2.240] (unknown [10.0.2.240]) by debian.organictrader.com.au (Postfix) with ESMTPSA id 813EF11A0677 for ; Fri, 18 Oct 2013 12:44:52 +1100 (EST) 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: org mode Hi, I have an org file stored on a Dropbox drive. I need some file options in it for exporting to reveal.js using ox-reveal. eg: on my mac: #+REVEAL_EXTRA_CSS: file:///Users/jason/source/reveal.js-fullscreen-img/fullscreen-img.css on my windows computer: #+REVEAL_EXTRA_CSS: file:///C:\Users\jason\source\reveal.js-fullscreen-img\fullscreen-img.css I'm alternating between a Windows computer and a mac for writing this document, and so the path is different. Is there some way I can conditionally set the path based on the computer I'm exporting it on? Thanks, Jason -- Jason Lewis http://emacstragic.net