From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [New exporter] Wrong export to LaTeX Date: Thu, 11 Oct 2012 19:54:02 +0200 Message-ID: <877gqw51z9.fsf@gmail.com> References: <80txu1ma6t.fsf@somewhere.org> <87bog9401p.fsf@gmail.com> <20121011165232.GB15182@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMN1H-0007x2-96 for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 13:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMN1C-0001m1-60 for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 13:58:03 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:40910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMN1B-0001li-Vj for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 13:57:58 -0400 Received: by mail-wi0-f171.google.com with SMTP id hj13so7391776wib.12 for ; Thu, 11 Oct 2012 10:57:56 -0700 (PDT) In-Reply-To: <20121011165232.GB15182@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Thu, 11 Oct 2012 18:52:32 +0200") 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: Suvayu Ali Cc: emacs-orgmode@gnu.org Hello, Suvayu Ali writes: >> That's why (add-to-list 'org-e-latex-classes "beamer" ...) doesn't make >> much sense anyway (as suggested in another post). >>=20 > I believe you are refering to my minimal setup. No, I was referring to S=C3=A9bastien Vauban's previous post, in which he suggested to add a default "beamer" entry in `org-e-latex-classes'. > However when I try to export to beamer (Seb's ECM) without the > > (add-to-list 'org-e-latex-classes '("beamer" ...)) With a minimal setup, the ECM won't export because the file explicitly asks for a "beamer" class, which isn't defined. In other words, you can use Beamer back-end on any class, as long as this class is defined in `org-e-latex-classes'. It doesn't have to be named "beamer". > bit, I get a backtrace (attached). Is that a bug? This is strange. The error comes from a void function, although it is defined in org.el. I suppose you get the error because you use `load-library' instead of `require'. You may want to (load-library "org") to fix it. Regards, --=20 Nicolas Goaziou