From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: FR: Define Latex macros from export header Date: Fri, 20 Feb 2009 11:05:03 +0100 Message-ID: <597A6150-6F0C-46A4-A70B-906FC68D0B09@uva.nl> References: <20090215065910.GG7810@thinkpad.adamsinfoserv.com> <693E9A38-E1AA-49BC-BB05-5ADFE2199A57@uva.nl> <20090219200249.GI17284@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaSFp-00010I-AR for emacs-orgmode@gnu.org; Fri, 20 Feb 2009 05:05:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaSFo-000100-NL for emacs-orgmode@gnu.org; Fri, 20 Feb 2009 05:05:08 -0500 Received: from [199.232.76.173] (port=46448 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaSFo-0000zv-E4 for emacs-orgmode@gnu.org; Fri, 20 Feb 2009 05:05:08 -0500 Received: from mail-bw0-f160.google.com ([209.85.218.160]:63288) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaSFn-0005l1-PY for emacs-orgmode@gnu.org; Fri, 20 Feb 2009 05:05:08 -0500 Received: by bwz4 with SMTP id 4so2307238bwz.18 for ; Fri, 20 Feb 2009 02:05:04 -0800 (PST) In-Reply-To: <20090219200249.GI17284@thinkpad.adamsinfoserv.com> 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: Russell Adams Cc: emacs org-mode mailing list On Feb 19, 2009, at 9:02 PM, Russell Adams wrote: > Carsten, > > I was thinking of just exporting all key/value pairs in the header > with > an org prefix (no - or _ or /, ie: "orgAUTHOR"). OK, try (setq org-export-latex-import-inbuffer-stuff t) > We don't need to pick any specific ones. The only one that we have to > worry about is properly quoting the OPTIONS line. I am not sure if there is anything to worry about. If you want to use the content of that line, yes, but that seems unlikely. > 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, they are now documented, but will reach the manual on the web only with the next release. - Carsten > > > 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 > > > _______________________________________________ > 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