From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?=C5=81ukasz?= Stelmach Subject: Re: portable absolute links in HTML export Date: Thu, 07 Oct 2010 15:19:14 +0200 Message-ID: <87fwwib0od.fsf@dasa3.iem.pw.edu.pl> References: <87tykyb3bu.fsf@dasa3.iem.pw.edu.pl> <87mxqqb0xz.fsf@dasa3.iem.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=56130 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3qNe-0007Lx-3W for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 09:19:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3qNb-0000Y7-1N for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 09:19:29 -0400 Received: from lo.gmane.org ([80.91.229.12]:47335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3qNa-0000Xw-Oz for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 09:19:26 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P3qNX-0003E5-21 for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 15:19:23 +0200 Received: from dasa3.iem.pw.edu.pl ([194.29.147.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 15:19:23 +0200 Received: from lukasz.stelmach by dasa3.iem.pw.edu.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 15:19:23 +0200 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 Łukasz Stelmach writes: > Carsten Dominik writes: > >> On Oct 7, 2010, at 2:21 PM, Łukasz Stelmach wrote: >> >>> Is there a simple way to create hyperlinks with *absolute* paths that >>> would work after both: simple file export (C-c C-e h) and publishing >>> on >>> a remote server (C-c C-e F). I'd like to create a _menu.org file that >>> contains some navigation links and #+INCLUDE: it (BTW. M-Tab can't >>> complete #+INC) in every single file I create and publish. >> >> Maybe you can use link abbreviations and define the abbreviation >> differently for both cases. > > Any suggestion where/when can I automatically alter > org-link-abbrev-alist for each of export procedures. No need to :-) In the main index.org i put #+LINK examplewww: file: and in the others #+LINK examplewww: file:../ and it works :-) Thanks a lot. -- Miłego dnia, Łukasz Stelmach