On Thursday 01 February 2007 01:11, Aditya Mahajan wrote: > 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 > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context
I use letterformat.tex from _The TeXBook_. . Why not? The tricky part is setting up the standard letterheads. Writing the letter then becomes very simple. Here is a live example with some hiding of the real identity: \magnification=\magstep1 \input letterformat \dogletterhead \address Mr.Nobody 17 Nowhere Street Winchester, VA 22601 \body <put body text here>. \closing Best wishes, John \& Peggy Culleton \annotations encl: Pedigree, two copies of contract. \endletter %\makelabel \bye ----------------------------------- With very minor modifications, such as substituting \noheaderandfooterlines for \nopagenumbers and a similar replacement for \headline etc. in letterformat.tex it could be made to run under Context too. I just ran the above example in Context. I use whatever tool gets the job done. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context