From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95158 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: defining new entries for reference in letter module Date: Tue, 14 Jun 2016 20:45:45 +0200 Message-ID: <576050D9.4080507@gmail.com> References: <575EC587.9000002@hzg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0174856655248036312==" X-Trace: ger.gmane.org 1465930001 27533 80.91.229.3 (14 Jun 2016 18:46:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2016 18:46:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 14 20:46:30 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bCtM5-0002O3-Tg for gctc-ntg-context-518@m.gmane.org; Tue, 14 Jun 2016 20:46:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 63AF6F2E2; Tue, 14 Jun 2016 20:46:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hDZL20M8cy3E; Tue, 14 Jun 2016 20:46:01 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 8510DF2F1; Tue, 14 Jun 2016 20:46:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 579DCF2E8 for ; Tue, 14 Jun 2016 20:46:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OM2-nb53xeYI for ; Tue, 14 Jun 2016 20:45:59 +0200 (CEST) Original-Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8B55FF2E2 for ; Tue, 14 Jun 2016 20:45:49 +0200 (CEST) Original-Received: by mail-wm0-f51.google.com with SMTP id m124so3623870wme.1 for ; Tue, 14 Jun 2016 11:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=YPDQ1Y4wzX/mCKgQfg4qcMLDcYZirgM1XjZjnD9hJfw=; b=aZTJZ/sAGrROTHJfASH0xsWUtsRb8UhXTwz6rCvH00/O38FQbvl+yF8tRZ/BeZTPci aDANIr3lxPfbvwbI+y/Y7vh1hbPH0u+6QikqRHZZXbdeBGVcFOwZxyleEiQLVic75AEl XH0E+ILNc+S1s6ADlOclgY5DDm6YOmVwy6GT7ixUncjqN8xdERMtTFILPWbUwDGfAlk3 6n9QCe1k/qwctfCnI04xFbUQ4VfQWLsvDJRahlcTQi8QpQJ1v08K9LIC98j5F6cn9XCd cTjqN/+DJIpOQrA1yfDCZ/Cy9bThbjUvSeteop8I9gmC7VJUZw0u0OS6op3m5pr3xcx4 8z8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=YPDQ1Y4wzX/mCKgQfg4qcMLDcYZirgM1XjZjnD9hJfw=; b=aWgQ3blGDi2fyiKbvacZOWDlPoxV5avFsKabR0A9wy0+CUeRI638ODJ/nsVbY03fkl ZQ96W0SzvyJDXVamiJFNOhNl7/lheUCLpfrkg6ngWiMhvWPNmyvHN7O0/4SFTPR050FO AsHAr7UcBXRPWpn75RKGSgojYHtlA32nLfKCFeoX31a8zOOjdedWdsVmnVXb5bAJj1Fi P337cGHmpCFxlU8xCktJHwnr8mVo64sg62GRavJkQgT0o5qZD3HOvtL1AwIrTDyALSi7 K489I1E9NDl1JPNBdElAlOPBnCVyDrAUXc8PuxNo9Zaqxx6gR8PI1LrUfraN7+F30wEI 3ytg== X-Gm-Message-State: ALyK8tL9cFfO4R/Azzc6rQKB6DE7k8VMYRtvpxo8rvlhP7SoNu/D2LbeB3scLgUXbyLK2A== X-Received: by 10.28.30.149 with SMTP id e143mr7518633wme.81.1465929949055; Tue, 14 Jun 2016 11:45:49 -0700 (PDT) Original-Received: from keima.localdomain (x2f21dcb.dyn.telefonica.de. [2.242.29.203]) by smtp.gmail.com with ESMTPSA id 124sm5493998wml.12.2016.06.14.11.45.48 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jun 2016 11:45:48 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <575EC587.9000002@hzg.de> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95158 Archived-At: This is a multi-part message in MIME format. --===============0174856655248036312== Content-Type: multipart/alternative; boundary="------------080801020606080803040005" This is a multi-part message in MIME format. --------------080801020606080803040005 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Jean-Francois Moulin > 13. Juni 2016 um 16:39 > Hi! > > I am trying to create a custom reference line with the letter module. > I would like for instance to display the typical phone and email fields > and additionaly eg a not yet existing field such as mobile={12345} (or > foo={bar}) > > At first I did not manage to have any field displayed at all but the use > of setupletterlayer as described in > https://mailman.ntg.nl/pipermail/ntg-context/2013/073560.html helped > (seems the manual from 2010 is no longer up to date...). Unfortunately > this writes the reference line with labels only for phone an email but > not for mobile nor foo, The value of the parameter is writen though, so > it seems I am half the way. You have to set a text for the new labels with \setuplettertext[en][mobile=Mobile,foo=Foobar]. Wolfgang --------------080801020606080803040005 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
13. Juni 2016 um 16:39
Hi!

I am trying to create a custom reference line with the letter module.
I would like for instance to display the typical phone and email fields
and additionaly eg a not yet existing field such as mobile={12345} (or
foo={bar})

At first I did not manage to have any field displayed at all but the use
of setupletterlayer as described in
https://mailman.ntg.nl/pipermail/ntg-context/2013/073560.html helped
(seems the manual from 2010 is no longer up to date...). Unfortunately
this writes the reference line with labels only for phone an email but
not for mobile nor foo, The value of the parameter is writen though, so
it seems I am half the way.
You have to set a text for the new labels with \setuplettertext[en][mobile=Mobile,foo=Foobar].

Wolfgang
--------------080801020606080803040005-- --===============0174856655248036312== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0174856655248036312==--