[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Changing packages and their order in LaTeX export
From: |
Bastien |
Subject: |
Re: [O] Changing packages and their order in LaTeX export |
Date: |
Mon, 11 Jul 2011 13:50:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Dror,
please make an effort while quoting people -- your email is barely
readable.
Dror Atariah <address@hidden> writes:
>>> I need to include 'amsmath' package in my LaTeX export. Using
>>> #+LATEX_HEADER: \usepackage{xyz} adds it at the end of the list, and
>>> then there are LaTeX related problems.
>>> I tried to find where the default list is defined - it seems like it
>>> is in org.el. However, I have several copies of this file, and I don't
>>> know which one is the right one to change.
>>
>> Does M-x customize-group RET org-export-latex RET show something that
>> could be of interest to you.
> This worked for me! Where did you find it in the manual?
Did you look at this section?
12.6.2 Header and sectioning structure
There is mentioned the `org-export-latex-class' variable.
Then you can do
C-h v org-export-latex-class RET
to get information about the variable, and see in what customization
group it belongs.
>> I looked
>> there. Sometimes the manual's instructions are too cryptic for me - in
>> the sense that I find the variable name, but I don't know how to change
>> it.
Just do `C-h v' after a variable's name, it will describe the variable.
>From the buffer containing the description, you can follow a link to
customize it.
>>> 2. If it is the org.el, then how can I tell which file is the one
>>> which is used? Should I restart emacs after each edit of this file for
>>> the changes to take effect?
> Can you still answer this question? How can I ask emacs to tell me where is
> the file it is using
C-h v org-export-latex-class RET will tell you.
> and should I restart after each such change?
No. If you change things in Org Elisp files, you need to reload Org
with M-x org-reload RET
HTH,
PS: While insisting on getting an answer, please be extra careful of
having a readable email ;)
--
Bastien