From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: koma letter export Date: Mon, 10 Jun 2013 22:06:30 +0200 Message-ID: <20130610200630.GA9790@kenny.local> References: <20130610153619.GB531@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um8MT-0002N0-5I for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 16:06:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um8MR-0002g7-JB for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 16:06:41 -0400 Received: from mail-bk0-x230.google.com ([2a00:1450:4008:c01::230]:40115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um8MR-0002fn-B9 for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 16:06:39 -0400 Received: by mail-bk0-f48.google.com with SMTP id jf17so3531558bkc.21 for ; Mon, 10 Jun 2013 13:06:38 -0700 (PDT) Received: from kenny.local (f052133075.adsl.alicedsl.de. [78.52.133.75]) by mx.google.com with ESMTPSA id np10sm4464445bkb.10.2013.06.10.13.06.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Jun 2013 13:06:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130610153619.GB531@panahar> 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 Hi Vikas, Vikas Rawal wrote: > I am trying to use ox-koma-letter for my correspondence. I have a > functioning test file that produces a nice pdf. But I would like to > set it up so as to have one letter per headline, and do subtree export > to produce the pdf. > > I am attaching the test file for the purpose. When I export it using > C-c @ C-c C-e k o, this file gives me the following error: I'm not sure about the C-c @ keys. On OS X this results in a message that C-c M-l are not bound. (The @ key is accessed using Alt-L and Alt is mapped to Meta in Emacs.) However, using C-c C-e C-s k o I can create a letter from your example just fine. Note the C-s in the middle which selects the current subtree. Cheers, Viktor > > let*: Wrong type argument: char-or-string-p, nil > > Have I made a mistake or is there a bug somewhere? > > Vikas > > > * A Simple letter > :PROPERTIES: > :EXPORT_LATEX_CLASS: vikasletter > :EXPORT_LCO: DefaultAddress > :EXPORT_AUTHOR: Vikas Rawal > :EXPORT_DATE: April 22, 2013 > :EXPORT_EMAIL: vikasrawal@gmail.com > :EXPORT_TO_ADDRESS: John Doe\\ > :EXPORT_TO_ADDRESS: Other Street 1\\ > :EXPORT_TO_ADDRESS: 54321 Other City > :EXPORT_OPENING: Dear , > :EXPORT_CLOSING: Yours sincerely, > :EXPORT_OPTIONS: backaddress:nil > :END: > > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do > eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad > minim veniam, quis nostrud exercitation ullamco laboris nisi ut > aliquip ex ea commodo consequat. Duis aute irure dolor in > reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla > pariatur. Excepteur sint occaecat cupidatat non proident, sunt in > culpa qui officia deserunt mollit anim id est laborum.