From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stig Brautaset Subject: Re: writing letters using the latex letters class? Date: Thu, 08 Dec 2016 11:40:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEx4A-0001JU-GL for emacs-orgmode@gnu.org; Thu, 08 Dec 2016 06:40:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEx47-0008Ua-57 for emacs-orgmode@gnu.org; Thu, 08 Dec 2016 06:40:46 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:52202) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEx46-0008UA-VO for emacs-orgmode@gnu.org; Thu, 08 Dec 2016 06:40:43 -0500 In-reply-to: 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" To: Sebastian Christ Cc: emacs-orgmode@gnu.org Sebastian Christ writes: > On 2016-12-08 0:46, Stig Brautaset wrote: > > That at least got me past the "Unknow LaTeX class 'letter'" > > error, > > but it doesn't produce a nice letter. I only get my lorem > > ipsum > > text. I can't figure out how to get the \begin{letter}{...} > > stuff > > inside the \begin{document} part automatically, nor how to > > inject > > text from #+recipient: into the second block of the > > \begin{letter}{...} macro. > > I can't actually help in using the letter class, but have you > checked > "Creating letters with KOMA-Script scrlttr2 and Org-mode" [1]? > I've been > using it excursively for all my /formal/ letter writing and it > works > great. Maybe you can give that a try? Plus it produces really > nice > letters :) It looks promising but I can't get it to work as I expect; is it perhaps not fully compatible with Org 9? After following the instructions on that page to the best of my abilities, and using their example document, my output contains lots of stuff that I expect to be hidden. (E.g. all the to/from special headings etc). Stig