From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: New exporter doesn't like #+LaTeX_CLASS Date: Mon, 24 Sep 2012 10:46:26 -0700 Message-ID: <40C7B1BFC291ED4E9D10436D07736A334708D84265@EXMAIL7.haas.uc.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGCjs-0006J5-2D for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 13:46:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGCjo-0006NX-0d for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 13:46:36 -0400 Received: from gateway-b.haas.berkeley.edu ([128.32.222.40]:56078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGCjn-0006N5-Qb for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 13:46:31 -0400 Content-Language: en-US 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" 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 alwa= ys worked fine in the past, and continues to work fine with the old exporte= r, but when I include the line #+LaTeX_CLASS: rhs And process using org-export-dispatch, not only does it not load in the pre= amble 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. ... =20 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.=20 Richard Stanton