From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: FR: Define Latex macros from export header Date: Thu, 19 Feb 2009 14:02:49 -0600 Message-ID: <20090219200249.GI17284@thinkpad.adamsinfoserv.com> References: <20090215065910.GG7810@thinkpad.adamsinfoserv.com> <693E9A38-E1AA-49BC-BB05-5ADFE2199A57@uva.nl> 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 1LaF6n-000466-O3 for emacs-orgmode@gnu.org; Thu, 19 Feb 2009 15:02:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaF6m-000454-EM for emacs-orgmode@gnu.org; Thu, 19 Feb 2009 15:02:56 -0500 Received: from [199.232.76.173] (port=35915 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaF6m-00044x-5e for emacs-orgmode@gnu.org; Thu, 19 Feb 2009 15:02:56 -0500 Received: from squirtle.drak.net ([72.52.144.201]:55617) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LaF6l-0001oK-Ir for emacs-orgmode@gnu.org; Thu, 19 Feb 2009 15:02:55 -0500 Received: from 206.180.154.148.adsl.hal-pc.org ([206.180.154.148] helo=localhost) by squirtle.drak.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1LaF6b-0006p7-2a for emacs-orgmode@gnu.org; Thu, 19 Feb 2009 14:02:45 -0600 Content-Disposition: inline In-Reply-To: <693E9A38-E1AA-49BC-BB05-5ADFE2199A57@uva.nl> 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 org-mode mailing list Carsten, I was thinking of just exporting all key/value pairs in the header with an org prefix (no - or _ or /, ie: "orgAUTHOR"). We don't need to pick any specific ones. The only one that we have to worry about is properly quoting the OPTIONS line. FYI I love the LATEX_HEADER line, I've done away with the latex classes entirely in some recent documents. Its not in the manual yet though. Thanks. On Thu, Feb 19, 2009 at 08:24:39PM +0100, Carsten Dominik wrote: > Hi Russel, > > can you come up with a complete list of macros you'd like > to have defined? Right now you are leaving the guesswork to me. > > - Carsten > > On Feb 15, 2009, at 7:59 AM, Russell Adams wrote: > >> I think this one should be very easy! >> >> For each option in the export template at the head of the file, could >> we export them for use in Latex? >> >> For example: >> #+AUTHOR: Russell Adams >> >> becomes >> >> \def\ORG_AUTHOR{Russell Adams} >> >> in the header of the Latex output? >> >> I'm finding myself redefining these macros, especially when I'm using >> a custom maketitle. >> >> Thanks. >> >> ------------------------------------------------------------------ >> Russell Adams RLAdams@AdamsInfoServ.com >> >> PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ >> >> Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 >> >> >> _______________________________________________ >> 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