emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Composing letters using Org mode and the LaTeX isodoc clas


From: Sébastien Vauban
Subject: [Orgmode] Re: Composing letters using Org mode and the LaTeX isodoc class
Date: Wed, 08 Sep 2010 13:48:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Jambunathan,

Jambunathan K wrote:
> Honoring spaces would be a pre-requisite if one were to allow org's
> headlines as implicit srcnames.

Or you would have to impose titles without spaces, which is acceptable as well
for such a usage...


> If babel supports headlines as srcnames, without requiring additional
> begin/end directives one could just write,
>
> * org-list
>   - one
>   - two
>   - three
>
> #+begin_src emacs-lisp :tangle yes :noweb yes
>   "
>   <<org-list(:fmt latex)>>
>   "
> #+end_src
>
> and achieve similar results.
>
> Based on my earlier efforts at letter-writing, I have the following
> observation.
>
> Letters have a To address and they could be pulled from bbdb. So one
> could say,
>
> * To
>   [[a bbdb link]]
>
>
> #+begin_src emacs-lisp :tangle yes :noweb yes
>   "
>   <<To(:fmt custom)>>
>   "
> #+end_src
>
> The string custom could be a elisp form or a function pointer that takes
> the body of the headline as an argument and does the needful.
>
> Specifically in the above example, 'custom' handler would visit the bbdb
> record, fetch the address and return the formatted address (with line
> breaks etc etc) as the noweb expansion. [Custom handler would be
> implemented by the user himself]
>
> Any thoughts on how this could be achieved ...

That's going (really) far... But would that be do-able, waaoow!

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]