emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Stanton <stanton@haas.berkeley.edu>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: New exporter doesn't like #+LaTeX_CLASS
Date: Mon, 24 Sep 2012 10:46:26 -0700	[thread overview]
Message-ID: <40C7B1BFC291ED4E9D10436D07736A334708D84265@EXMAIL7.haas.uc.berkeley.edu> (raw)

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 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24 17:46 Richard Stanton [this message]
2012-09-24 17:56 ` New exporter doesn't like #+LaTeX_CLASS Philipp Kroos
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=40C7B1BFC291ED4E9D10436D07736A334708D84265@EXMAIL7.haas.uc.berkeley.edu \
    --to=stanton@haas.berkeley.edu \
    --cc=emacs-orgmode@gnu.org \
    /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).