From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Example of thesis in org-mode and LaTeX Date: Sun, 09 Dec 2007 00:25:44 +0000 Message-ID: <878x44g1dj.fsf@bzg.ath.cx> References: <87zlwq3dv7.fsf@bzg.ath.cx> <87bq952w9e.fsf@freemail.hu> <87bq95guug.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J19zV-0002cD-SS for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:25:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J19zR-0002bm-Tb for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:25:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J19zR-0002bj-Nz for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:25:49 -0500 Received: from nf-out-0910.google.com ([64.233.182.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J19zR-0003eZ-AU for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:25:49 -0500 Received: by nf-out-0910.google.com with SMTP id f5so736351nfh for ; Sat, 08 Dec 2007 16:25:48 -0800 (PST) In-Reply-To: (Daniel Clemente's message of "Thu, 6 Dec 2007 13:26:51 +0100") 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 "Daniel Clemente" writes: >> When reading his org file in emacs I get something about some local >> variables (org-export-latex-preamble) not being safe, some others >> (org-export-latex-title-command) being risky and what not. Dont know >> whether this is emacs or org (or Daniel!) complaining and about what. > > yes, this is the only way I found to include file-specific > configuration for the LaTeX exporter. Normally you would have a > different preamble in each document, but the variable > org-export-latex-preamble is global and affects all documents; > therefore it must be chaneg in a „local variables" section. For thos who are using the latest Org release: org-export-latex-preamble has been removed. If you want to use your own preamble in the LaTeX output, you should configure it in `org-export-latex-classes' and select it globally with `org-export-latex-class' or locally with the #+LaTeX_CLASS: option. Additionnally, if you want to append LaTeX options to your preamble, you can locally set the `org-export-latex-append-header' variable. E.g.: ,---- | * COMMENT Local variable | | # Local Variables: | # org-export-latex-append-header: "\\usepackage{fancyhrd}" | # End: `---- -- Bastien