emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jason Lewis <jasonblewis@gmail.com>
To: org mode <emacs-orgmode@gnu.org>
Subject: conditionally includes or file options
Date: Fri, 18 Oct 2013 12:44:51 +1100	[thread overview]
Message-ID: <52609293.200@gmail.com> (raw)

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

             reply	other threads:[~2013-10-18  1:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-18  1:44 Jason Lewis [this message]
2013-11-04 12:00 ` conditionally includes or file options Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52609293.200@gmail.com \
    --to=jasonblewis@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).