From mboxrd@z Thu Jan 1 00:00:00 1970 From: Austin Frank Subject: #+LATEX_PREAMBLE Date: Thu, 02 Oct 2008 00:09:22 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0369046626==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlFVh-0006eB-I2 for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 00:09:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlFVf-0006bt-EI for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 00:09:52 -0400 Received: from [199.232.76.173] (port=58061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlFVf-0006bh-9P for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 00:09:51 -0400 Received: from main.gmane.org ([80.91.229.2]:52881 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlFVf-0001nG-8X for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 00:09:51 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KlFVY-0004CH-P2 for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 04:09:44 +0000 Received: from colossus.cvs.rochester.edu ([128.151.80.181]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 04:09:44 +0000 Received: from austin.frank by colossus.cvs.rochester.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 04:09:44 +0000 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 --===============0369046626== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable 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 =2D-=20 Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkjkSXIACgkQlHMl2/XbR4EfkgCgpX0OdBi7qDIlpuB+ahf52ZY0 p4cAnifCoNNuyDjtne07bmz/6j8Jw7qf =UhFm -----END PGP SIGNATURE----- --=-=-=-- --===============0369046626== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0369046626==--