[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [beamerposter] How do I suppress frame title?
From: |
suvayu ali |
Subject: |
Re: [O] [beamerposter] How do I suppress frame title? |
Date: |
Fri, 13 Apr 2012 10:51:56 +0200 |
Hi Mikhail,
On Fri, Apr 13, 2012 at 08:19, Mikhail Titov <address@hidden> wrote:
> I just found a quick workaround - to use "* " that is asterisk followed
> by a space. It still generates frame but does not insert any title. I
> feel like it might be even a bug. But it works since it is the only
> frame I have.
>
> I was trying to wrap frametitle (& subtitle) generation in org-beamer.el
> into conditional like below but I failed miserably at it.
>
> (if (not (equal (cdr (assoc "BEAMER_env" props))
> "ignoreheading"))
> (progn
> (cons "T" (if (string-match "\\S-" text)
> "\n\\frametitle{%s}" ""))
> (cons "S" (if (string-match "\\\\\\\\" text)
> "\n\\framesubtitle{%s}" ""))
> ))
Your solution works, and I have used it before to get a backup slide
marker saying just "bakup slides" in the centre before. But I think
there can be a cleaner solution with pre/post-process hooks. For an
example of such a hook with LaTeX export, see:
<https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L234>
Here I ignore headings for bibiliographies and appendices.
Hope this helps.
--
Suvayu
Open source is the future. It sets us free.