[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: source block evaluation in #+DATE line
From: |
Jeremie Juste |
Subject: |
Re: source block evaluation in #+DATE line |
Date: |
Tue, 10 May 2022 22:11:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello Andreas,
On Tuesday, 10 May 2022 at 13:50, Andreas Leha wrote:
> Hi all,
>
> how can I have a source block result in a #+Date line?
>
> I am creating a beamer presentation. While the code works and the
> results get exported nicely at any other position, in the #+Date line
> only the code is exported.
> #+DATE: Only Code Exported: src_sh[:exports results :results
> output wrap replace]{date}
I'm not sure I undersand, why you would want to use the shell to specify
a date. Could you please explain? Are you looking for a particular date
format?
The example below, taken from the org documentation produces the current
date when exported to BEAMER.
#+TITLE: Example Presentation
#+AUTHOR: Carsten Dominik
#+OPTIONS: H:2 toc:t num:t
#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: Madrid
#+COLUMNS: %45ITEM %10BEAMER_ENV(Env) %10BEAMER_ACT(Act) %4BEAMER_COL(Col)
* This is the first structural section
** Frame 1
*** Thanks to Eric Fraga :B_block:
:PROPERTIES:
:BEAMER_COL: 0.48
:BEAMER_ENV: block
:END:
for the first viable Beamer setup in Org
*** Thanks to everyone else :B_block:
:PROPERTIES:
:BEAMER_COL: 0.48
:BEAMER_ACT: <2->
:BEAMER_ENV: block
:END:
for contributing to the discussion
**** This will be formatted as a beamer note :B_note:
:PROPERTIES:
:BEAMER_env: note
:END:
** Frame 2 (where we will not use columns)
*** Request
Please test this stuff!
HTH,
Jeremie
Re: source block evaluation in #+DATE line, Timothy, 2022/05/11