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: Henri-Paul Indiogine
Subject: Re: [Orgmode] Re: IMPORTANT: (possibly) incompatible Change
Date: Sat, 03 Apr 2010 17:50:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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?

Thanks,



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




reply via email to

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