[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Defining content for re-use
From: |
Karl Voit |
Subject: |
[O] Defining content for re-use |
Date: |
Wed, 13 Jan 2016 14:54:04 +0100 |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
Hi!
I wonder if it is possible to define parts of content and "bind" it
to a reference which can be inserted multiple times.
In LaTeX, I am using:
,----[ LaTeX example ]
| \newcommand{\mycontent}{This is some content containing lists,
| headings, and much more which is defined once and pops up in my end
| document multiple times.}
|
| \chapter{First Chapter}
|
| \mycontent
|
| [...]
|
| \chapter{Last Chapter}
|
| Once again, I would like to state \mycontent
`----
So can this be done with Org-mode (and TeX export) as well?
Very vaguely I'd say this would look like:
,----[ Org-mode example guess ]
| #+NAME: mycontent
| #+BEGIN_QUOTE
| This is some content...
| #+END
|
| My content which is #+insert:mycontent can be used multiple times.
| Here we go again: #+insert:mycontent
`----
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
- [O] Defining content for re-use,
Karl Voit <=