From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: BEAMER_HEADER in `org-latex-classes' Date: Fri, 08 Nov 2013 11:27:00 +0100 Message-ID: <86ob5vfatn.fsf@somewhere.org> References: <8638n8hzht.fsf@somewhere.org> <87k3gk9d2o.fsf@gmail.com> <861u2rgrjr.fsf@somewhere.org> <8738n79pj4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, Nicolas Goaziou wrote: > "Sebastien Vauban" writes: > >> I'd then propose the attached patch for the documentation. > > Thank you for the patch. > >> 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? > > According to section 12.7.2 in manual, LATEX_HEADER_EXTRA will not be > loaded when previewing LaTeX snippets, unlike to LATEX_HEADER. Shouldn't the similar principle be applied to BEAMER_HEADER, that is have a BEAMER_HEADER_EXTRA keyword as well? >> * ox-latex.el (org-latex-classes): Add BEAMER_HEADER in the >> documentation string. > > `beamer' is a different back-end than `latex', or to put it differently, > `latex' back-end is not supposed to know about `beamer'. I understand. > That's why no reference to `beamer' appears in `org-latex-classes'. Though, this is only true as long as ox-beamer is not loaded. Because ox-beamer does add "beamer" to `org-latex-classes' (which is right IMO). > If documentation is needed, I think it should go in the manual, as > a footnote close to the reference to BEAMER_HEADER. OK. Best regards, Seb -- Sebastien Vauban