From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: More koma confusion: subject option Date: Sun, 24 Nov 2013 18:39:21 +0800 Message-ID: <50f27410-2068-406b-b170-d753748bcfc2@dewdrop-world.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkX7Y-0006tN-Df for emacs-orgmode@gnu.org; Sun, 24 Nov 2013 05:41:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkX7S-0001Rb-Js for emacs-orgmode@gnu.org; Sun, 24 Nov 2013 05:40:56 -0500 Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]:58334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkX7S-0001RW-DH for emacs-orgmode@gnu.org; Sun, 24 Nov 2013 05:40:50 -0500 Received: by mail-pb0-f48.google.com with SMTP id md12so3802292pbc.35 for ; Sun, 24 Nov 2013 02:40:49 -0800 (PST) Received: from localhost ([219.136.5.70]) by mx.google.com with ESMTPSA id pl1sm65606470pbb.20.2013.11.24.02.40.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Nov 2013 02:40:49 -0800 (PST) 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: orgmode According to [1], "#+OPTIONS: subject:nil" should suppress printing the=20 #+TITLE at the top of the letter. It seems that the previous bug prevents=20 the expected line "\KOMAoption{subject}{untitled}" from being generated. Okay... so, what if I set "#+OPTIONS: subject:untitled"? Then I get=20 something like: \KOMAoption{subject}{untitled} \setkomavar{subject}{The title} .. and LaTeX prints "The title" in bold, above the salutation. If I remove the #+TITLE line (or comment it out), then the exporter assumes=20= that the title should be the file name, minus the .org extension. This=20 conflicts with [1], which claims that the default subject is an empty=20 string. I can suppress the subject by providing an empty #+TITLE line, but the=20 documentation suggests that this should not be necessary. ?? hjh [1] http://orgmode.org/worg/exporters/koma-letter-export.html