From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Rhodes Subject: LATEX_CLASS_OPTIONS in SETUPFILE Date: Thu, 20 Oct 2011 15:01:19 +0100 Message-ID: <87fwin92z4.fsf@cantab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGtBj-000788-Ef for emacs-orgmode@gnu.org; Thu, 20 Oct 2011 10:01:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGtBd-0001ZE-JX for emacs-orgmode@gnu.org; Thu, 20 Oct 2011 10:01:39 -0400 Received: from lo.gmane.org ([80.91.229.12]:40120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGtBd-0001Yq-9B for emacs-orgmode@gnu.org; Thu, 20 Oct 2011 10:01:33 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGtBc-00029J-0Y for emacs-orgmode@gnu.org; Thu, 20 Oct 2011 16:01:32 +0200 Received: from 81.174.155.115 ([81.174.155.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Oct 2011 16:01:32 +0200 Received: from csr21 by 81.174.155.115 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Oct 2011 16:01:32 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, When using #+SETUPFILE and exporting via LaTeX, the LATEX_CLASS_OPTIONS provided in the included file are ignored. With the following two files in the same directory, doing C-c C-e L (org-export to a temporary LaTeX buffer) produces a documentclass with class report (good, as expected) and options [11pt] (not as expected). Placing the LATEX_CLASS_OPTIONS line in top.org produces the expected options. I believe that the reason is that LATEX_CLASS_OPTIONS is not handled within org-infile-export-plist in org-exp.el. --- top.org --- #+TITLE: LaTeX Class Options #+SETUPFILE: "include.org" * Introduction Here is some text. --- end --- --- include.org --- #+LATEX_CLASS: report #+LATEX_CLASS_OPTIONS: [a4paper,10pt] --- end --- There may be similar keywords for LaTeX or other backends that are also not handled which maybe should be; this one is the one I noticed because I tried to use it. Best wishes, Christophe