From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Gidden Subject: Re: [PATCH] Adding a BEAMER_HEADER_EXTRA tag, allows short titles, etc. Date: Tue, 10 Mar 2015 11:10:01 -0500 Message-ID: References: <87zj7l3gjh.fsf@nicolasgoaziou.fr> <877fuo3o9w.fsf@nicolasgoaziou.fr> <87385c3li6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b6d7e2e4385f40510f16354 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVMjh-0007SX-J9 for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:10:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVMjf-0008Em-NZ for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:10:25 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:33318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVMjf-0008EJ-Be for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 12:10:23 -0400 Received: by padet14 with SMTP id et14so3481918pad.0 for ; Tue, 10 Mar 2015 09:10:22 -0700 (PDT) In-Reply-To: <87385c3li6.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Gidden , emacs-orgmode --047d7b6d7e2e4385f40510f16354 Content-Type: multipart/alternative; boundary=047d7b6d7e2e4385ef0510f16352 --047d7b6d7e2e4385ef0510f16352 Content-Type: text/plain; charset=UTF-8 Updated patch attached On Tue, Mar 10, 2015 at 10:44 AM, Nicolas Goaziou wrote: > Matthew Gidden writes: > > > Updated patch with updated commit message attached. > > Thank you. > > > Subject: [PATCH] org-beamer.el: Enable custom beamer input before > > \begin{document} > > "ox-beamer". Also the summary is too long. > > > * lisp/ox-beamer.el (`beamer-header'): Move BEAMER_HEADER injection to > > final part of preamble (after themes, title, etc.). Allows for > > custom short titles, etc., with #+BEAMER_HEADER: \title[Short]{Long}. > > > > Previously, TITLE was being injected after BEAMER_HEADER, so short > > titles (and related) could not be added. BEAMER_HEADER now serves as a > > final preamble injection point. > > Two spaces are required after sentences. > > Otherwise, the patch looks good. > > Could you add a footnote about this change at (info "(org) Beamer > export"), close to #+BEAMER_HEADER reference, in "org.texi"? > > > Regards, > -- Matthew Gidden Ph.D. Candidate, Nuclear Engineering The University of Wisconsin -- Madison Ph. 225.892.3192 --047d7b6d7e2e4385ef0510f16352 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Updated patch attached=C2=A0

On Tue, Mar 10, 2015 at 10:44 AM, Nicolas= Goaziou <mail@nicolasgoaziou.fr> wrote:
Matthew Gidden <gidden@wisc.edu> writes:

> Updated patch with updated commit message attached.

Thank you.

> Subject: [PATCH] org-beamer.el: Enable custom beamer input before
>=C2=A0 \begin{document}

"ox-beamer". Also the summary is too long.

> * lisp/ox-beamer.el (`beamer-header'): Move BEAMER_HEADER injectio= n to
>=C2=A0 =C2=A0final part of preamble (after themes, title, etc.). Allows= for
>=C2=A0 =C2=A0custom short titles, etc., with #+BEAMER_HEADER: \title[Sh= ort]{Long}.
>
> Previously, TITLE was being injected after BEAMER_HEADER, so short
> titles (and related) could not be added. BEAMER_HEADER now serves as a=
> final preamble injection point.

Two spaces are required after sentences.

Otherwise, the patch looks good.

Could you add a footnote about this change at (info "(org) Beamer
export"), close to #+BEAMER_HEADER reference, in "org.texi"?=


Regards,



--
Matthew Gidden
Ph.D. Candidate, Nu= clear Engineering
The University of Wisconsin -- Madison
Ph. 225.892= .3192
--047d7b6d7e2e4385ef0510f16352-- --047d7b6d7e2e4385f40510f16354 Content-Type: text/x-patch; charset=US-ASCII; name="0001-ox-beamer.el-Update-BEAMER_HEADER-placement.patch" Content-Disposition: attachment; filename="0001-ox-beamer.el-Update-BEAMER_HEADER-placement.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i73httis0 RnJvbSAwOGYxNjNlZTQ4OTFlNDlkODg4NGU3YzQzNDE4YjkwOTFiYWRmYjExIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNYXR0aGV3IEdpZGRlbiA8bWF0dGhldy5naWRkZW5AZ21haWwu Y29tPgpEYXRlOiBNb24sIDkgTWFyIDIwMTUgMTY6MjU6MTUgLTA1MDAKU3ViamVjdDogW1BBVENI XSBveC1iZWFtZXIuZWw6IFVwZGF0ZSBCRUFNRVJfSEVBREVSIHBsYWNlbWVudAoKKiBsaXNwL294 LWJlYW1lci5lbCAoYGJlYW1lci1oZWFkZXInKTogTW92ZSBCRUFNRVJfSEVBREVSIGluamVjdGlv biB0bwogIGZpbmFsIHBhcnQgb2YgcHJlYW1ibGUgKGFmdGVyIHRoZW1lcywgdGl0bGUsIGV0Yy4p LiAgQWxsb3dzIGZvcgogIGN1c3RvbSBzaG9ydCB0aXRsZXMsIGV0Yy4sIHdpdGggIytCRUFNRVJf SEVBREVSOgogIFx0aXRsZVtTaG9ydF17TG9uZ30uCgoqIGRvYy9vcmcudGV4aTogVXBkYXRlZCBC RUFNRVJfSEVBREVSIGVudHJ5IHdpdGggYSByZWxldmFudCBmb290bm90ZS4KClByZXZpb3VzbHks IFRJVExFLCBldGMuLCB3YXMgYmVpbmcgaW5qZWN0ZWQgYWZ0ZXIgQkVBTUVSX0hFQURFUiwgc28K c2hvcnQgdGl0bGVzIChhbmQgcmVsYXRlZCkgY291bGQgbm90IGJlIGFkZGVkLiAgQkVBTUVSX0hF QURFUiBub3cKc2VydmVzIGFzIGEgZmluYWwgcHJlYW1ibGUgaW5qZWN0aW9uIHBvaW50LgoKVElO WUNIQU5HRQotLS0KIGRvYy9vcmcudGV4aSAgICAgIHwgIDgg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CBvcmctbGF0 ZXgtdGl0bGUtY29tbWFuZCB0aXRsZSkpCiAJICAgICh0IG9yZy1sYXRleC10aXRsZS1jb21tYW5k KSkpCi0gICAgIDs7IDExLiBUYWJsZSBvZiBjb250ZW50cy4KKyAgICAgOzsgMTIuIFRhYmxlIG9m IGNvbnRlbnRzLgogICAgICAobGV0ICgoZGVwdGggKHBsaXN0LWdldCBpbmZvIDp3aXRoLXRvYykp KQogICAgICAgICh3aGVuIGRlcHRoCiAJIChjb25jYXQKQEAgLTg5NiwxNiArODk5LDE2IEBAIGhv bGRpbmcgZXhwb3J0IG9wdGlvbnMuIgogCSAgICAoZm9ybWF0ICJcXHNldGNvdW50ZXJ7dG9jZGVw dGh9eyVkfVxuIiBkZXB0aCkpCiAJICAiXFx0YWJsZW9mY29udGVudHNcbiIKIAkgICJcXGVuZHtm cmFtZX1cblxuIikpKQotICAgICA7OyAxMi4gRG9jdW1lbnQncyBib2R5LgorICAgICA7OyAxMy4g RG9jdW1lbnQncyBib2R5LgogICAgICBjb250ZW50cwotICAgICA7OyAxMy4gQ3JlYXRvci4KKyAg ICAgOzsgMTQuIENyZWF0b3IuCiAgICAgIChsZXQgKChjcmVhdG9yLWluZm8gKHBsaXN0LWdldCBp bmZvIDp3aXRoLWNyZWF0b3IpKSkKICAgICAgICAoY29uZAogCSgobm90IGNyZWF0b3ItaW5mbykg IiIpCiAJKChlcSBjcmVhdG9yLWluZm8gJ2NvbW1lbnQpCiAJIChmb3JtYXQgIiUlICVzXG4iIChw bGlzdC1nZXQgaW5mbyA6Y3JlYXRvcikpKQogCSh0IChjb25jYXQgKHBsaXN0LWdldCBpbmZvIDpj cmVhdG9yKSAiXG4iKSkpKQotICAgICA7OyAxNC4gRG9jdW1lbnQgZW5kLgorICAgICA7OyAxNS4g RG9jdW1lbnQgZW5kLgogICAgICAiXFxlbmR7ZG9jdW1lbnR9IikpKQogCiAKLS0gCjEuOS4xCgo= --047d7b6d7e2e4385f40510f16354--