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: Karsten Heymann
Subject: Re: [Orgmode] Re: IMPORTANT: (possibly) incompatible Change
Date: Tue, 06 Apr 2010 13:57:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi,

Carsten Dominik <address@hidden> 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.

Yours
Karsten




reply via email to

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