From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Steffen Subject: external/central ``macro'' definitions (for instance link abbrev's)? Date: Sat, 26 Mar 2016 11:43:43 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajmdP-0004Fc-OW for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 07:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajmdM-0001Wv-Ij for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 07:44:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:35263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajmdM-0001WV-Bf for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 07:44:00 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ajmdG-0004uv-Qa for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 12:43:55 +0100 Received: from cm-84.215.65.209.getinternet.no ([84.215.65.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Mar 2016 12:43:54 +0100 Received: from msteffen by cm-84.215.65.209.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Mar 2016 12:43:54 +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: emacs-orgmode@gnu.org Hi, I like to achieve the following. I do a org-document which I separate into different files (one per chapter or similar). They are all included into some "main.org". In that setup, I'd like to use some centrally defined links, like #+LINK: toollib ../../src/lib or similar, as an abbrev in hyperlinks like [[toollib:somefile][somefile]] Now, the #+LINK mechanism works fine as such. But I want that it works for all used *.org files that constituted the overall document /without/ repeating the definition. Something like #+INCLUDE "definitions.org" at the beginning of each file, so that if something changes, I need to adapt only "definitions.org", not all files making use of that shared links. Is there a way to achieve that? Thanks, Martin