From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Kroos Subject: Re: New exporter doesn't like #+LaTeX_CLASS Date: Mon, 24 Sep 2012 19:56:32 +0200 Message-ID: <20120924175632.GA7729@Vostro> References: <40C7B1BFC291ED4E9D10436D07736A334708D84265@EXMAIL7.haas.uc.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGCyJ-00018D-FX for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 14:01:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGCyD-0003bY-NO for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 14:01:31 -0400 Received: from mailout01.t-online.de ([194.25.134.80]:41322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGCyD-0003bM-Gd for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 14:01:25 -0400 Content-Disposition: inline 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: emacs-orgmode@gnu.org Cc: stanton@haas.berkeley.edu There's a new var, org-e-latex-classes. Philipp On Mon, Sep 24, 2012 at 10:46:26AM -0700, Richard Stanton wrote: > To get my favorite default sty files loaded with org mode, I have a set of LaTeX commands defined as "rhs" in org-export-latex-classes. This has always worked fine in the past, and continues to work fine with the old exporter, but when I include the line > > #+LaTeX_CLASS: rhs > > And process using org-export-dispatch, not only does it not load in the preamble I want, but it doesn't seem even to load most of the default packages, 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-g2150a9 @ /Applications/Emacs.app/Contents/Resources/site-lisp/org-mode/lisp/) > > Thanks. > > Richard Stanton >