From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Setting up LATEX_HEADER properly. Date: Wed, 20 Oct 2010 15:06:50 -1000 Message-ID: <9C79E64D-855F-4A62-A031-511532DFD12C@tsdye.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============1913582658==" Return-path: Received: from [140.186.70.92] (port=55630 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8jcP-0007z1-Ac for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 21:06:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8jcN-0004qD-9j for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 21:06:57 -0400 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:59584) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P8jcN-0004q6-2V for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 21:06:55 -0400 In-Reply-To: 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 --===============1913582658== Content-Type: multipart/alternative; boundary=Apple-Mail-22-78365494 --Apple-Mail-22-78365494 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Aloha Gerald, Perhaps the org-export-latex-classes variable is mis-configured. =20 IIUC, the [EXTRA] macro needs to be present: > If you need more control about the sequence in which the header is =20 > built > up, or if you want to exclude one of these building blocks for a =20 > particular > class, you can use the following macro-like placeholders. > > [DEFAULT-PACKAGES] \usepackage statements for default packages > [NO-DEFAULT-PACKAGES] do not include any of the default packages > [PACKAGES] \usepackage statements for packages > [NO-PACKAGES] do not include the packages > [EXTRA] the stuff from #+LaTeX_HEADER > [NO-EXTRA] do not include #+LaTeX_HEADER stuff > [BEAMER-HEADER-EXTRA] the beamer extra headers HTH, Tom On Oct 20, 2010, at 10:16 AM, gerald.jean@dgag.ca wrote: > > Hello, > > I am new to org-mode, not to Emacs and LaTeX though. I am trying to =20= > export > an org document to LaTeX. It does export but not with the options I =20= > want. > For example, trying to add just one package I have the following at =20= > the end > of my org file, I tried to put it at the begining also but it didn't =20= > work > neither? Any way I tried to include packages didn't work, I also =20 > tried > with "#+SETUPFILE: /home/jeg002/org/2010/setupLaTeX.org", no luck? > > #+TITLE: MOD=C9LISATION du TAUX de SOUMISSION en MARKETING DIRECT. > #+AUTHOR: G=E9rald Jean > #+EMAIL: gerald.jean@dgag.ca > #+LANGUAGE: "fr" > #+TEXT: Le fichier "Org" pour le projet 33539. > #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t > LaTeX:t skip:t d:nil tags:not-in-toc > #+latex_header: \usepackage[english, francais]{babel} > > thanks for any help, > > G=E9rald Jean > Conseiller senior en statistiques, > VP Actuariat et Solutions d'assurances, > Desjardins Groupe d'Assurances G=E9n=E9rales > t=E9lephone : (418) 835-4900 poste (7639) > t=E9lecopieur : (418) 835-6657 > courrier =E9lectronique: gerald.jean@dgag.ca > > "We believe in God, others must bring Data." > > W. Edwards Deming > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-22-78365494 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Aloha = Gerald,

Perhaps the org-export-latex-classes = variable is mis-configured.  IIUC, the [EXTRA] macro needs to be = present:

If you need more control = about the sequence in which the header is built
up, or if you want to = exclude one of these building blocks for a = particular
class, you can use the following macro-like = placeholders.

 [DEFAULT-PACKAGES]     =  \usepackage statements for default packages
 [NO-DEFAULT-PACKAGES] =   do not include any of the default packages
 [PACKAGES]   =            \usepackage statements for = packages
 [NO-PACKAGES]           = do not include the packages
 [EXTRA]     =             the stuff from = #+LaTeX_HEADER
 [NO-EXTRA]           =    do not include #+LaTeX_HEADER stuff
 [BEAMER-HEADER-EXTRA] =   the beamer extra = headers

HTH,
Tom

On Oct 20, 2010, at 10:16 AM, gerald.jean@dgag.ca = wrote:


Hello,

I am new to org-mode, not to Emacs = and LaTeX though.  I am trying to export
an org document to = LaTeX.  It does export but not with the options I want.
For = example, trying to add just one package I have the following at the = end
of my org file, I tried to put it at the begining also but it = didn't work
neither?  Any way I tried to include packages didn't = work, I also tried
with "#+SETUPFILE: = /home/jeg002/org/2010/setupLaTeX.org", no luck?

#+TITLE: = MOD=C9LISATION du TAUX de SOUMISSION en MARKETING DIRECT.
#+AUTHOR: =    G=E9rald Jean
#+EMAIL:     gerald.jean@dgag.ca
#+LANGUAGE:=  "fr"
#+TEXT:      Le fichier "Org" = pour le projet 33539.
#+OPTIONS:   H:3 num:t toc:t \n:nil = @:t ::t |:t ^:t -:t f:t *:t TeX:t
LaTeX:t skip:t d:nil = tags:not-in-toc
#+latex_header: \usepackage[english, = francais]{babel}

thanks for any help,

G=E9rald = Jean
Conseiller senior en statistiques,
VP Actuariat et Solutions = d'assurances,
Desjardins Groupe d'Assurances G=E9n=E9rales
t=E9lepho= ne            : = (418) 835-4900 poste (7639)
t=E9lecopieur =          : (418) = 835-6657
courrier =E9lectronique: gerald.jean@dgag.ca

"We = believe in God, others must bring Data."

W. Edwards = Deming


_______________________________________________
Emacs= -orgmode mailing list
Please use `Reply All' to send replies to the = list.
Emacs-orgmode@gnu.org
http://= lists.gnu.org/mailman/listinfo/emacs-orgmode
<= br>
= --Apple-Mail-22-78365494-- --===============1913582658== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1913582658==--