emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* external/central ``macro'' definitions (for instance link abbrev's)?
@ 2016-03-26 11:43 Martin Steffen
  2016-03-26 12:55 ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Steffen @ 2016-03-26 11:43 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-26 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-26 11:43 external/central ``macro'' definitions (for instance link abbrev's)? Martin Steffen
2016-03-26 12:55 ` Eric S Fraga
2016-03-26 13:53   ` Martin Steffen
2016-03-26 17:21     ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).