From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: how can I html export a relative link to an org file? Date: Wed, 03 Dec 2014 15:05:50 +0100 Message-ID: <87ppc0kev5.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwAYD-0006oT-TK for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 09:05:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwAY5-0006HG-PN for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 09:05:05 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:53989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwAY5-0006H0-J0 for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 09:04:57 -0500 In-Reply-To: (Alan Schmitt's message of "Wed, 03 Dec 2014 14:07:06 +0100") 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: Alan Schmitt Cc: emacs-orgmode Hello, Alan Schmitt writes: > I'm writing a web site in org mode where some results are made available > in an org file. If I put a fully qualified http link to that file, all > goes well, but if I use a relative link, then the link is done to an > html file instead. > > This is to be expected according to the documentation > (http://orgmode.org/manual/Links-in-HTML-export.html): > > ,---- > | Links to other .org files will be translated into HTML links under the > | assumption that an HTML version also exists of the linked file, at the > | same relative path. > `---- > > What I don't see is how to disable this, and have a link to the real org > file. > > Is there a way? See `org-html-link-org-files-as-html'. Regards, -- Nicolas Goaziou