emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Insert #+BEAMER_HEADER_EXTRA before \begin{document}?
Date: Wed, 07 May 2014 21:01:39 +0200	[thread overview]
Message-ID: <86wqdxo1kc.fsf@somewhere.org> (raw)

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

             reply	other threads:[~2014-05-07 19:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 19:01 Sebastien Vauban [this message]
2014-05-07 22:24 ` Insert #+BEAMER_HEADER_EXTRA before \begin{document}? 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

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=86wqdxo1kc.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /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).