From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Org links, URLs and HTML export Date: Tue, 23 Aug 2016 00:28:45 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114942306db357053ab09331 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbxiP-0003MB-3X for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 18:29:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbxiM-0003EH-T9 for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 18:29:08 -0400 Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:35144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbxiM-0003E8-NT for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 18:29:06 -0400 Received: by mail-oi0-x22d.google.com with SMTP id 4so172816882oih.2 for ; Mon, 22 Aug 2016 15:29:06 -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" To: "emacs-orgmode@gnu.org" --001a114942306db357053ab09331 Content-Type: text/plain; charset=UTF-8 Hi, I'm puzzled by the following. I write a couple of Org file with HTML export in mind, building a site with several pages, say: foo.org -> foo.html bar.org -> bar.html I want to insert a link in foo.org that will point to bar.html when exported. I can insert : [[http:bar.html]] However, I would like to be able to insert any kind of relative url. Specifically, there is no mean to insert something like : [[http:/bar.html]] which is exported to The corresponding export should be Strangely, some browsers grok the former (Chrome), but not all of them (Safari). Anyway, only the later is correct. Is there any way to fix exporting relative urls? If I'm wrong somewhere, please correct me. Best regards, Fabrice --001a114942306db357053ab09331 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I'm puzzled by the following.
I write a couple of Org file with HTML export in mind, building a = site with several pages, say:
bar.org -> b= ar.html
I want to insert a link in foo= .org that will point to bar.html when exported.

I can insert : [[http:bar.html]]
However, I would like to be ab= le to insert any kind of relative url.
Specifically, there is no = mean to insert something
like : [[http:/bar.html]] which is expor= ted to <a href=3D"http:/bar.html"></a>
The = corresponding export should be <a href=3D"/bar.html"></a= >

Strangely, some browsers grok the former (Chr= ome), but not all of them (Safari).
Anyway, only the later is cor= rect.

Is there any way to fix exporting relative u= rls?

If I'm wrong somewhere, please correct me= .

Best regards,

Fabrice
--001a114942306db357053ab09331--