From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53361 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: Letter Module: backaddress Date: Fri, 9 Oct 2009 10:11:37 +0200 Message-ID: <5FFB8B58-3557-4DE5-BA55-A6FE0C2A8EC9@uni-koblenz.de> References: <8255EB6C-ADD9-4261-A8FC-85BE20531CDC@uni-koblenz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: multipart/mixed; boundary="===============0734152275==" X-Trace: ger.gmane.org 1255076184 28159 80.91.229.12 (9 Oct 2009 08:16:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2009 08:16:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 09 10:16:13 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MwAa2-0001JQ-EO for gctc-ntg-context-518@m.gmane.org; Fri, 09 Oct 2009 10:12:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50625C9A92; Fri, 9 Oct 2009 10:12:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sIK4CjO4PO5s; Fri, 9 Oct 2009 10:11:57 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 73DE3C9A63; Fri, 9 Oct 2009 10:11:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 722AEC9A63 for ; Fri, 9 Oct 2009 10:11:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id d91B+6jqdswQ for ; Fri, 9 Oct 2009 10:11:39 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by balder.ntg.nl (Postfix) with ESMTP id 05559C9A41 for ; Fri, 9 Oct 2009 10:11:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id DAA4D78A157A for ; Fri, 9 Oct 2009 10:11:38 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30048-02 for ; Fri, 9 Oct 2009 10:11:38 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (88-134-170-205-dynip.superkabel.de [88.134.170.205]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 27E9F78A1561 for ; Fri, 9 Oct 2009 10:11:38 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1076) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:53361 Archived-At: --===============0734152275== Content-Type: multipart/alternative; boundary=Apple-Mail-1--256692847 --Apple-Mail-1--256692847 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Am 09.10.2009 um 06:45 schrieb Wolfgang Schuster: > > When I think about the default setup this would make more sense: > > \setupletterstyle[backaddress=3Dno] > \setupletterstyle[backaddress][alternative=3Dauto] > > WHat do you think? I think it would be more intuitive that way. >> One more question: it would be nice if the rule under the back-=20 >> address would have the same length an the back-addres. Is there a =20 >> convenient way? I tried something with \textbackgrounds (example =20 >> below) but without success. > > \setupletterstyle > [backaddress] > [frame] > [width=3Dfit] Thank you! I tried to set width=3Dfit, but without the frame-option =85 =20= Now one have to care of the width (I think there is no maxwidth-option =20= for frame setups?), so I tried to set the backgroundaddress-style to =20 style=3D{\ifdim\framedwidth<85mm \tfx \else \tfxx \fi}. But the problem =20= is, that \framedwidth measures with the default font size =85 Or do you =20= know a solution? ;) Bit by bit I get an idea of how to customize the letter-module settings. Andreas= --Apple-Mail-1--256692847 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252

When I think = about the default setup this would make more = sense:

\setupletterstyle[backaddress=3Dno]
\setupletterstyle[bac= kaddress][alternative=3Dauto]

WHat do you think?

I think it would be more intuitive that way.
One more question: it would = be nice if the rule under the back-address would have the same length an = the back-addres. Is there a convenient way? I tried something with = \textbackgrounds (example below) but without = success.

\setupletterstyle
=  [backaddress]
 [frame]
=  [width=3Dfit]

Thank you! I = tried to set width=3Dfit, but without the frame-option =85 Now one have = to care of the width (I think there is no maxwidth-option for frame = setups?), so I tried to set the backgroundaddress-style = to style=3D{\ifdim\framedwidth<85mm \tfx \else \tfxx \fi}. But = the problem is, that \framedwidth measures with the default font size =85 = Or do you know a solution? ;)

Bit by bit I get = an idea of how to customize the letter-module = settings.

Andreas
= --Apple-Mail-1--256692847-- --===============0734152275== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0734152275==--