From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Changing packages and their order in LaTeX export Date: Mon, 11 Jul 2011 13:50:51 +0200 Message-ID: <87hb6t8290.fsf@gnu.org> References: <4118B2B3-BE97-42FE-A81B-0BE46FD52E6B@gmail.com> <81zkkl2k2l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgF0T-0000JS-79 for Emacs-orgmode@gnu.org; Mon, 11 Jul 2011 07:50:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgF0O-0003mx-P2 for Emacs-orgmode@gnu.org; Mon, 11 Jul 2011 07:50:33 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:40736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgF0O-0003ml-AF for Emacs-orgmode@gnu.org; Mon, 11 Jul 2011 07:50:28 -0400 Received: by wyg36 with SMTP id 36so3057105wyg.0 for ; Mon, 11 Jul 2011 04:50:27 -0700 (PDT) In-Reply-To: (Dror Atariah's message of "Mon, 11 Jul 2011 13:31:14 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dror Atariah Cc: Emacs-orgmode@gnu.org, Jambunathan K Hi Dror, please make an effort while quoting people -- your email is barely readable. Dror Atariah 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