From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Mikhail Titov <mlt@gmx.us>
Cc: Bastien <bzg@altern.org>, emacs-orgmode@gnu.org
Subject: Re: [beamerposter] How do I suppress frame title?
Date: Fri, 13 Apr 2012 10:51:56 +0200 [thread overview]
Message-ID: <CAMXnza0A_Gj1aoUaPL9ck-f87FgJKWbhbc0AZAmSToZdpq9nGA@mail.gmail.com> (raw)
In-Reply-To: <4F87C58D.5040705@gmx.us>
Hi Mikhail,
On Fri, Apr 13, 2012 at 08:19, Mikhail Titov <mlt@gmx.us> 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.
next prev parent reply other threads:[~2012-04-13 8:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 18:13 [beamerposter] How do I suppress frame title? Mikhail Titov
2012-04-13 5:04 ` Bastien
2012-04-13 6:19 ` Mikhail Titov
2012-04-13 8:51 ` suvayu ali [this message]
2012-04-13 18:31 ` Mikhail Titov
2012-04-14 9:58 ` suvayu ali
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=CAMXnza0A_Gj1aoUaPL9ck-f87FgJKWbhbc0AZAmSToZdpq9nGA@mail.gmail.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=mlt@gmx.us \
/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).