emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using header data in document


From: Corwin Brust
Subject: Re: using header data in document
Date: Tue, 15 Sep 2020 16:41:03 -0500

Greetings!

On Tue, Sep 15, 2020 at 4:05 PM Emanuel Berg via General discussions
about Org-mode. <emacs-orgmode@gnu.org> wrote:
>
> How can I use header data in the document?

MACRO seems to be the current means to expose these.

  https://orgmode.org/manual/Macro-Replacement.html

 | Org comes with following pre-defined macros:
 |
 |  ‘{{{keyword(NAME)}}}’
 | ‘{{{title}}}’
 | ‘{{{author}}}’
 | ‘{{{email}}}’

So you can use use, e.g. {{{author}}} in various places to get at data
from the header:

 | Org recognizes macro references in following Org markup areas:
 | paragraphs, headlines, verse blocks, tables cells and lists.
 | Org also recognizes macro references in keywords, such as
 | ‘CAPTION’, ‘TITLE’, ‘AUTHOR’, ‘DATE’, and for some back-end
 | specific export options.

Regards,
Corwin

> underground experts united
> http://user.it.uu.se/~embe8573
> https://dataswamp.org/~incal



reply via email to

[Prev in Thread] Current Thread [Next in Thread]