emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Philipp Kroos <Philipp.Kroos@t-online.de>
To: emacs-orgmode@gnu.org
Cc: stanton@haas.berkeley.edu
Subject: Re: New exporter doesn't like #+LaTeX_CLASS
Date: Mon, 24 Sep 2012 19:56:32 +0200	[thread overview]
Message-ID: <20120924175632.GA7729@Vostro> (raw)
In-Reply-To: <40C7B1BFC291ED4E9D10436D07736A334708D84265@EXMAIL7.haas.uc.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 <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
> 

  reply	other threads:[~2012-09-24 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24 17:46 New exporter doesn't like #+LaTeX_CLASS Richard Stanton
2012-09-24 17:56 ` Philipp Kroos [this message]
2012-09-24 18:22 ` Alexander Vorobiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120924175632.GA7729@Vostro \
    --to=philipp.kroos@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=stanton@haas.berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).