emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Tim <wiskey5alpha@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: INCLUDE directives in new org-mode
Date: Thu, 09 May 2013 08:04:43 +0200	[thread overview]
Message-ID: <877gj8elj8.fsf@gmail.com> (raw)
In-Reply-To: <87y5bp1031.wl%wiskey5alpha@gmail.com> (Tim's message of "Wed, 08 May 2013 20:14:10 -0400")

Hello,

Tim <wiskey5alpha@gmail.com> writes:

> At Tue, 07 May 2013 16:14:19 +0200,
> Nicolas Goaziou wrote:
>> 
>> Hello,
>> 
>> Wiskey 5 Alpha <wiskey5alpha@gmail.com> 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

      reply	other threads:[~2013-05-09  6:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07  2:14 INCLUDE directives in new org-mode Wiskey 5 Alpha
2013-05-07  2:21 ` OSiUX
2013-05-07 14:14 ` Nicolas Goaziou
2013-05-09  0:04   ` Tim
2013-05-09  0:14   ` Tim
2013-05-09  6:04     ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gj8elj8.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wiskey5alpha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).