* Tiny patch: add onlyenv to beamer environments @ 2024-12-25 8:27 Pedro Andres Aranda Gutierrez 2024-12-25 10:15 ` Ihor Radchenko 0 siblings, 1 reply; 4+ messages in thread From: Pedro Andres Aranda Gutierrez @ 2024-12-25 8:27 UTC (permalink / raw) To: Ihor Radchenko, Ihor Radchenko; +Cc: Org Mode List [-- Attachment #1.1: Type: text/plain, Size: 404 bytes --] Hi, I found the reference in the Changelog entry quite useful and found also a request in the mailing more than 12 years ago.. Seasons greeting, /PA -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet [-- Attachment #1.2: Type: text/html, Size: 750 bytes --] [-- Attachment #2: onlyenv-minipatch.diff --] [-- Type: text/x-patch, Size: 1112 bytes --] lisp/ox-beamer.el: add onlyenv to `org-beamer-environments-default' * lisp/ox-beamer.el: (org-beamer-environments-default): Add "onlyenv" as suggested long time ago in the mailing list or by https://tippenhauer.de/post/writing-presentations-in-org-mode-markup/ TINYCHANGE diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el index 527bb55e5..433d98445 100644 --- a/lisp/ox-beamer.el +++ b/lisp/ox-beamer.el @@ -198,7 +198,8 @@ through `org-beamer-environments-extra' variable.") ("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}") - ("beamercolorbox" "o" "\\begin{beamercolorbox}%o{%h}" "\\end{beamercolorbox}")) + ("beamercolorbox" "o" "\\begin{beamercolorbox}%o{%h}" "\\end{beamercolorbox}") + ("onlyenv" "O" "\\begin{onlyenv}%a" "\\end{onlyenv}")) "Environments triggered by properties in Beamer export. These are the defaults - for user definitions, see `org-beamer-environments-extra'.") ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: Tiny patch: add onlyenv to beamer environments 2024-12-25 8:27 Tiny patch: add onlyenv to beamer environments Pedro Andres Aranda Gutierrez @ 2024-12-25 10:15 ` Ihor Radchenko [not found] ` <CAO48Bk-JuK4YdipzzmteV_89zc9MFbXs=PQHREvCntScioDKKg@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Ihor Radchenko @ 2024-12-25 10:15 UTC (permalink / raw) To: Pedro Andres Aranda Gutierrez; +Cc: Ihor Radchenko, Org Mode List Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes: > I found the reference in the Changelog entry quite useful and found also a > request in the mailing more than 12 years ago.. Do you have a link to that request? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92> ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CAO48Bk-JuK4YdipzzmteV_89zc9MFbXs=PQHREvCntScioDKKg@mail.gmail.com>]
[parent not found: <871pxvzrnr.fsf@localhost>]
[parent not found: <CAO48Bk8nEGgzDHAxSF9RrOeFOD8ptt-1Sa5dbtf6vjfheS+DPQ@mail.gmail.com>]
* Re: Tiny patch: add onlyenv to beamer environments [not found] ` <CAO48Bk8nEGgzDHAxSF9RrOeFOD8ptt-1Sa5dbtf6vjfheS+DPQ@mail.gmail.com> @ 2024-12-25 17:51 ` Ihor Radchenko 2024-12-26 9:04 ` Ihor Radchenko 0 siblings, 1 reply; 4+ messages in thread From: Ihor Radchenko @ 2024-12-25 17:51 UTC (permalink / raw) To: Pedro Andres Aranda Gutierrez; +Cc: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 405 bytes --] [ Adding Org ML back to CC ] Pedro Andres Aranda Gutierrez <paaguti@gmail.com> 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. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 0001-ox-beamer-Add-onlyenv-to-the-beamer-environments.patch --] [-- Type: text/x-patch, Size: 2665 bytes --] From 4f6cb2134a143549d087959dec3f4f5418fec710 Mon Sep 17 00:00:00 2001 Message-ID: <4f6cb2134a143549d087959dec3f4f5418fec710.1735148978.git.yantar92@posteo.net> From: "Pedro A. Aranda" <paaguti@gmail.com> 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 [-- Attachment #3: Type: text/plain, Size: 223 bytes --] -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92> ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: Tiny patch: add onlyenv to beamer environments 2024-12-25 17:51 ` Ihor Radchenko @ 2024-12-26 9:04 ` Ihor Radchenko 0 siblings, 0 replies; 4+ messages in thread From: Ihor Radchenko @ 2024-12-26 9:04 UTC (permalink / raw) To: Pedro Andres Aranda Gutierrez; +Cc: emacs-orgmode Ihor Radchenko <yantar92@posteo.net> writes: > Please, check the attached updated patch. Applied, onto main, after fixing a typo. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8e141ec24e -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92> ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-26 9:03 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-12-25 8:27 Tiny patch: add onlyenv to beamer environments Pedro Andres Aranda Gutierrez 2024-12-25 10:15 ` Ihor Radchenko [not found] ` <CAO48Bk-JuK4YdipzzmteV_89zc9MFbXs=PQHREvCntScioDKKg@mail.gmail.com> [not found] ` <871pxvzrnr.fsf@localhost> [not found] ` <CAO48Bk8nEGgzDHAxSF9RrOeFOD8ptt-1Sa5dbtf6vjfheS+DPQ@mail.gmail.com> 2024-12-25 17:51 ` Ihor Radchenko 2024-12-26 9:04 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git 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).