[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Exporting LaTeX

From: Russell Adams
Subject: Re: [Orgmode] Exporting LaTeX
Date: Thu, 21 Aug 2008 01:35:15 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Aug 21, 2008 at 05:17:07AM +0000, Charles Howard wrote:
> I am trying to implement a variation on what Russell Adams describes in

I've heard of that guy! He's nothing but trouble!

> http://lists.gnu.org/archive/html/emacs-orgmode/2008-08/msg00044.html 
> on starting emacs. The only way I could get C^c C^e l to write my preamble 
> commands to file.tex
> was by inserting my block of code
> directly into /usr/local/share/emacs/site-lisp/org-export-latex.el 
> Although this works for me, I'd still like to understand why the 
> corresponding code into ~/.emacs did not work. 
> Can someone tell me why this was so?
> I'm using Orgmode 6.06b and emacs 22.1.1 on Ubuntu 7.10. 
> Many thanks, Chas

Did you have the setq and cons around it? That appends the custom
values to the existing variable.

(setq org-export-latex-classes (cons '("aisarticle"
     "% BEGIN latex
          % END latex
     ("\\section{%s}" . "\\section*{%s}")
     ("\\subsection{%s}" . "\\subsection*{%s}")
     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
     ("\\paragraph{%s}" . "\\paragraph*{%s}")
     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))

Glad to see my experiments are coming in handy!

Russell Adams                            address@hidden

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]