From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mJeOBfVFbGc2pgAAe85BDQ:P1 (envelope-from ) for ; Wed, 25 Dec 2024 17:50:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mJeOBfVFbGc2pgAAe85BDQ (envelope-from ) for ; Wed, 25 Dec 2024 18:50:45 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nzyJSzrO; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735149044; 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=W6xhfx0nNZKIacF7MNQQYClLwCxBi4NlbvYbZChsg2s=; b=V/jIKTLyNtSlzPnAW0/Hp5mu4taB74nk/Rd6KrUfeUoMBicxUGbxikC7FX3qHBuK6KXZhs jqO4qykDOODS2EjOeYJgu6D/hDCcfmtByDxrSlP7s7EcUYFpA6y/v+2heKz6bLLpE4hkyz Bsx82c7Eoc4Se5RLQTwcf1V9ZANarl7sJbcaPkxXZNkSo3Upsv75GWgo6JxckXUZ+783N2 DPN9oVqJjeWSbrmyS/QJm66Y/ICGYtibDdtMPSdUq7s1ymH2Y5wFzmRgPnc7mR59ABssDl /wVWAdB/AMCed46TYESh6cNVROsbpml3qD7Df/QQ4EUVheada/6uVAjQVhbk0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nzyJSzrO; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735149044; a=rsa-sha256; cv=none; b=OS6sYHLTJWDofZbM4o42UxqwNhlGh0E6DW9O2mpyPUDM56QkcJGBXGzJwBBD75++U7jSWX qZhWaJ/iOm2BCCtrOsHpp5iDbwIW4sS5gtWErUfz2Y2/crdx79B5jAFKq9IWMYGi3uw9Cl nht11zm/G3Ng/x9KSqJknASZdkbWqK9KkB9wkO0/CT+Yr1UiCpWQrBtpnmElOk7plkHl3x Tl/w9vB+7o2P7NMUvhi5vHuDkXWhGYYTRgVNhwoN9fRStWYokXSFBfh3xvTwypN3pZxy/S ihWmjOLOkb6VBl9YBZMcQcilHklHzXLLj9tPrIjMnWef/fESsE7v2JKMfZ7x6Q== 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 F423881628 for ; Wed, 25 Dec 2024 18:50:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQVWA-0005hg-DT; Wed, 25 Dec 2024 12:49:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQVW7-0005hV-Nk for emacs-orgmode@gnu.org; Wed, 25 Dec 2024 12:49:55 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQVW5-0008CP-7t for emacs-orgmode@gnu.org; Wed, 25 Dec 2024 12:49:55 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3175C240103 for ; Wed, 25 Dec 2024 18:49:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735148989; bh=Bdl5Hbdj4GRdCNiBbpQBq64pF+/p+ABvBUwG0uGscgI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=nzyJSzrOpeceoE7T22uJcGtnN1oOvSQl1xlP6ajhSTrDu2qeKc5bjedlEI8DSsyBk 3/pQldlB5LCcYoC78Rnz4F3sQ7kEGlAN+GMk90Twppa6b2vCJ2wC54mbC74XdTRAS3 MPk6W5zVORiDVGtww6+moPwH2YE/jl8dNooDK0oJXSpql6gcGiqoflxzqaENxwmx1/ hYjOB9W/nxkdt6MGQBezDl8MbuxG86RorP4I4Dy1D487lJPZTIuxTwhisLJZFH8ikk bBBxH5b1yrwmUaMTq24anhZ003GUQzi99HowUdtKtG1NtEN3lffCUfv2aR0ZqGT0+1 u1tfiFTl256eQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YJK5m328gz9rxM; Wed, 25 Dec 2024 18:49:48 +0100 (CET) From: Ihor Radchenko To: Pedro Andres Aranda Gutierrez Cc: emacs-orgmode@gnu.org Subject: Re: Tiny patch: add onlyenv to beamer environments In-Reply-To: References: <87ikr8131n.fsf@localhost> <871pxvzrnr.fsf@localhost> Date: Wed, 25 Dec 2024 17:51:19 +0000 Message-ID: <87ttary7l4.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: F423881628 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.90 X-Spam-Score: -0.90 X-TUID: n0uJjzJiNBzK --=-=-= Content-Type: text/plain [ Adding Org ML back to CC ] Pedro Andres Aranda Gutierrez writes: > Here you are. I have included three links, including the answer email in > the GNU mail archive directly. The thread seems to be broken there. > Pick the one you prefer. Thanks! The patch was slightly ill-formatted. I fixed the patch and also reworded things sligthtly. Please, check the attached updated patch. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-ox-beamer-Add-onlyenv-to-the-beamer-environments.patch >From 4f6cb2134a143549d087959dec3f4f5418fec710 Mon Sep 17 00:00:00 2001 Message-ID: <4f6cb2134a143549d087959dec3f4f5418fec710.1735148978.git.yantar92@posteo.net> From: "Pedro A. Aranda" Date: Wed, 25 Dec 2024 17:31:40 +0100 Subject: [PATCH] ox-beamer: Add onlyenv to the beamer environments * etc/ORG-NEWS: Correct typo and announce that `onlyenv' has been added to `org-beamer-environments-default' and how to use it. * lisp/ox-beamer.el: Add onlyenv to `org-beamer-environments-default'. Link: https://list.orgmode.org/orgmode/CA+XG7-im7gWY9n6vF949WqeuaQveu4Q-VSe0+H=+nhgft7WCnw@mail.gmail.com/#t Link: https://list.orgmode.org/87ikr8131n.fsf@localhost/T/#t --- etc/ORG-NEWS | 16 +++++++++++++++- lisp/ox-beamer.el | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 4c41f981cd..d082c4c4ea 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -143,7 +143,7 @@ now be pasted as an Org table using ~yank-media~. ** New and changed options -# Chanes deadling with changing default values of customizations, +# Changes deadling with changing default values of customizations, # adding new customizations, or changing the interpretation of the # existing customizations. @@ -196,6 +196,20 @@ English. The default value is ~t~ as the CSL standard assumes that English titles are specified in sentence-case but the bibtex bibliography format requires them to be written in title-case. +*** New environment =onlyenv= in ~org-beamer-environments-default~ + +The =onlyenv= environment limits showign parts of an animated Beamer +slide to specific animation steps. + +#+BEGIN_SRC org +,***** Comment +:PROPERTIES: +:BEAMER_env: onlyenv +:BEAMER_act: <2-> +:END: +This text will be displayed on animation step 2 and later. +#+END_SRC + ** New functions and changes in function arguments # This also includes changes in function behavior from Elisp perspective. diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el index 527bb55e56..a48fcfca1b 100644 --- a/lisp/ox-beamer.el +++ b/lisp/ox-beamer.el @@ -198,6 +198,7 @@ (defconst org-beamer-environments-default ("example" "e" "\\begin{example}%a[%h]%l" "\\end{example}") ("exampleblock" "E" "\\begin{exampleblock}%a{%h}%l" "\\end{exampleblock}") ("proof" "p" "\\begin{proof}%a[%h]" "\\end{proof}") + ("onlyenv" "O" "\\begin{onlyenv}%a" "\\end{onlyenv}") ("beamercolorbox" "o" "\\begin{beamercolorbox}%o{%h}" "\\end{beamercolorbox}")) "Environments triggered by properties in Beamer export. These are the defaults - for user definitions, see -- 2.47.1 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--