From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6KmVKDDHemJOqAAAbAwnHQ (envelope-from ) for ; Tue, 10 May 2022 22:12:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SPHFKDDHemIaKgAA9RJhRA (envelope-from ) for ; Tue, 10 May 2022 22:12:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1D6123871A for ; Tue, 10 May 2022 22:12:32 +0200 (CEST) Received: from localhost ([::1]:45426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noWDe-0008SH-FV for larch@yhetil.org; Tue, 10 May 2022 16:12:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noWD8-0008RZ-5H for emacs-orgmode@gnu.org; Tue, 10 May 2022 16:11:58 -0400 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:35370) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noWD6-0000vr-Gl for emacs-orgmode@gnu.org; Tue, 10 May 2022 16:11:57 -0400 Received: by mail-ej1-x636.google.com with SMTP id ks9so80082ejb.2 for ; Tue, 10 May 2022 13:11:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VPEhr0pdIewxmBn2AiuuZsCmTTl5jJPFdee9QbChDT0=; b=eSY5mBSRFDEWYNaSDP61HgdrVbaGGx9cqxQU7V+Rmq6Kmi1vuuT8DVFPzo4VvJeG/5 qfmWZJX64GSpnGShoG5WBAZrFHL5TgBFyPYLLSCWJQbTEnb82T3mqQCFYQMGroV+xp8r atWdKU3+Xua584jBUYsKQheevFpkjYFJoHkSshQHZibzADY+V/gNHyb0zw3+qJVSwNuw G01PKQt1+MHR2ozO/ICv/0lUY91EMzzubTVFnid/SvmcqSrwYMSU5xOXEzqhiO7+nRWW ZTqY167ydMI8IJARkIM55haGhlpX41rwdHBq7KqFKaCxss1QdXiCPfG0aYIcrdKk0pDn 1s1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=VPEhr0pdIewxmBn2AiuuZsCmTTl5jJPFdee9QbChDT0=; b=WgraHgjce4QKHuZkL3zkLP/bHJrSk9WkI8qETjFL7Vl9Z49yu4t2B8k6KZX5gJdmhH wONsPQy15TGvwd4IYT202C8NkDnPf6aM0/aeFeYkvAbdIjdMpEVCHa4iNfrxeTcSJyk8 BgqqLNtkXETrrAjJKCBSGyanqv7tmhCS1n3S2UMRmaF/1Ne6ySEcSFmUpvt1HUrdQ1KC bZt03CoqO7NqNlScaDdIxW6SLjldb7BYQWZMxkhfGobZRwNoj8doBNnGJXZyuD4F9hcO NVkb6QFLHuHTV5cXSXH+ngtttlB1k8/lTGVNdQ0FyMbTfW1+Vp115ednGNmLXMp9+feS iMQw== X-Gm-Message-State: AOAM530Vo9JPat4WZM9cK1xy5s2xLeC4p/tUCKDW/ss3Yh3bXSvabNFu HsbbgeK4YiTHNADSnTix/RxYbUjZfDVo2g== X-Google-Smtp-Source: ABdhPJwfGQlhoKJZ7Nnsif/9nhMT6gN6R/vYbC7N/onHgIOQMwUA8f/irbMUCuVhsyF74UOJSJfAHw== X-Received: by 2002:a17:907:1c87:b0:6f0:29ea:cc01 with SMTP id nb7-20020a1709071c8700b006f029eacc01mr21131993ejc.671.1652213514633; Tue, 10 May 2022 13:11:54 -0700 (PDT) Received: from flexignu ([2a02:908:1d0:8d20:bdc:a78f:6f0c:6069]) by smtp.gmail.com with ESMTPSA id a18-20020a170906671200b006f3ef214e6fsm92692ejp.213.2022.05.10.13.11.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 13:11:53 -0700 (PDT) From: Jeremie Juste To: Andreas Leha Cc: emacs-orgmode@gnu.org Subject: Re: source block evaluation in #+DATE line References: <87lev961yo.fsf@med.uni-goettingen.de> Date: Tue, 10 May 2022 22:11:52 +0200 In-Reply-To: <87lev961yo.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Tue, 10 May 2022 13:50:39 +0200") Message-ID: <875ymdqh9z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=jeremiejuste@gmail.com; helo=mail-ej1-x636.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652213552; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VPEhr0pdIewxmBn2AiuuZsCmTTl5jJPFdee9QbChDT0=; b=lX6e7jKG8ICt/IwBBpDUTK+tW9yngYVDthqk1aE8uPrOGDGhKPT4Ftji/lBYeModCE+knu bhSaHP57zRFwbgL4SSRXjnoDAaNJk+Sl9mGCbfofJHhSFZOR1Emcds9NsnDTHnalRYG6Cu Hog/bEM8uUnE6VTqWH5GkgjrxsljJmDJwmAD94IahAou8LCOBNtKfVJkB/zWr41IZFLrYB yAv4cKq0nrfz4BF73B3h/GiSfKA3mDpEi7n7lNfHLE0jxuCzdndbD4rHvnG2KbQMxfwbax CN3aR6OR2IDYO5xuIUwkmtZ6mCl+GJZZjB7OzYMa6KqB0CNFa9ifSMzzsPLq8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652213552; a=rsa-sha256; cv=none; b=hWRq8VOv3OEpr4evnnJ/h0ZxmrvxMyCtbT36w6yyLLAjrGO8z5hLuw+XZdQnkENJhAbDTL Bl6YcxOApXg9dhM4Xple9/qSI1SAHRuMlc0ELBrLq6u3A3/84Thv8VOvD8+ilWJwUiX9WT TOk5MhJnh2ewa9xY9uLkLQpPBK0XMZbOlmLRTzGB9MSQTwR+G3GqOKCZSmJWO8b77X6l49 H+cmtqds1Xvm8xyy3ID8olbktQXzzxc7RmWsGxc4BeIY/gKFC5TgDrNPxURq89huYPxflC VYIJoGeE0Y61dzyWDKyraLrHIjKP2nfpSOUlhTsCNB/hAlkNPJZVcgbjnRgYLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eSY5mBSR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eSY5mBSR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1D6123871A X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: WIRWTz4iSLjy 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