From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: IMPORTANT: (possibly) incompatible Change Date: Tue, 6 Apr 2010 16:53:04 +0200 Message-ID: <7C341FD3-C6E5-4555-9FC2-90E31B40E94C@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> <9F13688A-A587-42C2-9897-7EFD8C6AD1E2@gmail.com> <87d3ycg5e1.fsf@ara.blue-cable.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzA9O-0006eR-KM for emacs-orgmode@gnu.org; Tue, 06 Apr 2010 10:53:10 -0400 Received: from [140.186.70.92] (port=46911 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzA9N-0006eG-Ac for emacs-orgmode@gnu.org; Tue, 06 Apr 2010 10:53:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzA9L-0000dC-Ns for emacs-orgmode@gnu.org; Tue, 06 Apr 2010 10:53:09 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:48626) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzA9L-0000d1-JD for emacs-orgmode@gnu.org; Tue, 06 Apr 2010 10:53:07 -0400 Received: by ewy6 with SMTP id 6so193379ewy.32 for ; Tue, 06 Apr 2010 07:53:06 -0700 (PDT) In-Reply-To: <87d3ycg5e1.fsf@ara.blue-cable.net> 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: Karsten Heymann Cc: emacs-orgmode On Apr 6, 2010, at 1:57 PM, Karsten Heymann wrote: > Hi, > > Carsten Dominik writes: >> On Apr 4, 2010, at 12:50 AM, Henri-Paul Indiogine wrote: >>> 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. > > Suggestion: Would it be hard to add a location marker for the place > the > default packages are included? Something like > > (setq org-export-latex-classes > '(("book" > "\\documentclass[11pt]{book} > (include-org-standard-packages-here) > \\definecolor{darkblue}{rgb}{0.0,0.0,0.3} > \\hypersetup{colorlinks,breaklinks, > > If (include-org-standard-packages-here) is missing, the \usepackage > lines are appended to the template. This way one could use the > standard > packages and at the same time use commands from the packages in the > preamble. Great idea, so I am proud that I came up with it already. This is just like it works in 6.35, only with different place holders. - Carsten > > Yours > Karsten > > > _______________________________________________ > 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