From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Tournier Subject: Adapt included relative links during export ? Date: Wed, 16 Feb 2011 00:38:16 +0100 Message-ID: <201102160038.16386.maxime.tournier@inrialpes.fr> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35838 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpUTO-0005YN-I3 for emacs-orgmode@gnu.org; Tue, 15 Feb 2011 18:38:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpUTN-0004bX-Dl for emacs-orgmode@gnu.org; Tue, 15 Feb 2011 18:38:22 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:54488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpUTN-0004bP-9R for emacs-orgmode@gnu.org; Tue, 15 Feb 2011 18:38:21 -0500 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 Hi, I'd like to know if it's possible to adapt relative links when including an org file from another, during export. Let's say for example I have the following files: ./master.org ./sub/foo.org ./sub/bar.jpg where master.org contains this include line: #+INCLUDE: "sub/foo.org" and sub links the image: [[file:bar.jpg]] If I export mater.org to master.html, the image won't show up since its url will be copied from foo.org. Is it possible to adapt such relative links during export? This would make quick aggregation of notes in a single document quite easier. Anyway, many thanks for this great piece of software ! Maxime