shyamupa
shyamupa

Reputation: 1628

Can I inline a org file inside another org file?

In latex we can split a big document(paper.tex) into several tex files(abstract.tex,intro.tex ...) which can be inserted inline using \input{paper.tex}.

Is there a similar facility in org-mode?

Upvotes: 3

Views: 995

Answers (2)

egli
egli

Reputation: 86

Just use the include command i.e.

#+INCLUDE abstract.org
#+INCLUDE intro.org

This will inline abstract.org and intro.org in the current org file. See also the org-mode documentation on include files.

Upvotes: 6

Leu_Grady
Leu_Grady

Reputation: 518

Without test, but I think you can just simply add the latex command \input{paper.tex} in any place of .org file you want. It will render the .tex file to final file.

PS: other option: Include-files which are mentioned in the comment.

Upvotes: 0

Related Questions