emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Composing letters using Org mode and the LaTeX isodoc class
Date: Tue, 07 Sep 2010 21:45:07 +0200	[thread overview]
Message-ID: <87r5h5gwxo.fsf@mundaneum.com> (raw)
In-Reply-To: 81wrqxv1bq.fsf@gmail.com

Hi Jambunathan,

Jambunathan K wrote:
> Tried out isodoc. I like it.

Delighted to hear so.

I had tried different packages as well, before, but was always (very)
disappointed by the complexity, as soon as what you want is not what they
made.

With isodoc, everything is quite easily doable, and quite intuitive...


> I only wish I had started out with this package rather than scrlttr2.
>
> The good thing about isodoc is that the default style of 'A simple letter'
> in the document is more closer to the convention that is used here in
> India. Furthermore package seems 'very recent'.

Yep, last update a couple of months ago.


> I will have isodoc in mind when I get to work on a patch for letter writing
> support in orgmode. The essentials for letter writing support seem to be the
> same - setup key, value pairs (with key being a headline and value being the
> body) and emit them in a way that is expected by the underlying package.
>
> I would like to hear why you chose to go down the tangling path.

For two reasons:

- because I had not the hope of being able to configure the LaTeX export class
  and/or code in the right way,

- because, in a way, that's quite logical. Here and there, you define stuff.
  At the end, you just arrange them all in a way that fits well the LaTeX
  class demands.

Though, it's not just copying, the way Babel actually does with snippets of
code "à la Noweb". Hence, I really need at least the body to be in real Org
plain code, and be automatically converted to LaTeX, so that I can make use of
the tables, and all the Org markup.

I'm sure Babel is able of that, mixing raw code with convertable code. Just
needs more thinking.


> Personally I feel any sort of markup (this includes babel directives)
> distracting.

They're much less distracting as soon as they're properly highlighted.
Question of color-theme. I can provide you (all) with mine, if you're
interested.


> Btw, your approach set me thinking. I think there is a strong case for
> making headlines act as babel srcnames with their body providing content for
> noweb expansion [3]. This behaviour could be controlled by a buffer local
> variable.

That would definitely make sense to me, at least for this particular need.
But, maybe, there is already a parallel way to do such a thing...


> Wondering how babel treats srcnames? Can there be spaces? Is upper and lower
> cases treated one and the same ...

Being a (tiny) part-time Babel user, I wish I could easily answer such
questions. But, as I always try to take as less risks as possible, these are
things I never really looked at.


> Footnotes: 
> [3] It is likely the body of the headline might be run through a custom
>     renderer (say latex, html or even emac's own comment-region) before
>     finding it's way in to the document generated by tangle.
>
> Thanks once again for referring me to isodoc.

"When someone shares something of value with you and you benefit from it, you
have a moral obligation to share it with others." -- Chinese proverb

I've been as well referred to this excellent package by a friend. Hence, I do
what I have to do...

I now would be pleased to hear what others think, and eventually can do along
this line!

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-09-07 19:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-07 11:36 Composing letters using Org mode and the LaTeX isodoc class Sébastien Vauban
2010-09-07 18:46 ` Jambunathan K
2010-09-07 19:45   ` Sébastien Vauban [this message]
2010-09-08  0:56     ` Eric Schulte
2010-09-08  1:52       ` Thomas S. Dye
2010-09-08  4:39       ` Jambunathan K
2010-09-08 11:48         ` Sébastien Vauban
2010-09-08 15:15         ` Eric Schulte
2010-09-08 16:22           ` [BABEL][PROPOSAL] headlines as executable srcnames Jambunathan K
2010-09-08 21:30             ` Sébastien Vauban
2010-09-09 15:38             ` Jambunathan K
2010-09-09 16:30               ` Jambunathan K
2010-09-10  4:51               ` Jambunathan K
2010-09-20  4:03                 ` Eric Schulte
2010-09-20  7:39                   ` Jambunathan K
2010-09-20  4:15             ` Eric Schulte
2010-09-08 11:45       ` Composing letters using Org mode and the LaTeX isodoc class Sébastien Vauban
2010-09-08 15:38         ` Eric Schulte
2010-09-08 21:26           ` Sébastien Vauban
2010-09-10  8:51             ` Eric S Fraga
2010-09-10  9:13               ` Sébastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5h5gwxo.fsf@mundaneum.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).