From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: RE Re: Issues with org-mode and LaTeX export. Date: Thu, 21 Oct 2010 19:42:59 +0200 Message-ID: <87d3r35tng.fsf@thinkpad.tsdh.de> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=59678 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8zEt-00057P-B8 for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 13:47:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8zAO-0007JU-B3 for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 13:43:05 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:38098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8zAO-0007JM-5z for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 13:43:04 -0400 In-Reply-To: (gerald jean's message of "Thu, 21 Oct 2010 12:56:19 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: gerald.jean@dgag.ca Cc: emacs-orgmode@gnu.org gerald.jean@dgag.ca writes: Hi Gerald, >> I think this should do what you want, e.g. enable babel with english >> and francais options: >> >> --8<---------------cut here---------------start------------->8--- >> (setq org-export-latex-packages-alist >> '(("english, francais" "babel" nil))) >> --8<---------------cut here---------------end--------------->8--- >> >> > Does the .emacs file needs to be modified every time one wants to add >> > a new package? >> >> If you want a new package in every exported document, add an entry of >> form (OPTIONS PACKAGE nil) to the list above. > > That works, thanks, but when do you use "#+LATEX_HEADER:" then? I don't use the LaTeX export at all (at least regularily). :-) > I thought that if I wanted a package just for this one org file that > it was the way to specify it, sure doesn't work for me? Yes, the docs say so. I had the impression that you want to enable babel for each exported org file, so I chose the version above. But you can also use #+LATEX_HEADER: "\usepackage[english, francais]{babel}" in your org file, which should have the same effect. > I also looked at the manual to selectively export a part of the org > file. They talk about the "org-export-select-tags" and > "org-export-exclude-tags"; these variables don't even exist? They do. Are you still using that old org version 5.x? If so, well, then maybe there were no such variables. And somewhen in org version 6.x the export facilities were completely rewritten, so I guess you are pretty alone with your problems unless you get a recent version. Bye, Tassilo