From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Vorobiev Subject: Re: New exporter doesn't like #+LaTeX_CLASS Date: Mon, 24 Sep 2012 13:22:08 -0500 Message-ID: References: <40C7B1BFC291ED4E9D10436D07736A334708D84265@EXMAIL7.haas.uc.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGDIe-0007vH-1y for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 14:22:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGDIc-0003PS-1B for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 14:22:32 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:33942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGDIb-0003PC-Rs for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 14:22:29 -0400 Received: by ied10 with SMTP id 10so13024619ied.0 for ; Mon, 24 Sep 2012 11:22:28 -0700 (PDT) In-Reply-To: <40C7B1BFC291ED4E9D10436D07736A334708D84265@EXMAIL7.haas.uc.berkeley.edu> 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: Richard Stanton Cc: "emacs-orgmode@gnu.org" Richard, See the discussion in the following thread http://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg00505.html. It has a lot of helpful hints on the new exporter. Alex On Mon, Sep 24, 2012 at 12:46 PM, Richard Stanton wrote: > To get my favorite default sty files loaded with org mode, I have a set o= f LaTeX commands defined as "rhs" in org-export-latex-classes. This has al= ways worked fine in the past, and continues to work fine with the old expor= ter, but when I include the line > > #+LaTeX_CLASS: rhs > > And process using org-export-dispatch, not only does it not load in the p= reamble I want, but it doesn't seem even to load most of the default packag= es, resulting in error messages like > > ! Undefined control sequence. > l.6 \hypersetup > { > > ! LaTeX Error: Missing \begin{document}. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > By the way, this is with Org-mode version 7.9.1 (release_7.9.1-325-g2150a= 9 @ /Applications/Emacs.app/Contents/Resources/site-lisp/org-mode/lisp/) > > Thanks. > > Richard Stanton >