emacs-orgmode
[Top][All Lists]

## Re: [O] New exporter doesn't like #+LaTeX_CLASS

 From: Alexander Vorobiev Subject: Re: [O] New exporter doesn't like #+LaTeX_CLASS Date: Mon, 24 Sep 2012 13:22:08 -0500

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
> 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 <return>  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
>