From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: change JS & CSS paths when publishing? Date: Thu, 13 Mar 2014 16:57:17 +0100 Message-ID: <87wqfyozvm.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO80g-000624-UG for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 11:57:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO80a-0003Gi-Re for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 11:57:30 -0400 Received: from rs249.mailgun.us ([209.61.151.249]:44937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO80a-0003GX-N4 for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 11:57:24 -0400 In-Reply-To: (Matt Price's message of "Thu, 13 Mar 2014 11:10:39 -0400") 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: Matt Price Cc: Org Mode Hi Matt, Matt Price writes: > I would like to provide those lectures on the web for my students. > (Ideally, in fact, I would like to provide a couple of versions of > each lecture: one deck slideshow, one plain html, and maybe one pdf > or odt version.) Howver, the deck publish ocmmand writes paths to the > local copies of deck's css and js files. I would like to rewrite these > paths in the published files, to use the version of deck on my server > instead. IIUC, you can use something like this in your file: #+DECK_BASE_URL: http://some/server/url.js -- Bastien