From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101099 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Menzel Newsgroups: gmane.comp.tex.context Subject: letter: How to customize reference line? Date: Sun, 24 Jun 2018 15:40:58 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------E921048FBABCDE02E8B52ABE" X-Trace: blaine.gmane.org 1529933186 6214 195.159.176.226 (25 Jun 2018 13:26:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2018 13:26:26 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 25 15:26:22 2018 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXRVe-0001Vv-A5 for gctc-ntg-context-518@m.gmane.org; Mon, 25 Jun 2018 15:26:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BADD83A231; Mon, 25 Jun 2018 15:22:49 +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 rd89jbRtjU4c; Mon, 25 Jun 2018 15:22:48 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id EB36B3A22D; Mon, 25 Jun 2018 15:22:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0285E39A3D for ; Sun, 24 Jun 2018 15:41:10 +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 EEE008oU2K_H for ; Sun, 24 Jun 2018 15:41:09 +0200 (CEST) Original-Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4631439A37 for ; Sun, 24 Jun 2018 15:40:59 +0200 (CEST) Original-Received: from [10.0.178.91] (unknown [62.214.191.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id CA2FF2012BA068 for ; Sun, 24 Jun 2018 15:40:58 +0200 (CEST) Content-Language: en-US X-Mailman-Approved-At: Mon, 25 Jun 2018 15:22:47 +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:101099 Archived-At: This is a multi-part message in MIME format. --------------E921048FBABCDE02E8B52ABE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Dear ConTeXt folks, I am trying to customize the reference line in a letter. ``` $ context --version mtx-context | ConTeXt Process Management 1.01 mtx-context | mtx-context | main context file: /usr/share/texmf/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2017.05.15 21:48 ``` The example from Wolfgang’s `correspondence.pdf` [1] doesn’t work for me. ``` \setupletter [name={Joe User}, date=\currentdate] \setupletter [list={name,date}] ``` Only the date is shown in the reference line. The solution from chapter 9 also does not work. Still only the date is shown. ``` \setupletter [name={Joe User}, date=\currentdate] \setupletterstyle[reference][list={name,date}] ``` Do I need to create a new customized reference line to add other fields next to the date to the reference line? Kind regards, Paul [1]: https://bitbucket.org/wolfs/correspondence/downloads/ --------------E921048FBABCDE02E8B52ABE Content-Type: text/x-tex; name="brief.tex" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="brief.tex" \usemodule[letter][extension=optimize] \mainlanguage[de] \setupletterstyle [option] [whitespace=line, optimize=yes, ] \setupletter [toname={Vodafone Kabel Deutschland GmbH}, toaddress={Kundenservice\\99116 Erfurt}] \setupletter [fromname={Hanna Musterfrau}, fromaddress={Irgendwostr. 18\\99999 Nirgendwo}] \setupletter [name={Joe User}, date=\currentdate] \setupletterstyle[reference][list={name,date}] \starttext \setupletter [subject={Reason}, opening={Sehr geehrte Damen und Herren,}, closing={Freundliche Grüße}, signature={Paul Menzel}] \startletter\relax \dorecurse{4}{\input ward\par} \stopletter \stoptext --------------E921048FBABCDE02E8B52ABE Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --------------E921048FBABCDE02E8B52ABE--