From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: #+LATEX_PREAMBLE Date: Wed, 1 Oct 2008 23:51:46 -0500 Message-ID: <20081002045146.GC19844@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 1KlGAM-0008Di-TP for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 00:51:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlGAL-0008CJ-Bl for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 00:51:54 -0400 Received: from [199.232.76.173] (port=54409 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlGAL-0008CB-8L for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 00:51:53 -0400 Received: from squirtle.drak.net ([72.52.144.201]:45426) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlGAL-0000Tb-4s for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 00:51:53 -0400 Received: from [24.97.98.137] (helo=localhost) by squirtle.drak.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1KlGA7-0001ca-R9 for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 23:51:40 -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 I think I asked about this once before and called it #+LATEX_HEADER. ;] I may just start using includes, but I've been generally successful so far. On Thu, Oct 02, 2008 at 12:09:22AM -0400, Austin Frank wrote: > Carsten and org-ers-- > > I have a feature request related to \LaTeX export. I know that we can > set up custom \documentclass declarations in org-export-latex-classes, > and that each of these can contain arbitrary preamble information along > with the \documentclass{} declaration. I also know that the preamble > can be further customized using file local variables to set > org-export-latex-append-header. These two solutions can seem relatively > heavyweight when one just wants to add a new \usepackage{} declaration > to the preamble of a specific file. > > Any chance we could have a mechanism to add single line declarations to > the preamble of the exported tex file using the #+FOO syntax? I would > really love to be able to do something like > > #+LATEX_PREAMBLE: \usepackage{pstricks} > #+LATEX_PREAMBLE: \usepackage{Sweave} > > at the top of a file and have each of those lines inserted before the > \begin{document} line of the exported tex file. I think for readability > and flexibility the possibility of having multiple declarations would be > really nice, but I could certainly live with > > #+LATEX_PREABMLE: "\\usepackage{pstricks}\n\\usepackage{Sweave}" > > if that were easier to implement. > > Thanks for considering it, > /au > > -- > Austin Frank > http://aufrank.net > GPG Public Key (D7398C2F): http://aufrank.net/personal.asc > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3