From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: IMPORTANT: (possibly) incompatible Change Date: Sun, 4 Apr 2010 00:55:47 +0200 Message-ID: <9F13688A-A587-42C2-9897-7EFD8C6AD1E2@gmail.com> References: <86sk7gooh2.fsf@portan.ibr.cs.tu-bs.de> <3E3E058D-6BBD-4D9B-845D-3E13235EF0DC@gmail.com> <4BB3973D.3090305@comcast.net> <9667B267-935B-4DFB-800B-FC76DBCCBF28@gmail.com> <4BB54594.5070803@comcast.net> <4BB78D9C.4040000@comcast.net> <87mxxki20n.fsf@belvoir.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyCFs-0006rV-PV for emacs-orgmode@gnu.org; Sat, 03 Apr 2010 18:55:52 -0400 Received: from [140.186.70.92] (port=58147 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyCFr-0006rN-44 for emacs-orgmode@gnu.org; Sat, 03 Apr 2010 18:55:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyCFp-0004Us-Vd for emacs-orgmode@gnu.org; Sat, 03 Apr 2010 18:55:51 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]:3567) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyCFp-0004Uo-Pf for emacs-orgmode@gnu.org; Sat, 03 Apr 2010 18:55:49 -0400 Received: by ey-out-1920.google.com with SMTP id 13so73543eye.2 for ; Sat, 03 Apr 2010 15:55:48 -0700 (PDT) In-Reply-To: <87mxxki20n.fsf@belvoir.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Henri-Paul Indiogine Cc: emacs-orgmode 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: hindiogine@gmail.com > Skype: hindiogine > Website: http://www.coe.tamu.edu/~enrico > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten