From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Defining content for re-use Date: Wed, 13 Jan 2016 14:54:04 +0100 Message-ID: <2016-01-13T14-49-08@devnull.Karl-Voit.at> Reply-To: Karl Voit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJLsQ-0001AI-Ex for emacs-orgmode@gnu.org; Wed, 13 Jan 2016 08:54:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJLsN-0005qi-9d for emacs-orgmode@gnu.org; Wed, 13 Jan 2016 08:54:18 -0500 Received: from plane.gmane.org ([80.91.229.3]:34558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJLsN-0005qd-28 for emacs-orgmode@gnu.org; Wed, 13 Jan 2016 08:54:15 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aJLsK-00077a-J8 for emacs-orgmode@gnu.org; Wed, 13 Jan 2016 14:54:12 +0100 Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2016 14:54:12 +0100 Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2016 14:54:12 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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