emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Gidden <gidden@wisc.edu>
To: Matthew Gidden <gidden@wisc.edu>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] Adding a BEAMER_HEADER_EXTRA tag, allows short titles, etc.
Date: Mon, 9 Mar 2015 18:46:47 -0500	[thread overview]
Message-ID: <CAHRdPFwxzz=UmOZnRSC-MnEU1i_KKsP5AZgszLw_bPpshmpm_g@mail.gmail.com> (raw)
In-Reply-To: <87zj7l3gjh.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 2370 bytes --]

HI Nic,



On Mon, Mar 9, 2015 at 6:19 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Matthew Gidden <gidden@wisc.edu> writes:
>
> > I ran into the issue that many others have cited: an inability to add
> short
> > titles, etc. to org-mode-generated Beamer presentations [1, 2, 3]. This
> > patch allows such capability through a BEAMER_HEADER_EXTRA tag, which is
> > placed after title, author, etc., but before `\begin{document}`.  Short
> > titles, for example, can now be added via
> >
> > ```
> > #+BEAMER_HEADER_EXTRA: \title[A Short Title]{ \inserttitle }
> > ```
>
> Thanks for the patch.
>
> BEAMER_HEADER_EXTRA is not a good name, as LATEX_HEADER_EXTRA means
> something entirely different. If it's just about short titles, we could
> add a BEAMER_SHORT_TITLE keyword.
>
> However what is in the "etc." above?

In many outerthemes (i.e., the beamer header and footer formatting), the
"short" version of title, author, institution, and date are used. While
this is the (my) primary use case I can think of, the positioning
<something other than>BEAMER_HEADER_EXTRA serves as final preamble
injection point. I just reread your discussion with Sebastien [1] and agree
the proposed name is bad.

From what I can tell, the current ox-beamer.el does not support beamer's
institution macor or the short version of title, author, institution or
date. I can think of two options to get around this:

   - do not use #+Title, etc., and simply use BEAMER_HEADER or similar
   - use #+Title plus something like this patch to inject fixes *after*
   \title

As a user, I prefer the latter, because it maximizes the portability of my
code (so I can use something like org-reveal [2]).

Another option would be to simply move BEAMER_HEADER to inject code where I
have implemented BEAMER_HEADER_EXTRA. That would provide the same
functionality with a reasonable name. I still need to better format my
commit message (I forgot to before submitting), so I can make any other
updates that are deemed necessary.

Let me know what you (and others) think.

Cheers,
Matt

[1] http://comments.gmane.org/gmane.emacs.orgmode/78582
[2]
http://orgmode.org/worg/org-tutorials/non-beamer-presentations.html#sec-6

>
>
> Regards,
>
> --
> Nicolas Goaziou
>



-- 
Matthew Gidden
Ph.D. Candidate, Nuclear Engineering
The University of Wisconsin -- Madison
Ph. 225.892.3192

[-- Attachment #2: Type: text/html, Size: 3664 bytes --]

  reply	other threads:[~2015-03-09 23:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09 21:56 [PATCH] Adding a BEAMER_HEADER_EXTRA tag, allows short titles, etc Matthew Gidden
2015-03-09 23:19 ` Nicolas Goaziou
2015-03-09 23:46   ` Matthew Gidden [this message]
2015-03-10 14:44     ` Nicolas Goaziou
2015-03-10 14:45       ` Matthew Gidden
2015-03-10 15:15         ` Matthew Gidden
2015-03-10 15:44           ` Nicolas Goaziou
2015-03-10 16:10             ` Matthew Gidden
2015-03-10 20:22               ` Nicolas Goaziou
2015-03-09 23:50 ` Rasmus

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='CAHRdPFwxzz=UmOZnRSC-MnEU1i_KKsP5AZgszLw_bPpshmpm_g@mail.gmail.com' \
    --to=gidden@wisc.edu \
    --cc=emacs-orgmode@gnu.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).