all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: hugo@heagren.com
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [patch] ox-beamer: allow setting frame subtitle with BEAMER_SUBTITLE property
Date: Mon, 08 Jul 2024 13:57:09 +0100	[thread overview]
Message-ID: <a18a202ea6942de39cca64912910d613@heagren.com> (raw)
In-Reply-To: <87sewmil7v.fsf@localhost>

Hi Ihor,

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

I agree, that would be a good idea. I tried to implement this in the 
same way as with the frametitle:

,----
| (let ((env (org-element-property :BEAMER_ENV headline)))
|   (format "{%s}"
|           (if (and env (equal (downcase env) "fullframe")) ""
|             (org-export-data
|              (org-element-property :title headline) info))))
`----

Like this:

,----
| (when-let ((subtitle
|             (org-element-property :BEAMER_SUBTITLE headline)))
|   (format "{%s}"
|           (org-export-data subtitle info)))
`----

but it doesn't work---the subtitle is just rendered verbatim (even if it 
has org markup---this is included in the .tex file). I've had a look 
around the various data export functions and I can't work out why not. 
Can you (or someone else) advise?

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

Will do, when I've got the formatting working.

Very best,

Hugo


  reply	other threads:[~2024-07-08 14:08 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
2024-07-08 12:57   ` hugo [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a18a202ea6942de39cca64912910d613@heagren.com \
    --to=hugo@heagren.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.