From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Tait Subject: #+INCLUDE: in a #+MACRO: Date: Fri, 14 Jun 2013 21:49:30 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0122f84c25815504df23623f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unaw8-0007m9-B3 for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 16:49:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Unaw7-0005FJ-Es for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 16:49:32 -0400 Received: from mail-ie0-x230.google.com ([2607:f8b0:4001:c03::230]:65262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unaw7-0005FD-9P for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 16:49:31 -0400 Received: by mail-ie0-f176.google.com with SMTP id ar20so2420184iec.21 for ; Fri, 14 Jun 2013 13:49:30 -0700 (PDT) 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 --089e0122f84c25815504df23623f Content-Type: text/plain; charset=ISO-8859-1 I'm trying to create a macro like this: #+MACRO: contactme #+INCLUDE: "./chunks/contactme.org" This would enable me to construct a website in a modular way. (The second level of abstraction, i.e. not using a direct include, would make maintaining the website much easier because if I rearrange the site I only have to worry about the macro reference.) I can't get it to work however. Is there a way to do this? John --089e0122f84c25815504df23623f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm trying to create a macro like this:=A0
<= div>
#+MACRO: contactme #+INCLUDE: "./chunks/contactme.org"

This= would enable me to construct a website in a modular way.

(The second level of abstraction, i.e. not using a dire= ct include, would make maintaining the website much easier because if I rea= rrange the site I only have to worry about the macro reference.)

I can't get it to work however. Is there a way to do thi= s?

John

--089e0122f84c25815504df23623f--