From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Org-Mode Presentation Videos Date: Sun, 19 Oct 2008 23:39:45 +0200 Message-ID: <48FBA921.8040100@gmx.de> References: <20081016191332.GE1080@thinkpad.adamsinfoserv.com> <48F8E7C4.9030405@gmail.com> <20081017195510.GK1080@thinkpad.adamsinfoserv.com> <48F9FB5A.9000301@gmail.com> <48FA35F3.6080609@gmx.de> <48FB761F.4030804@gmail.com> <20081019184544.GN1080@thinkpad.adamsinfoserv.com> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Krfzn-0002xD-Rd for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 17:39:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Krfzl-0002ve-R0 for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 17:39:31 -0400 Received: from [199.232.76.173] (port=41522 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Krfzl-0002vY-Mx for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 17:39:29 -0400 Received: from mail.gmx.net ([213.165.64.20]:34388) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Krfzk-0002XG-P2 for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 17:39:29 -0400 In-Reply-To: <20081019184544.GN1080@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: emacs-orgmode@gnu.org Russell Adams wrote: > On Sun, Oct 19, 2008 at 02:02:07PM -0400, srandby@gmail.com wrote: >> Sebastian Rose wrote: >> First, I don't know emacs lisp. I've been planning to learn it, but >> finding the time is difficult and I'm not a professional programmer. > > Don't need to know lisp. ;] Right, my lisp is a desaster. But there are so many snippets for emacs' custtomization around (in the org-manual, on this list, in emacs docs), that I manage to fiddle something together. And, it does not hurt to ask ;-) >> Second, the customizations I use for LaTeX vary widely between files. My >> understanding of your code, please correct me if I'm wrong, is that if I >> have multiple header files for different types of documents, then I must >> change my .emacs each time I want to change headers. This doesn't seem >> to be very convenient to me. I suppose it is possible to write some code >> to take care of multiple header files, but what if one has a brand new >> header file? > > There is a new feature where you can use template lines for the latex > header instead of customizing .emacs or loading a local variable. > > #+LATEX_HEADER my header here > #+LATEX_HEADER my second row here > > I think this is new in git, you may have to have the latest. Russel is always one step ahead :-D But still, I prefer the elisp setup, since it's as Manish said: > I have found that I write only a certain "types" of latex documents, > professional reports and personal resume for example. And each type > tends to have same preamble. Even between latex documents much of the > preamble is also similar. I use one LaTeX-header for all, mostly documentation for customers. That's how LaTeX is supposed to be used, right? Define one header file with logos, page headers and footers, link colors etc., and that's it.