>> 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? 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. > > 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. Thanks for the tip!
>> 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 and should I restart after each such change? Thanks, Dror