From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis Anaya Subject: Re: Extending org-koma-letter.el Date: Tue, 31 Jul 2012 06:14:48 -0400 Message-ID: References: <87txwq4gfi.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]:36306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw9Tp-0006Ol-3F for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 06:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sw9Th-0007Vr-Lh for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 06:15:09 -0400 Received: from blu0-omc1-s2.blu0.hotmail.com ([65.55.116.13]:2122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw9Th-0007UZ-IJ for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 06:15:01 -0400 In-Reply-To: <87txwq4gfi.fsf@gmail.com> (Nicolas Goaziou's message of "Sun\, 29 Jul 2012 20\:31\:08 +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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: Hi: >> Thanks. It's wonderful writing letters with the new latex exporter. >> You should consider adding it to org_contrib. > On the other hand, I think that Org deserves a serious letter > package. If you want to maintain and improve it, I'm all for adding it > to contrib directory. Nicolas, I would like to take a look at the code. I've been raking my brain on how to add support for the .LO/.LT Groff macros being that they break convention to covers and memorandum types. >> * my-encl :appendix: >> #+latex:\encl{ >> - doc 1 >> - doc 2 >> #+latex:} >> #+end_src > > The #+latex: ... parts are ugly. You may implement > an #+attr_koma: :enclosure t syntax, for example. This one I can use to enclose the .NS calls (that's how enclosures are marked in Groff). Right now there's support for Closure and Signature, but enclosures or carbon copy marks need to be added using Groff code. > > #+begin_src emacs-lisp > (org-element-map > (plist-get info :parse-tree) 'headline > (lambda (h) > (and (member "appendix" (org-export-get-tags h info)) > h)) > info) > #+end_src > Oh, so that's the magic trick :). I was wondering for a good way to do implement abstracts, but I should be able to use it to use it for addresses as well. Thanks for sharing. -- Luis Anaya papo anaya aroba hot mail punto com "Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo