emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: IMPORTANT: (possibly) incompatible Change


From: Carsten Dominik
Subject: Re: [Orgmode] Re: IMPORTANT: (possibly) incompatible Change
Date: Sun, 4 Apr 2010 00:55:47 +0200


On Apr 4, 2010, at 12:50 AM, Henri-Paul Indiogine wrote:

Hi!

This is what I have in my .emacs

(setq org-export-latex-packages-alist
     '(("" "apacite")
        ("" "color")
        ("" "tikz")))

(setq org-export-latex-classes
   '(("book"
  "\\documentclass[11pt]{book}
   \\definecolor{darkblue}{rgb}{0.0,0.0,0.3}
   \\hypersetup{colorlinks,breaklinks,
           linkcolor=darkblue,urlcolor=darkblue,
           anchorcolor=darkblue,citecolor=darkblue}"
   ("\\chapter{%s}" . "\\chapter*{%s}")
   ("\\section{%s}" . "\\section*{%s}")
   ("\\subsection{%s}" . "\\subsection*{%s}")
   ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
))

When I export to LaTeX the line \definecolor..... comes before
\usepackage{color}  then it throws an error during compilation.  If I
move the \definecolor... _after_ \usepackage{color} it compiles.

Is are a way to setup my LaTeX export so that this happens
automagically?

No, I think you need to return to the old way of configuring everything
in org-export-latex-classes.

I hope you can get away with leaving the standard packages
in org-export-latex-default-packages-alist?

- Carsten



Thanks,



--
Henri-Paul Indiogine
Email: address@hidden
Skype: hindiogine
Website: http://www.coe.tamu.edu/~enrico


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]