From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas Pavani Subject: org-article & #+INCLUDE LaTex support Date: Fri, 19 Nov 2010 18:08:31 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=46360 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJVOC-0001UJ-Vn for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 13:08:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJVOB-0001OA-LL for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 13:08:48 -0500 Received: from lo.gmane.org ([80.91.229.12]:46686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJVOB-0001Nk-FY for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 13:08:47 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PJVO7-0002wU-4e for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 19:08:43 +0100 Received: from 192.212.253.128 ([192.212.253.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2010 19:08:43 +0100 Received: from sp_us by 192.212.253.128 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Nov 2010 19:08:43 +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 Tom, I have been trying to use the org-article LaTEX setup to get consistent look and feel across my documents. I found out that if you insert the following lines directly in a file (test.org), the desired output is produced. However if you insert the lines in an #+INCLUDE file, then the outcome is different. The settings of org-article are ignored. Test case 1: File: test.org #+OPTIONS: H:3 #+LaTeX_CLASS: org-article #+LaTeX_CLASS_OPTIONS: [koma,letterpaper,captions=tableheading,utopia,11pt,listings- sv,microtype,paralist,colorlinks=true,urlcolor=blue,secnums] #+LATEX_HEADER: \usepackage[AUTO]{inputenc} * Sample Heading1 ** Sample Heading2 *** Sample Heading3 Content goes here ---------------------------- Test case 2: File: test.org #+include: boiler.org #+OPTIONS: H:3 * Sample Heading1 ** Sample Heading2 *** Sample Heading3 Content goes here File: boiler.org #+OPTIONS: H:2 #+LaTeX_CLASS: org-article #+LaTeX_CLASS_OPTIONS: [koma,letterpaper,captions=tableheading,utopia,11pt,listings- sv,microtype,paralist,colorlinks=true,urlcolor=blue,secnums] #+LATEX_HEADER: \usepackage[AUTO]{inputenc} It seems that when files are included, the contents of the included file are not evaluated consistently. This seems like it is more of an issue with org- mode and interpreting include file contents. - Srinivas