From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: FR: Define Latex macros from export header Date: Sat, 21 Feb 2009 08:28:13 -0600 Message-ID: <20090221142813.GH14026@thinkpad.adamsinfoserv.com> References: <20090215065910.GG7810@thinkpad.adamsinfoserv.com> <693E9A38-E1AA-49BC-BB05-5ADFE2199A57@uva.nl> <20090219200249.GI17284@thinkpad.adamsinfoserv.com> <597A6150-6F0C-46A4-A70B-906FC68D0B09@uva.nl> <20090220163330.GL17284@thinkpad.adamsinfoserv.com> 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 1Lasq4-0007oz-5E for emacs-orgmode@gnu.org; Sat, 21 Feb 2009 09:28:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lasq2-0007mB-QP for emacs-orgmode@gnu.org; Sat, 21 Feb 2009 09:28:19 -0500 Received: from [199.232.76.173] (port=43405 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lasq2-0007lr-L9 for emacs-orgmode@gnu.org; Sat, 21 Feb 2009 09:28:18 -0500 Received: from squirtle.drak.net ([72.52.144.201]:37326) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lasq2-0007Gu-5h for emacs-orgmode@gnu.org; Sat, 21 Feb 2009 09:28:18 -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 1Laspv-000867-T3 for emacs-orgmode@gnu.org; Sat, 21 Feb 2009 08:28:12 -0600 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 org-mode mailing list On Sat, Feb 21, 2009 at 02:03:54PM +0100, Carsten Dominik wrote: > >> That worked, the only point I may make would be to exclude >> LATEX_HEADER and TEXT from that list. > > OK, done. I think it would even make sense to remove OPTIONS, > I cannot see how you would use this, would you? I don't see that options would be terribly useful, but it doesn't conflict. Perhaps someone else would think of a use. >> I'm also trying to resolve an ordering issue. I want to have a >> header/footer line declared in the header, but I want to use these >> orgTITLE macros in that. Currently LATEX_HEADER and the class go first >> before the definitions, and TEXT occurs inside the document. If the >> macro isn't defined before the header/footer, you get an error. >> >> I may have to manually code those, which defeats the purpose of using >> the org options. > > I have switched this around, these definitions now com right > after the \usepackage macros, before the custom header stuff. I'll give that a whirl next. The file I was testing on had a unique arrangement, where I have a latex class called 'none' defined, which is exactly that, empty. Then the document start and packages were all in LATEX_HEADER lines, which worked very well. 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