From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: [bug-report] #+LaTeX_CLASS: whitespaces in the parameter list are not omitted Date: Thu, 13 Oct 2011 01:34:08 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE1kw-0001PC-Py for emacs-orgmode@gnu.org; Wed, 12 Oct 2011 12:34:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE1kv-0000JJ-Nb for emacs-orgmode@gnu.org; Wed, 12 Oct 2011 12:34:10 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:37873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE1kv-0000J7-Ki for emacs-orgmode@gnu.org; Wed, 12 Oct 2011 12:34:09 -0400 Received: by ggdk5 with SMTP id k5so1038477ggd.0 for ; Wed, 12 Oct 2011 09:34:08 -0700 (PDT) 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: Org Mode Mailing List Hi, just had 30 min of fun with a whitespace as in (note the space at the end of koma_article) #+LaTeX_CLASS: koma_article Since I just use this option for the first time and I created my own entry for 'org-export-latex-classes (according to the tutorial) I was believing I am doing something wrong. Not sure for other parameters but I would believe that leading and ending whitespaces should be skipped. Its hard to distinguish #+LaTeX_CLASS: koma_article and #+LaTeX_CLASS: koma_article ;) The error message on export was correct to say org-export-latex-set-initial-vars: No definition for class `koma_article ' in `org-export-latex-classes' (again notice the space) Org-mode version 7.7 (git) Emacs version 24 I know ... all bleeding edge but maybe its not a very recent problem. All the best Torsten