From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: HTML export and absolute file names Date: Mon, 24 Jan 2011 12:47:36 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=48886 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhKtj-0007dQ-AD for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 06:47:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhKth-0005Zq-IM for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 06:47:50 -0500 Received: from lo.gmane.org ([80.91.229.12]:37473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhKth-0005Zf-Bc for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 06:47:49 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PhKtf-00086t-O2 for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 12:47:47 +0100 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 12:47:47 +0100 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 12:47:47 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org With commit 330fb540 export of file links to HTML in `org-html-make-link' changed insofar that file links with absolute paths are now prepended with `file://'. This seems to make it virtually impossible to create HTML code like `'. However, creating HTML links with an absolute path (and without host name) is often desirable, especially when publishing to a site (where `file://' links are rather seldom needed). Would it be reasonable to address this and what would be the best way of doing so (new export var, new link type ...)? Ulf