From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Strey Subject: Re: [patch] ox-koma-letter Date: Tue, 5 Mar 2013 11:51:19 +0100 Message-ID: <20130305105119.GX782@strey.biz> References: <877glpptuj.fsf@pank.eu> <87obf1zcor.fsf@pank.eu> <876218wg2m.fsf@gmail.com> <87wqtntvi7.fsf@gmail.com> <87fw0bmoug.fsf@pank.eu> <877glmvr1t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCpT3-0008Gz-JX for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 05:51:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCpSx-0007yA-Ta for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 05:51:33 -0500 Received: from mx1.supremebox.com ([198.23.53.39]:55587 helo=mx10.supremebox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCpSx-0007xn-NZ for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 05:51:27 -0500 Received: from [77.189.130.190] (helo=localhost) by mx10.supremebox.com with esmtpa (Exim 4.80) (envelope-from ) id 1UCpSw-00077e-4x for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 10:51:26 +0000 Content-Disposition: inline In-Reply-To: <877glmvr1t.fsf@gmail.com> 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 Hello, On Mon, Mar 04, 2013 at 09:38:38PM +0100, Nicolas Goaziou wrote: [...] > Headlines are also possible, with a :location: property, which could be > set to, e.g. "closing". See also: > > http://orgmode.org/worg/org-tutorials/org-e-groff-documentation.html > > for a syntax based on headlines. Here is a draft proposal for a user interface using Nicola's suggestion: #+BEGIN_SRC org #+LATEX_CLASS: letter #+LCO: strey_consult, DINmtext, sections #+LANGUAGE: en #+AUTHOR: Michael Strey #+EMAIL: mstrey@strey.biz #+DATE: \today #+TITLE: KomaScript Allows Title and Subject #+SUBJECT: User interface of org-koma-letter.el #+SPECIALMAIL: by registered mail #+TO_ADDRESS: Name\\Street\\Postcode City #+YOURREF: LT/21/20 #+YOURMAIL: 20.09.2012 #+MYREF: St/foo/bar #+CUSTOMER: customer name #+INVOICE: invoice no. #+OPENING: Dear Org-Mode user,\\dear developers, #+CLOSING: Regards, #+AFTER_LETTER: here is code to go after \end{letter}, e.g. for pdfpages inclusion * About this document :BODY: This is an example of a letter that contains all options allowed in Koma-Script letters. It shall illustrate the proposed user interface of ox-koma-letter.el for further discussion. I used properties for all information having a fixed place in the letter layout and headlines with tags for those parts of the content of of the letter that have to be typeset in a distinct order. * Sectioning in Letters :BODY: With the letter class option =sections.lco= KomaScript supports sectioning in the body of a letter. Advocates like this feature. * Enclosures :ENCL: a first attachment\\a second one * Copies go to :CC: Worg\\Org-Mode mailing list * PS :PS: PS: Usually a postsriptum is a short trailer but for those who like to write more, it should allow multiple paragraphs. Here is one. #+END_SRC Regards, -- Michael Strey www.strey.biz