emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: source block evaluation in #+DATE line
Date: Tue, 10 May 2022 13:50:39 +0200	[thread overview]
Message-ID: <87lev961yo.fsf@med.uni-goettingen.de> (raw)

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.

Here is the MWE:

#+TITLE:     MWE
#+AUTHOR:    Me
#+EMAIL:     me@all
#+DATE:      Only Code Exported: src_sh[:exports results :results output wrap replace]{date}
#+LaTeX_CLASS: beamer

* Demonstration
** Inline Code Blocks Are Not Executed Everywhere

- Here, the results are correctly exported: src_sh[:exports results :results output wrap replace]{date}
- But in the =#+DATE:= line only the code is exported

Thanks in advance!


- GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.30,
  cairo version 1.16.0) of 2022-03-08
- Org mode version 9.5.3

             reply	other threads:[~2022-05-10 11:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10 11:50 Andreas Leha [this message]
2022-05-10 20:11 ` source block evaluation in #+DATE line Jeremie Juste
2022-05-10 20:26   ` Kaushal Modi
2022-05-11  3:15     ` Andreas Leha
2022-05-11 16:50       ` Eric S Fraga
2022-05-11 17:07         ` Eric S Fraga
2022-05-12  7:53           ` Andreas Leha
2022-05-11 17:12 ` Timothy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lev961yo.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).