From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51569 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: letter/correspondence module Date: Thu, 2 Jul 2009 15:56:11 +0200 Message-ID: <6E2A4AA4-7E44-4166-978C-458DBAC50500@gmail.com> References: <247A75D9-1059-45B9-8BA8-B3E59481A994@fiee.net> <300AF404-5779-4D67-A315-C087C267DF91@fiee.net> <0884C8C4-C96C-4F5E-BD2D-62B6662EDB6D@gmail.com> <4B212E1C-26A3-4656-993C-B1A2E12234ED@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246543029 19712 80.91.229.12 (2 Jul 2009 13:57:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2009 13:57:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 02 15:57:02 2009 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 1MMMmc-0007ap-9e for gctc-ntg-context-518@m.gmane.org; Thu, 02 Jul 2009 15:57:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0AE561FB7F; Thu, 2 Jul 2009 15:57:01 +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 15082-08; Thu, 2 Jul 2009 15:56:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE6B21FB74; Thu, 2 Jul 2009 15:56:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 88EA91FB74 for ; Thu, 2 Jul 2009 15:56:25 +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 23471-04-2 for ; Thu, 2 Jul 2009 15:56:17 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 166061FB71 for ; Thu, 2 Jul 2009 15:56:17 +0200 (CEST) Original-Received: from mail-bw0-f217.google.com (mail-bw0-f217.google.com [209.85.218.217]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n62DuF7k022913 for ; Thu, 2 Jul 2009 15:56:16 +0200 Original-Received: by bwz17 with SMTP id 17so477037bwz.2 for ; Thu, 02 Jul 2009 06:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=a020pryOQuGU02KTM6JcnFC5jBrhbNjLPzP61VDCABw=; b=cdzcUZv1oIS+lJxs52VV8Ofl6yibahxvmP9/hR7tr8uy05pyoP8XdFJAwi2Un8IGNh cw00TIXVSUuCw0QSa7IyxxZC66uy/fWtAi4JAnRYytt0v/dKpRH5V8h8l+ibyu7lEXbv qD4Ksq2oKVCS+5Xw0H26mWklNhZAfjEVkVXK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=Kt7nMlo3kGYlObH+tje8cG+iQgHozO32PJipb2dmgpYixHCuYvGRISVhRrTHQR/xps KLLKk/Jht0g0pT7Ck2IeqTLfxFbzZLUA1SZ+P6JHFjR4lAwk4hZSZ85xECxAY/6pqRG8 /SBirOkY+Hjfe5MHOiEodvbT9p0S3gPDorY0c= Original-Received: by 10.204.98.141 with SMTP id q13mr50181bkn.188.1246542975190; Thu, 02 Jul 2009 06:56:15 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5B295705.dip.t-dialin.net [91.41.87.5]) by mx.google.com with ESMTPS id 19sm4166341fkr.55.2009.07.02.06.56.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 06:56:13 -0700 (PDT) In-Reply-To: <4B212E1C-26A3-4656-993C-B1A2E12234ED@fiee.net> X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.217; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 254497034 - 90598f27871e - 20090702 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:51569 Archived-At: Am 01.07.2009 um 22:33 schrieb Henning Hraban Ramm: > Am 2009-06-29 um 18:38 schrieb Wolfgang Schuster: >>> I don't think "line" is documented in your manual. >> You're right but it's so boring to write documentation. > > ;-) > You don't need to write it step by step like in your manual, but a = > reference of options would be really helpful! The step by step method is only used to know how to write a simple = letter, I won't use this to explain the option etc., what I want there are = examples for predefined and user created element alternatives. >>> I wrote: You need need to define all possible labels yourself, as = >>> long it's comprehensible how to add your own. I will add a section for this but if a label is useful I want to add = it to the core. > I'm only writing letters in one language at a time, so will others. > It was only a suggestion to take the key as label as a fallback - = > mostly it will be easy enough, and you don't need to define a proper = > label. I have to check if this can be done (in a good way) and if I like this = fallback method. > So, here we are: > I'd like to change the reference table of alternative "e" a little = > bit to fit my logo: > > voffset=3D130mm, % absolute coordinates > hoffset=3D40mm, > width=3D20mm, % width of label > > It doesn't work in \setupletterstyle[reference][]. > Where must I put it? > Or should I define my own alternative, like yours in default.nli ? The alternatives a=96e are not so easy to move to the place you prefer = because the start of the bodytext depends on the position (I try to keep = always two lines between them) but you can copy the layout of one element to another = one with \copyletterlement[][][] which looks for you \copyletterelement[reference][hraban][e] You can now place the reference line with \setupletterstyle [reference] [hoffset=3D..., voffset=3D...] and the width of the elements in the reference line with \setupletter [phone,street,...] [width=3D20mm] > BTW: I'm using your simplefonts module for the first time in the = > same project - works great, thank you! > (I had to refresh my font database several times, until LuaTeX could = > find all faces of my font family, but that's not your module's fault.) mtxrun --script fonts --list --pattern=3D... helps to find the right name. BTW: You can another example for the use of the simplefonts module in the source of the correspondence manual (correspondence- = environment.tex). Wolfgang ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________