emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] BEAMER_HEADER in `org-latex-classes'


From: Sebastien Vauban
Subject: Re: [O] BEAMER_HEADER in `org-latex-classes'
Date: Fri, 08 Nov 2013 10:40:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hello,

Nicolas Goaziou wrote:
> "Sebastien Vauban" <address@hidden> 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 <address@hidden>
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 via email to

[Prev in Thread] Current Thread [Next in Thread]