> -----Original Message----- > From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx...@gnu.org] On Behalf Of suvayu ali > Sent: Friday, April 13, 2012 3:52 AM > To: Mikhail Titov > Cc: Bastien; emacs-orgmode@gnu.org > Subject: Re: [O] [beamerposter] How do I suppress frame title? > > > 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.
Do you mean former or latter one? When I try to change org-beamer.el as described above, I get "Invalid format operation %a" since I do something badly wrong. I was trying to mess with this [1] code. I don't know elisp well enough. I guess I can't do it that way. [1] http://orgmode.org/w/?p=org-mode.git;a=blob;f=lisp/org-beamer.el;h=966db82debdf21bad0777372c06bc7cb84735cfb;hb=HEAD#l274 > 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. I am afraid I don't quite follow your code. I think you deal with plain latex export while mine question deals with some beamer details. M.