From mboxrd@z Thu Jan 1 00:00:00 1970 From: Horace Dynamite Subject: Link translation in the HTML exporter Date: Fri, 10 Jun 2011 12:19:18 +0100 Message-ID: <4DF1FDB6.7010401@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUzjt-0008GI-MV for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 07:18:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUzjq-0006YC-QU for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 07:18:57 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:57294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUzjq-0006Xh-9L for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 07:18:54 -0400 Received: by wwb39 with SMTP id 39so2167788wwb.30 for ; Fri, 10 Jun 2011 04:18:52 -0700 (PDT) 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 Hello, I must have done something stupid here, because everything used to work perfectly until I tried setting up Org publisher stuff. My problem is that when I insert a link using C-c l in Emacs, everything is fine. I can click on it within Emacs and note that its there. After an HTML export, the link is broken, the exporter doesn't appear to be properly translating directory separators (for Windows) any more. Example, The result of C-c l is [[file:~/Notes/chuck.jpg]], the link works from within Emacs. I run the HTML exporter. The link is exported to this in the HTML source, c:/Documents and Settings/Horace/My Documents/Notes/chuck.jpg That didn't happen before I started fiddling. The only option I have in the preamble is LaTeX:nil. The only configuration related to org-publish is setting a project alist. I experience this problem both using the HTML exporter directly with C-c C-e h and with the org-publish-project command. Thank you for reading, Horace.