* Include file relative path
@ 2019-12-31 3:17 Steven Penny
2019-12-31 9:54 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Steven Penny @ 2019-12-31 3:17 UTC (permalink / raw)
To: emacs-orgmode
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.
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Include file relative path
2019-12-31 3:17 Include file relative path Steven Penny
@ 2019-12-31 9:54 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-12-31 9:54 UTC (permalink / raw)
To: Steven Penny; +Cc: emacs-orgmode
Hello,
Steven Penny <svnpenn@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-31 9:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-31 3:17 Include file relative path Steven Penny
2019-12-31 9:54 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.