[Top][All Lists]

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

Re: [Orgmode] Re: Example of thesis in org-mode and LaTeX

From: Bastien
Subject: Re: [Orgmode] Re: Example of thesis in org-mode and LaTeX
Date: Sun, 09 Dec 2007 00:25:44 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

"Daniel Clemente" <address@hidden> writes:

>> When reading his org file in emacs I get something about some local
>> variables (org-export-latex-preamble) not being safe, some others
>> (org-export-latex-title-command) being risky and what not. Dont know
>> whether this is emacs or org (or Daniel!) complaining and about what.
>    yes, this is the only way I found to include file-specific
> configuration for the LaTeX exporter. Normally you would have a
> different preamble in each document, but the variable
> org-export-latex-preamble is global and affects all documents;
> therefore it must be chaneg in a ‚Äělocal variables" section.

For thos who are using the latest Org release: org-export-latex-preamble
has been removed.  

If you want to use your own preamble in the LaTeX output, you should
configure it in `org-export-latex-classes' and select it globally with
`org-export-latex-class' or locally with the #+LaTeX_CLASS: option.

Additionnally, if you want to append LaTeX options to your preamble, you
can locally set the `org-export-latex-append-header' variable.  E.g.:

| * COMMENT Local variable
| # Local Variables:
| # org-export-latex-append-header: "\\usepackage{fancyhrd}"
| # End:


reply via email to

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