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: Re: BEAMER_HEADER in `org-latex-classes'
Date: Fri, 08 Nov 2013 10:40:24 +0100	[thread overview]
Message-ID: <861u2rgrjr.fsf@somewhere.org> (raw)
In-Reply-To: 87k3gk9d2o.fsf@gmail.com

Hello,

Nicolas Goaziou wrote:
> "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org> writes:
>
>> In the `org-latex-classes' documentation (and in the Org Beamer documentation),
>> I don't see how to include or exclude lines passed through the #+BEAMER_HEADER
>> keyword.
>>
>> Is there a solution for those lines?
>
> These lines are included in [EXTRA] placeholder, like LATEX_HEADER.

True. Confirmed ;-)

I'd then propose the attached patch for the documentation.

BTW, what's the difference between #+LATEX_HEADER and #+LATEX_HEADER_EXTRA
lines, if both end up under the same umbrella ([EXTRA])?  Couldn't we suppress
the #+LATEX_HEADER_EXTRA keyword?

Best regards,
  Seb

From 6b6e9c06e1933820a0f0a1837dc1ea3e8a090c55 Mon Sep 17 00:00:00 2001
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
Date: Fri, 8 Nov 2013 10:27:57 +0100
Subject: [PATCH] Add #+BEAMER_HEADER keyword line in [EXTRA]

* ox-latex.el (org-latex-classes): Add BEAMER_HEADER in the documentation string.

---
 lisp/ox-latex.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index ae78260..cf53c38 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -241,8 +241,8 @@ macro-like placeholders.
  [NO-DEFAULT-PACKAGES]   do not include any of the default packages
  [PACKAGES]              \\usepackage statements for packages
  [NO-PACKAGES]           do not include the packages
- [EXTRA]                 the stuff from #+LATEX_HEADER(_EXTRA)
- [NO-EXTRA]              do not include #+LATEX_HEADER(_EXTRA) stuff
+ [EXTRA]                 the stuff from #+LATEX/BEAMER_HEADER(_EXTRA)
+ [NO-EXTRA]              do not include #+LATEX/BEAMER_HEADER(_EXTRA) stuff
 
 So a header like
 
-- 
1.7.9

-- 
Sebastien Vauban

  reply	other threads:[~2013-11-08  9:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 17:51 BEAMER_HEADER in `org-latex-classes' Sebastien Vauban
2013-11-07 20:22 ` Nicolas Goaziou
2013-11-08  9:40   ` Sebastien Vauban [this message]
2013-11-08 10:05     ` Nicolas Goaziou
2013-11-08 10:27       ` Sebastien Vauban
2013-11-08 10:57         ` Nicolas Goaziou
2013-11-08 11:19           ` Sebastien Vauban

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=861u2rgrjr.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).