How can I use header data in the document?
E.g.,
#+AUTHOR: Emanuel Berg
[...]
\author I wrote this! # only that doesn't work
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
Greetings!
On Tue, Sep 15, 2020 at 4:05 PM Emanuel Berg via General discussions
about Org-mode. 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
Corwin Brust wrote:
> | Org comes with following pre-defined macros:
> |
> | ‘{{{keyword(NAME)}}}’
> | ‘{{{title}}}’
> | ‘{{{author}}}’
> | ‘{{{email}}}’
Thanks, great!
> So you can use use, e.g. {{{author}}} in various
> places to get at data from the header:
>
> | Org recognizes macro r
On Wednesday, 16 Sep 2020 at 00:08, Emanuel Berg via "General discussions about
Org-mode." wrote:
> Hm, date? Maybe that can be used to do a line like
> the LaTeX's
>
> Last modified: \today
>
> or how would one do that?
Check out the info manual: [[info:org#Macro Replacement]]
but you should
Eric S Fraga wrote:
> On Wednesday, 16 Sep 2020 at 00:08, Emanuel Berg via
> "General discussions about Org-mode." wrote:
>
>> Hm, date? Maybe that can be used to do a line like
>> the LaTeX's
>>
>> Last modified: \today
>>
>> or how would one do that?
>
> Check out the info manual: [[info:org#M
On Wednesday, 16 Sep 2020 at 17:18, Emanuel Berg via "General discussions about
Org-mode." wrote:
> {{{date()}}} works as does {{{date(%D)}}} in a sense,
> only the format string doesn't seem to influence the
> output, which is "September 16, 2020".
The documentation that you have in your post sa
Eric S Fraga wrote:
>> {{{date()}}} works as does {{{date(%D)}}} in
>> a sense, only the format string doesn't seem to
>> influence the output, which is "September 16,
>> 2020".
>
> The documentation that you have in your post says
> that this works only if the actual date given in
> the #+DATE di
On Wednesday, 16 Sep 2020 at 17:56, Emanuel Berg via "General discussions about
Org-mode." wrote:
> Eric S Fraga wrote:
>> The documentation that you have in your post says
>> that this works only if the actual date given in
>> the #+DATE directive is a single timestamp. So,
>> what did you specif
Eric S Fraga wrote:
> what does your #+date: line look like? Is it
> a single time stamp? If it is not, all of the above
> would return the same thing.
I don't have that line.
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
On Wednesday, 16 Sep 2020 at 19:14, Emanuel Berg via "General discussions about
Org-mode." wrote:
> Eric S Fraga wrote:
>
>> what does your #+date: line look like? Is it
>> a single time stamp? If it is not, all of the above
>> would return the same thing.
>
> I don't have that line.
So there is
10 matches
Mail list logo