[Top][All Lists]

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

Re: [Orgmode] #+LATEX_PREAMBLE

From: Russell Adams
Subject: Re: [Orgmode] #+LATEX_PREAMBLE
Date: Wed, 1 Oct 2008 23:51:46 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

I think I asked about this once before and called it

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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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]