From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40408 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: Re: Discussion: correspondence with ConTeXt Date: Thu, 17 Apr 2008 08:12:29 -0600 Organization: Colorado State University Message-ID: References: <115224fb0804170113w70db8dadpb8528a18ef20c338@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208441656 28454 80.91.229.12 (17 Apr 2008 14:14:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2008 14:14:16 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 17 16:14:50 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JmUsl-0002s2-Vx for gctc-ntg-context-518@m.gmane.org; Thu, 17 Apr 2008 16:14:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 841481FD7D; Thu, 17 Apr 2008 16:13:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26353-02-8; Thu, 17 Apr 2008 16:13:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA3901FCAF; Thu, 17 Apr 2008 16:13:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E2461FCAF for ; Thu, 17 Apr 2008 16:13:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26368-02-8 for ; Thu, 17 Apr 2008 16:12:43 +0200 (CEST) Original-Received: from trueband.net (director.trueband.net [216.163.120.8]) by ronja.ntg.nl (Postfix) with SMTP id C7EC81FC9B for ; Thu, 17 Apr 2008 16:12:41 +0200 (CEST) Original-Received: (qmail 27751 invoked by uid 1006); 17 Apr 2008 14:12:40 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(0.1/100.0):. Processed in 0.389251 secs); 17 Apr 2008 14:12:40 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.19) by -v with SMTP; 17 Apr 2008 14:12:39 -0000 Original-Received: (qmail 16633 invoked from network); 17 Apr 2008 14:12:37 -0000 Original-Received: from unknown (HELO your-b27fb1c401) (75.104.84.217) by -v with SMTP; 17 Apr 2008 14:12:37 -0000 In-Reply-To: <115224fb0804170113w70db8dadpb8528a18ef20c338@mail.gmail.com> User-Agent: Opera Mail/9.24 (Win32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40408 Archived-At: Hi Wolfgang, On Thu, 17 Apr 2008 02:13:54 -0600, Wolfgang Schuster wrote: > Take the following minimal example > > \usemodule[letter] > > \setupletter > [sender] > [name={Mike Meiers}, > address={Mustergasse 12\\25694 Musterstadt}] > > \setupletter > [address] > [name={Hans Hansen}, > address={Zielweg 34\\78561 Tiny Town}] > > \starttext > > \startletter > [opening={Dear Hans,}] > > letter text > > \stopletter > > \stoptext You need a closing ("Sincerely,") and signature, and don't forget enough topspace to accommodate a company logo/letterhead :-) FWIW: Here is the basic structure of my setup (based on someone else's work, I forget his name): ================= \protect %\setuppapersize[A4][A4] \setuppapersize[letter][letter] \setuplayout[header=.5in, topspace=1.37in, backspace=1.5in, footer=0mm, %header=0in, %,width=middle, width=middle, lines=60, height=middle] % margins etc. \setupbodyfontenvironment[default][em=italic] \setuppagenumbering[state=stop] \long\def\addresser#1{\leavevmode\blank[1*line] \lbox{#1}} % Defines field for receiver's address and places it at right position. \long\def\addressee#1{\rbox{#1}} % Subject line, in bold face. \long\def\lettersubject#1{\blank[2*line]{\BF %Re: #1}} \long\def\letteropening#1{\blank[line]#1} % opening... \definestartstop [letter] [before={\blank[line]\setupwhitespace[medium]}, after={}] \long\def\letterclosing#1#2{\vbox{\blank[line]#1\blank[3*line]#2}} % and the closing formula \unprotect ================= Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________