From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59033 Path: news.gmane.org!not-for-mail From: Piotr Kopszak Newsgroups: gmane.comp.tex.context Subject: Re: simple style customization in t-letter Date: Mon, 24 May 2010 12:02:36 +0200 Message-ID: References: <4BF66C1F.80204@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274695377 6097 80.91.229.12 (24 May 2010 10:02:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 May 2010 10:02:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 24 12:02:56 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OGUUp-0004OA-1H for gctc-ntg-context-518@m.gmane.org; Mon, 24 May 2010 12:02:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8B94EC9C71; Mon, 24 May 2010 12:02:53 +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 sfV7nJzQbwuW; Mon, 24 May 2010 12:02:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DD02AC9C73; Mon, 24 May 2010 12:02:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63C64C9C73 for ; Mon, 24 May 2010 12:02:49 +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 40xLsNlxzdFk for ; Mon, 24 May 2010 12:02:37 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by balder.ntg.nl (Postfix) with ESMTP id 08F19C9C71 for ; Mon, 24 May 2010 12:02:36 +0200 (CEST) Original-Received: by fxm11 with SMTP id 11so1587175fxm.14 for ; Mon, 24 May 2010 03:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=bcu+AZ7fh0el2OIq3pCArd4Ll9siL/opPlaeeYuZkoQ=; b=kN+30b+KjyDYKitR88+Uiyar6rkGktudg3T4503Og9XdvYSqUcP3klXqD/rI6elfof sA6SSQvLTsjKKjDQX0aYwrAHeY0/qILJvkp4pNo9oZY8Z7hZGuUkCNA/zgcu1s0TjWDz k9TaxofWCKUjod0n8APjJz4mGI6FkHuSlFrQg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=HcYCML8h68AvseaBjuCNSSgWuLAWh6aWs4f+yRErU8G5QBeVPkeFY4NfeM5GNv8z0E /mmU3tN4g4u5iJkxmJH/qsM275gvHKkgk5iIo4LhR7mkBaVCtounydPTno5zXtpdxqVa DXV1aOKbCSuNiQ/LSbhj6BCXIvbqB2mU5MBQY= Original-Received: by 10.239.191.133 with SMTP id b5mr497025hbi.173.1274695356379; Mon, 24 May 2010 03:02:36 -0700 (PDT) Original-Received: by 10.239.170.146 with HTTP; Mon, 24 May 2010 03:02:36 -0700 (PDT) In-Reply-To: <4BF66C1F.80204@googlemail.com> 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:59033 Archived-At: Works great! Will have to find out one day how ;) Piotr 2010/5/21 Wolfgang Schuster : > Am 21.05.10 10:56, schrieb Piotr Kopszak: >> >> I'm probably too dumb to figure that on my own, at least now. How one >> can change default style to move the reference line including date to >> the top of the letter page? > > > You have create your own reference line, to make life easier it's > possible to clone predefined layouts as done here. > > Just moving the predefined layouts is not possible because the start > of the first text line depends on the reference line. > > \usemodule[letter] > > %\defineletterelement[reference][top] > % =A0{\letterelement[reference][a]} > > \copyletterelement[reference][top][a] > > \setupletterstyle > =A0[reference] > =A0[alternative=3Dtop, > =A0 list=3D{phone,name,date}, > =A0 voffset=3D3cm] > > \setupletter > =A0[phone=3D{1234/56789}, > =A0 =A0name=3D{Ben Lee User}] > > \starttext > > \startletter > \input tufte > \stopletter > \stoptext > > Wolfgang > _________________________________________________________________________= __________ > 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: http://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > -- = http://okle.pl ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________