From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95157 Path: news.gmane.org!not-for-mail From: Jean-Francois Moulin Newsgroups: gmane.comp.tex.context Subject: defining new entries for reference in letter module Date: Mon, 13 Jun 2016 16:39:03 +0200 Message-ID: <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="===============4720569700886928772==" X-Trace: ger.gmane.org 1465887936 27395 80.91.229.3 (14 Jun 2016 07:05:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2016 07:05:36 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 14 09:05:24 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 1bCiPS-00077a-Do for gctc-ntg-context-518@m.gmane.org; Tue, 14 Jun 2016 09:05:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 93D68F4A5; Tue, 14 Jun 2016 09:04:46 +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 sIQZOMX6-J0w; Tue, 14 Jun 2016 09:04:45 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id F2B32F4A6; Tue, 14 Jun 2016 09:04:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D03B4ECCA for ; Mon, 13 Jun 2016 16:39:15 +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 HsteTJXDEMfs for ; Mon, 13 Jun 2016 16:39:15 +0200 (CEST) Original-Received: from Iron2.hzg.de (iron2.hzg.de [141.4.217.11]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 03E09ECC4 for ; Mon, 13 Jun 2016 16:39:04 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.26,466,1459807200"; d="asc'?scan'208";a="2355577" Original-Received: from notes1.hzg.de (HELO webmail.hzg.de) ([141.4.1.230]) by Iron4.hzg.de with ESMTP; 13 Jun 2016 16:39:05 +0200 Original-Received: from [172.25.46.195] ([141.4.217.220]) by webmail.hzg.de with ESMTP id 2016061316390402-52988 ; Mon, 13 Jun 2016 16:39:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 X-Mailman-Approved-At: Tue, 14 Jun 2016 09:04:44 +0200 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:95157 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============4720569700886928772== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hRWiGU1fUmj7gnfUfc3ODlnovctsfnSFD" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hRWiGU1fUmj7gnfUfc3ODlnovctsfnSFD Content-Type: multipart/mixed; boundary="jOhAp0iGQbxwjwJ6Lupg9cqbRDBTO4Xso" From: Jean-Francois Moulin To: ntg-context@ntg.nl Message-ID: <575EC587.9000002@hzg.de> Subject: defining new entries for reference in letter module --jOhAp0iGQbxwjwJ6Lupg9cqbRDBTO4Xso Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=3D{12345} (or foo=3D{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. This is what I use: \setupletter [phone=3D{1234567890}, mobile=3D{123456}, foo=3D{bar}, email=3D{taratata@toto.xi}] \setupletterlayer[reference][list=3D{phone,mobile,foo,email}] Thanks a lot for any hint JFM --jOhAp0iGQbxwjwJ6Lupg9cqbRDBTO4Xso-- --hRWiGU1fUmj7gnfUfc3ODlnovctsfnSFD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAldexYcACgkQrkw4AhvOdEVsWgCeLXchV0e9c71cTD2QvANl9/Zr H+QAmQGyQvZwa15IbDPtSygCrjKD1vSU =4U9P -----END PGP SIGNATURE----- --hRWiGU1fUmj7gnfUfc3ODlnovctsfnSFD-- --===============4720569700886928772== 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= --===============4720569700886928772==--