From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Include file relative path Date: Tue, 31 Dec 2019 10:54:05 +0100 Message-ID: <87woacyg5e.fsf@nicolasgoaziou.fr> References: <5e0abdbf.1c69fb81.57af3.c1ce@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55580) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imEEA-0005fl-Ry for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 04:54:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imEE9-0001XC-48 for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 04:54:14 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:59343) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1imEE8-0001DP-Sy for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 04:54:13 -0500 In-Reply-To: <5e0abdbf.1c69fb81.57af3.c1ce@mx.google.com> (Steven Penny's message of "Mon, 30 Dec 2019 19:17:19 -0800 (PST)") 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" To: Steven Penny Cc: emacs-orgmode@gnu.org Hello, Steven Penny writes: > The Org Mode section on including files: > > https://orgmode.org/manual/Include-files.html > > seems to be missing a detail. It appears that relative paths are allowed, I > assume they would be relative to the directory of the parent file. Yes, see the last example in the section. > That is to say if I have file "monday.org" including file "sunday.org", and they > are in the same folder, then I could use this syntax: > > #+INCLUDE: "sunday.org" > > Is that correct? Have you tried it? It looks correct. Otherwise, "./sunday.org" should work. Regards, -- Nicolas Goaziou