From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Changing packages and their order in LaTeX export Date: Mon, 11 Jul 2011 15:52:26 +0530 Message-ID: <81zkkl2k2l.fsf@gmail.com> References: <4118B2B3-BE97-42FE-A81B-0BE46FD52E6B@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgDdg-00057b-0Z for Emacs-orgmode@gnu.org; Mon, 11 Jul 2011 06:22:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgDde-0007nC-Kv for Emacs-orgmode@gnu.org; Mon, 11 Jul 2011 06:22:55 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:40566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgDde-0007n7-57 for Emacs-orgmode@gnu.org; Mon, 11 Jul 2011 06:22:54 -0400 Received: by pvc12 with SMTP id 12so3141254pvc.0 for ; Mon, 11 Jul 2011 03:22:52 -0700 (PDT) In-Reply-To: <4118B2B3-BE97-42FE-A81B-0BE46FD52E6B@gmail.com> (Dror Atariah's message of "Mon, 11 Jul 2011 11:47:52 +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 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. As a user, in principle, you should refuse to look at elisp files. But it's a very good idea to look at the manuals though. http://orgmode.org/manual/LaTeX-and-PDF-export.html#LaTeX-and-PDF-export > So, two questions: > 1. Should I change the org.el or is it somewhere else? > 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? > > Thanks! > Dror Atariah > --