From mboxrd@z Thu Jan 1 00:00:00 1970 From: gerald.jean@dgag.ca Subject: Re: RE Re: Issues with org-mode and LaTeX export. Date: Thu, 21 Oct 2010 13:58:24 -0400 Message-ID: References: <87d3r35tng.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=37629 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8zPJ-0001iU-23 for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 13:58:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8zPH-0002gQ-5W for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 13:58:28 -0400 Received: from mail2.dgdom.net ([206.47.217.124]:21121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8zPG-0002gJ-RW for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 13:58:27 -0400 In-Reply-To: <87d3r35tng.fsf@thinkpad.tsdh.de> 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: tassilo@member.fsf.org Cc: emacs-orgmode@gnu.org Thanks again Tassilo, here is what I tried. Tassilo Horn a =E9crit sur 2010/10/21 13:42:59= : > gerald.jean@dgag.ca writes: > > Hi Gerald, > > >> I think this should do what you want, e.g. enable babel with engli= sh > >> 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 t= o 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 tha= t > > 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 > You were right for the babel package, I use it all the time. But some other packages not so often > #+LATEX_HEADER: "\usepackage[english, francais]{babel}" > > in your org file, which should have the same effect. I tried this: #+LATEX_HEADER: "\usepackage{longtable}" No effects? > > > 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 a= re > pretty alone with your problems unless you get a recent version. For the time being I am stuck with this version. I am sending a reques= t to our IT group to upgrade Emacs to the most recent version for the versio= n of RedHat we have, this should have a more recent version of org-mode, if = I am lucky that should be done in a couple weeks. In the mean time I will manually add, or exclude, what I want from the exported "*.tex" file. For the little I have done with org mode I still think it looks like a great package and I am planning to learn to use it better so I use it m= ore. Thanks to all contributors. Cheers, G=E9rald > > Bye, > Tassilo=