From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: INCLUDE directives in new org-mode Date: Thu, 09 May 2013 08:04:43 +0200 Message-ID: <877gj8elj8.fsf@gmail.com> References: <874neeev2c.fsf@gmail.com> <87y5bp1031.wl%wiskey5alpha@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaJy9-0001SD-FC for emacs-orgmode@gnu.org; Thu, 09 May 2013 02:04:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaJy8-0005hZ-DN for emacs-orgmode@gnu.org; Thu, 09 May 2013 02:04:45 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:52381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaJy8-0005hJ-6z for emacs-orgmode@gnu.org; Thu, 09 May 2013 02:04:44 -0400 Received: by mail-wi0-f180.google.com with SMTP id h11so2691566wiv.1 for ; Wed, 08 May 2013 23:04:43 -0700 (PDT) In-Reply-To: <87y5bp1031.wl%wiskey5alpha@gmail.com> (Tim's message of "Wed, 08 May 2013 20:14:10 -0400") 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: Tim Cc: emacs-orgmode@gnu.org Hello, Tim writes: > At Tue, 07 May 2013 16:14:19 +0200, > Nicolas Goaziou wrote: >> >> Hello, >> >> Wiskey 5 Alpha writes: >> >> > I am trying to use the #+INCLUDE directives to have template information >> > for a series of orgmode files that I want to export. Prior to upgrading to >> > v8, the below minimal example was working. But as of the upgrade, any >> > text in an included file is just copied in verbatim. >> > >> > --- foo.org >> > >> > >> > #+INCLUDE: date.org >> > >> > >> > * this is a test >> > >> > --- date.org >> > {{{date(%d %b %Y)}}} >> >> You want: >> >> {{{time(%d %b %Y)}}} >> >> {{{date}}} is used to refer to #+DATE: value, but there is none in your >> example. > > One more piece of information. If I move the #+INCLUDE: directive down > under a headline, then the time directive is converted. However I am > trying to import this /above/ the first headline. Is that possible ? Probably not if your Org version is below 8.0. Regards, -- Nicolas Goaziou