emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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

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).