[Top][All Lists]

[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

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]

* This is the first structural section

** Frame 1
*** Thanks to Eric Fraga                                           :B_block:
    :BEAMER_COL: 0.48
    :BEAMER_ENV: block
    for the first viable Beamer setup in Org
*** Thanks to everyone else                                        :B_block:
    :BEAMER_COL: 0.48
    :BEAMER_ACT: <2->
    :BEAMER_ENV: block
    for contributing to the discussion
**** This will be formatted as a beamer note                       :B_note:
     :BEAMER_env: note
** Frame 2 (where we will not use columns)
*** Request
    Please test this stuff!


reply via email to

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