emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: hugo@heagren.com
Cc: emacs-orgmode@gnu.org
Subject: Re: [patch] ox-beamer: allow setting frame subtitle with BEAMER_SUBTITLE property
Date: Sat, 06 Jul 2024 15:39:00 +0000	[thread overview]
Message-ID: <87sewmil7v.fsf@localhost> (raw)
In-Reply-To: <d5369f5f0e9fa02e5953fc19f993ad0e@heagren.com>

hugo@heagren.com writes:

> I found recently I wanted to add subtitles to some slides in beamer in
> an export from org-mode. In the end I had to write an
> explicit #+beamer: declaration with latex code in it for each
> headline. The attached patch implements an easier (I think) way of
> setting subtitles, with properties on org headings which are exported
> as frames. I hope this is helpful.
> ...
> +            ;; Subtitle
> +            (when-let ((subtitle
> +                        (org-element-property :BEAMER_SUBTITLE headline)))
> +              (format "{%s}" subtitle))

I am neutral towards the idea of adding a way to set subtitle, but
concerned that the subtitle is added verbatim - no Org markup
processing.

I think that it will make more sense to recognize Org markup in the
BEAMER_SUBTITLE property value.

Also, please announce the new feature in the ORG-NEWS.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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>


  reply	other threads:[~2024-07-06 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-06 11:46 [patch] ox-beamer: allow setting frame subtitle with BEAMER_SUBTITLE property hugo
2024-07-06 15:39 ` Ihor Radchenko [this message]
2024-07-08 12:57   ` hugo
2024-07-08 18:17     ` Ihor Radchenko
     [not found]       ` <4af34ba26f42fd8ef329e8690393ec9d@heagren.com>
2024-07-10 14:03         ` Ihor Radchenko

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87sewmil7v.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=hugo@heagren.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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