From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [BUG] LATEX_CLASS_OPTIONS not working Date: Mon, 05 Mar 2012 21:42:17 -0500 Message-ID: <5236.1331001737@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4kM4-0007k9-5e for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 21:42:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4kM2-0004hf-A3 for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 21:42:23 -0500 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:39864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4kM2-0004hA-5g for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 21:42:22 -0500 In-Reply-To: Message from suvayu ali of "Tue, 06 Mar 2012 03:13:57 +0100." 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: suvayu ali Cc: nicholas.dokos@hp.com, org-mode mailing list suvayu ali wrote: > Hi, > > I think there is a regression bug in latex export. The > > #+LATEX_CLASS_OPTIONS: a4paper > > directive is supposed to generate the following latex code: > > \documentclass{a4paper,article} > > Instead it generates: > > \documentclassa4paper{article} > > A minimal example is attached. > I don't think it's a regression - at least I could only find two commits that touched the relevant code (lines 1397-1405 in org-latex.el) and they are from 2008 and 2009. Also the latex syntax is \documentclass[a4paper]{article} and an example in the beamer section of the manual (info "(org) Beamer class export") makes me believe that the expectation is that you'll enter #+LATEX_CLASS_OPTIONS: [a4paper] including the square brackets. Nick