emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Dror Atariah <drorata@gmail.com>
Cc: Emacs-orgmode@gnu.org, Jambunathan K <kjambunathan@gmail.com>
Subject: Re: Changing packages and their order in LaTeX export
Date: Mon, 11 Jul 2011 13:50:51 +0200	[thread overview]
Message-ID: <87hb6t8290.fsf@gnu.org> (raw)
In-Reply-To: <BBB7BF41-8BDB-48A6-9BE8-87A4A49C62E4@gmail.com> (Dror Atariah's message of "Mon, 11 Jul 2011 13:31:14 +0200")

Hi Dror,

please make an effort while quoting people -- your email is barely
readable.  

Dror Atariah <drorata@gmail.com> 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

  reply	other threads:[~2011-07-11 11:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11  9:47 Changing packages and their order in LaTeX export Dror Atariah
2011-07-11 10:22 ` Jambunathan K
2011-07-11 11:31   ` Dror Atariah
2011-07-11 11:50     ` Bastien [this message]
2011-07-11 11:53     ` Michael Markert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hb6t8290.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=Emacs-orgmode@gnu.org \
    --cc=drorata@gmail.com \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).