ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Letters in ConTeXt
Date: Thu, 1 Feb 2007 01:11:25 -0500 (EST)	[thread overview]
Message-ID: <alpine.WNT.0.82.0702010053290.1972@nqvgln> (raw)
In-Reply-To: <9315633B-30BA-4F29-A820-16470B48D396@extern.uio.no>

On Wed, 31 Jan 2007, Rolf Marvin Bøe Lindgren wrote:

> the one thing that stops my total conversion to ConTeXt is my lack of
> understanding of, er, context.  I've studied the manual
> "Corresponcence" which presupposes far better understanding of
> ConTeXt than I currently possess.  I imagine though that a useful
> short working example would help.
>
> anyone?

I do not use the m-letter module because it is too complicated for my 
needs. If you think about it, a letter is usually something fairly 
straight-forward. I have a personal p-letter.tex module which does 
something like

<setup layout>

<setup fonts>

<setup subject>

\setuppagenumbering[location={bottom,middle}]

\setupwhitespace[big]
\setupindenting[medium]
\setupblank[big]


Yes, that's it! In the letter, I manually write the typesetting 
commands in the letter

\starttext

\startlines
To,
Whoever ...
....
\stoplines

\blank[3*big]

\startlines
From,
Me ....
\stoplines

\blank[3*big]

Date: \currentdate

\blank[3*big]

\subject Whatever

Dear ...,

\setupindenting[yes,next]

My letter

in differnt paragraphs

\setupindeinting[no]

\blank[2*big]

\startlines
Your Sincerely
\blank[big]
Name...
\stoplines

\stoptext


This is fairly primitive, but I only need to write a formal letter 
once every blue moon, and this setup works for me. If you have more 
frequent need, then you may want more structure in the letters. If you 
can finalize how you want to input your letter, creating a personal 
module is not that hard with ConTeXt. I think that this is one of 
ConTeXt's strongest points. In LaTeX, you first find a package, then 
you see that the package does not do 100% of what you want, then you 
read the code of the package and try to figure out how to make it do 
what you want. With ConTeXt, once you know what you want, it is fairly 
straight forward to write your personal module to achieve that. But of 
course, ConTeXt needs more modules for things like journals and 
conferences which have specific layout requirements.

Aditya

  parent reply	other threads:[~2007-02-01  6:11 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31 12:29 Rolf Marvin Bøe Lindgren
2007-01-31 16:39 ` luigi scarso
2007-01-31 18:16   ` Rolf Marvin Bøe Lindgren
2007-01-31 19:13     ` Idris Samawi Hamid
2007-01-31 19:55       ` Idris Samawi Hamid
2007-01-31 20:08         ` David Rogers
2007-01-31 21:30           ` Rolf Marvin Bøe Lindgren
2007-01-31 21:50             ` David Rogers
2007-01-31 22:04               ` Idris Samawi Hamid
2007-01-31 22:21                 ` David Rogers
2007-01-31 22:57                   ` Idris Samawi Hamid
2007-01-31 20:14       ` Rolf Marvin Bøe Lindgren
2007-01-31 20:34         ` Idris Samawi Hamid
2007-01-31 22:35           ` John R. Culleton
2007-02-01  8:20     ` luigi scarso
2007-02-01  6:11 ` Aditya Mahajan [this message]
2007-02-01  9:41   ` Rolf Marvin Bøe Lindgren
2007-02-01 14:29   ` John R. Culleton
     [not found] <mailman.1.1170327601.26483.ntg-context@ntg.nl>
2007-02-01 17:25 ` Wolfgang Werners-Lucchini
2007-02-01 19:30   ` Idris Samawi Hamid
2007-02-01 21:40     ` Hans Hagen
2007-02-01 22:28       ` Rolf Marvin Bøe Lindgren
2007-02-02 15:10         ` Wolfgang Schuster
2007-02-03  2:10           ` Rolf Marvin Bøe Lindgren
2007-02-03  5:13             ` luigi scarso
2007-02-04 15:59             ` Rolf Marvin Bøe Lindgren
2007-02-07 21:40   ` Henning Hraban Ramm

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

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

  git send-email \
    --in-reply-to=alpine.WNT.0.82.0702010053290.1972@nqvgln \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /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.
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 NNTP newsgroup(s).