emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Properties] accessing propreties in text


From: Kyle Meyer
Subject: Re: [Properties] accessing propreties in text
Date: Thu, 09 Jan 2020 20:21:52 +0000

sergio ruiz <address@hidden> writes:

> Is there a way to reference the values of properties, so that at render time, 
> the document does something like:
>
> * Opening section
> :PROPERTIES:
> :section:  test
> :time:     1 day
> :END:
>
> Is there a way to do something like.. this section is the <section> section 
> and will be done in <time>
>
>
>
> which would render as:
>
> Is there a way to do something like.. this section is the test section and 
> will be done in 1 day

How about something like this?

--8<---------------cut here---------------start------------->8---
* Opening section
:PROPERTIES:
:section:  test
:time:     1 day
:END:

this section is the {{{property(section)}}} section and will be done
in {{{property(time)}}}
--8<---------------cut here---------------end--------------->8---

See (info "(org)Macro replacement") for more information on macros.



reply via email to

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