emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Insert #+BEAMER_HEADER_EXTRA before \begin{document}?
@ 2014-05-07 19:01 Sebastien Vauban
  2014-05-07 22:24 ` Suvayu Ali
  0 siblings, 1 reply; 12+ messages in thread
From: Sebastien Vauban @ 2014-05-07 19:01 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

To insert a short title for a Beamer presentation, you can glean the
following answers on the Web:

- Using `#+BEAMER_HEADER_EXTRA' which -is- +was+ exported /after/ the
  `\title' command.

  See
  https://lists.gnu.org/archive/html/emacs-orgmode/2011-01/msg00177.html.

  That does not work anymore since Org 8...

- Using a filter to remove the exported title, and replace it with
  yours.

  See http://comments.gmane.org/gmane.emacs.orgmode/57450.

  That does not help when one wants to have portable documents -- that
  don't require a particular config to be recompiled correctly by
  another end-user.

- Using a very mean workaround (which I found):

  #+BIND: org-latex-title-command "\\title[Short title]{Title maybe\\\\very long}\\maketitle"

  That's semantically impure IMO, and could prove to be fragile over
  time.

Hence, a question: as we have/had both `#+BEAMER_HEADER' and
`#+BEAMER_HEADER_EXTRA', couldn't we have `#+BEAMER_HEADER_EXTRA'
inserted just before the \begin{document}, and let `#+BEAMER_HEADER'
inserted as now?

That would allow to override the title easily with a LaTeX command,
without being impure, doesn't it?

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-06-16 14:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 19:01 Insert #+BEAMER_HEADER_EXTRA before \begin{document}? Sebastien Vauban
2014-05-07 22:24 ` Suvayu Ali
2014-05-07 23:26   ` Nick Dokos
2014-05-08  1:38     ` Suvayu Ali
2014-05-08 13:38       ` Sebastien Vauban
2014-05-08 14:49         ` Suvayu Ali
2014-05-08 15:37         ` Eric S Fraga
2014-05-08 19:55           ` Andreas Leha
     [not found]           ` <87eh04703g.fsf-hclig2XLE9Zaa/9Udqfwiw@public.gmane.org>
2014-05-21 17:59             ` Sebastien Vauban
2014-06-15 20:10               ` Nicolas Goaziou
     [not found]                 ` <871tuqndck.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org>
2014-06-16 13:42                   ` Sebastien Vauban
2014-06-16 14:37                     ` Nick Dokos

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