emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* New exporter doesn't like #+LaTeX_CLASS
@ 2012-09-24 17:46 Richard Stanton
  2012-09-24 17:56 ` Philipp Kroos
  2012-09-24 18:22 ` Alexander Vorobiev
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Stanton @ 2012-09-24 17:46 UTC (permalink / raw)
  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 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: New exporter doesn't like #+LaTeX_CLASS
  2012-09-24 17:46 New exporter doesn't like #+LaTeX_CLASS Richard Stanton
@ 2012-09-24 17:56 ` Philipp Kroos
  2012-09-24 18:22 ` Alexander Vorobiev
  1 sibling, 0 replies; 3+ messages in thread
From: Philipp Kroos @ 2012-09-24 17:56 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: stanton

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: New exporter doesn't like #+LaTeX_CLASS
  2012-09-24 17:46 New exporter doesn't like #+LaTeX_CLASS Richard Stanton
  2012-09-24 17:56 ` Philipp Kroos
@ 2012-09-24 18:22 ` Alexander Vorobiev
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Vorobiev @ 2012-09-24 18:22 UTC (permalink / raw)
  To: Richard Stanton; +Cc: emacs-orgmode@gnu.org

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
<stanton@haas.berkeley.edu> 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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-24 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 17:46 New exporter doesn't like #+LaTeX_CLASS Richard Stanton
2012-09-24 17:56 ` Philipp Kroos
2012-09-24 18:22 ` Alexander Vorobiev

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).