From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Orgmode/Koma script letter Date: Tue, 19 Aug 2014 10:22:50 +0200 Message-ID: <877g246g85.fsf@gmx.us> References: <073E651C-34C0-45C6-81B2-1775B52942EB@agrarianresearch.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJehG-0003Bx-51 for emacs-orgmode@gnu.org; Tue, 19 Aug 2014 04:23:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJeh9-0006o4-Sn for emacs-orgmode@gnu.org; Tue, 19 Aug 2014 04:23:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:41367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJeh9-0006nx-Lp for emacs-orgmode@gnu.org; Tue, 19 Aug 2014 04:23:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XJeh4-0004TZ-LS for emacs-orgmode@gnu.org; Tue, 19 Aug 2014 10:23:02 +0200 Received: from 109.201.152.239 ([109.201.152.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Aug 2014 10:23:02 +0200 Received: from rasmus by 109.201.152.239 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Aug 2014 10:23:02 +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 Vikas, Vikas Rawal writes: > I am trying to create a custom template for my letterhead. The > documentation suggests that by default title should be used as subject > of the letter. Cool. Let us know how it goes. > ox-koma-letter.el has this: > (defcustom org-koma-letter-subject-format t > "Use the title as the subject of the letter. That's a bug in the documentation, if anything. The rest of the docstring is fine. It gives you a mean of formatting the subject line, e.g. center it and make it bold. I'll correct it later. I'm kind of busy now, but check the docstring of `org-koma-letter-use-title' and `org-koma-letter-prefer-subject'. Hopefully setting the latter to non-nil will give you what you want. > Byt when I export a file, > > #+TITLE: A simple letter > > is exported as > > \setkomavar{title}{A simple letter} > > rather than as > > \setkomavar{subject}{A simple letter} > > Accordingly, title appears separately as a badly formatted title. > > If I have a separate #+Subject: line, that is correctly exported as a subject. This is a feature. > Is there something wrong in what I am doing or is there a problem? I don't think there is a code bug. There is a potentially a documentation bug in the first line of the doc string you mentioned. > Org version: Org-mode version 8.3beta (release_8.3beta-167-g003edd @ > /Users/vikas/.emacs.d/src/org/lisp/) Hope it helps, Rasmus -- It was you, Jezebel, it was you