From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: Exporting LaTeX Date: Thu, 21 Aug 2008 01:35:15 -0500 Message-ID: <20080821063515.GG7647@thinkpad.adamsinfoserv.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KW3lX-0003ti-IB for emacs-orgmode@gnu.org; Thu, 21 Aug 2008 02:35:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KW3lV-0003rH-SO for emacs-orgmode@gnu.org; Thu, 21 Aug 2008 02:35:27 -0400 Received: from [199.232.76.173] (port=44984 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KW3lV-0003r7-O2 for emacs-orgmode@gnu.org; Thu, 21 Aug 2008 02:35:25 -0400 Received: from squirtle.drak.net ([72.52.144.201]:59172) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KW3lV-00015s-CQ for emacs-orgmode@gnu.org; Thu, 21 Aug 2008 02:35:25 -0400 Received: from [208.57.68.109] (helo=localhost) by squirtle.drak.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1KW3lF-0004nU-E3 for emacs-orgmode@gnu.org; Thu, 21 Aug 2008 01:35:10 -0500 Content-Disposition: inline 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: emacs-orgmode@gnu.org 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}")) org-export-latex-classes)) Glad to see my experiments are coming in handy! ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3