emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Setting up LATEX_HEADER properly.
@ 2010-10-20 20:16 gerald.jean
  2010-10-21  1:06 ` Thomas S. Dye
  0 siblings, 1 reply; 2+ messages in thread
From: gerald.jean @ 2010-10-20 20:16 UTC (permalink / raw)
  To: emacs-orgmode


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ÉLISATION du TAUX de SOUMISSION en MARKETING DIRECT.
#+AUTHOR:    Gérald 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érald Jean
Conseiller senior en statistiques,
VP Actuariat et Solutions d'assurances,
Desjardins Groupe d'Assurances Générales
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean@dgag.ca

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

W. Edwards Deming

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting up LATEX_HEADER properly.
  2010-10-20 20:16 Setting up LATEX_HEADER properly gerald.jean
@ 2010-10-21  1:06 ` Thomas S. Dye
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas S. Dye @ 2010-10-21  1:06 UTC (permalink / raw)
  To: gerald.jean; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2366 bytes --]

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ÉLISATION du TAUX de SOUMISSION en MARKETING DIRECT.
> #+AUTHOR:    Gérald 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érald Jean
> Conseiller senior en statistiques,
> VP Actuariat et Solutions d'assurances,
> Desjardins Groupe d'Assurances Générales
> télephone            : (418) 835-4900 poste (7639)
> télecopieur          : (418) 835-6657
> courrier électronique: 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


[-- Attachment #1.2: Type: text/html, Size: 3928 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-21  1:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-20 20:16 Setting up LATEX_HEADER properly gerald.jean
2010-10-21  1:06 ` Thomas S. Dye

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).