From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [bug] export to latex doesn't process #+include files fully Date: Fri, 19 Nov 2010 13:17:53 +0000 Message-ID: <87y68p1mgu.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=37502 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJQql-0003ff-H6 for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 08:18:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJQqj-00029C-RG for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 08:17:59 -0500 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:41780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJQqj-00028k-Lo for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 08:17:57 -0500 Received: from 79-67-224-146.dynamic.dsl.as9105.com ([79.67.224.146] helo=localhost) by vscane-a.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1PJQqf-0004h3-OB for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 13:17:54 +0000 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 Hello, should the latex export take into account any settings in an included file? Although #+include works in the sense that any text in that file is included in an export, the settings (e.g. #+latex_header:) are ignored on export. This simple example: --8<---------------cut here---------------start------------->8--- # -*- coding: utf-8; -*- #+TITLE: examplebug.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: #+include: "preamble.org" * include bug Including another org file doesn't seem to include all of the material upon export. This was written by \esf{}. --8<---------------cut here---------------end--------------->8--- with =preamble.org= having a single line: --8<---------------cut here---------------start------------->8--- #+latex_header: \newcommand{\esf}{\fbox{ESF}} --8<---------------cut here---------------end--------------->8--- illustrates this. I know that the file is being /included/ as any text put in preamble.org appears in the resulting .tex file. However, the latex_header commands are not being passed through. Should they be or is this a design decision? Thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.93.g451ac)