emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FR] Allow to #+include files verbatim without any processing (was:


From: Ihor Radchenko
Subject: Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir)
Date: Tue, 04 Apr 2023 08:57:27 +0000

Samuel Wales <samologist@gmail.com> writes:

> off topic, but is it possible to leverage such a default into being
> able to include a paragraph [or a section] from the current file?
> istr this required specifying both dir [fixed with this default] and
> the file basename.

You can just include the same file.

For example, try the following "1.org" file:
----
#+include: "./1.org::*Heading" :only-contents t
* Heading
Text.
----

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]