[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Extending org-koma-letter.el
From: |
Luis Anaya |
Subject: |
Re: [O] Extending org-koma-letter.el |
Date: |
Tue, 31 Jul 2012 06:14:48 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Nicolas Goaziou <address@hidden> 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
- Re: [O] Org/LaTeX set-up for business letters?, (continued)
- [O] HowTo: Letter template method using yasnippet (was: Org/LaTeX set-up for business letters?), Karl Voit, 2012/07/06
- Re: [O] HowTo: Letter template method using yasnippet, Nicolas Goaziou, 2012/07/06
- Re: [O] HowTo: Letter template method using yasnippet, Thorsten Jolitz, 2012/07/06
- Re: [O] HowTo: Letter template method using yasnippet, Karl Voit, 2012/07/07
- Re: [O] HowTo: Letter template method using yasnippet, AW, 2012/07/08
- Re: [O] HowTo: Letter template method using yasnippet, Nicolas Goaziou, 2012/07/08
- Re: [O] HowTo: Letter template method using yasnippet, AW, 2012/07/08
- [O] Extending org-koma-letter.el (was: HowTo: Letter template method using yasnippet), Rasmus, 2012/07/27
- Re: [O] Extending org-koma-letter.el, Nicolas Goaziou, 2012/07/29
- Re: [O] Extending org-koma-letter.el,
Luis Anaya <=
Re: [O] Org/LaTeX set-up for business letters?, Luis Anaya, 2012/07/06