From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101100 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: letter: How to customize reference line? Date: Mon, 25 Jun 2018 15:35:50 +0200 Message-ID: <5B30EFB6.4070509@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3025158164617812847==" X-Trace: blaine.gmane.org 1529933667 10540 195.159.176.226 (25 Jun 2018 13:34:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2018 13:34:27 +0000 (UTC) User-Agent: Postbox 5.0.25 (Macintosh/20180328) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 25 15:34:23 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 1fXRdK-0002Nz-3H for gctc-ntg-context-518@m.gmane.org; Mon, 25 Jun 2018 15:34:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B6EF83A2EA; Mon, 25 Jun 2018 15:36:05 +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 JhSD6cQWoczr; Mon, 25 Jun 2018 15:36:05 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 13D863A2E6; Mon, 25 Jun 2018 15:36:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C92AD3A2EA for ; Mon, 25 Jun 2018 15:36: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 DBXQAE5C90IL for ; Mon, 25 Jun 2018 15:36:03 +0200 (CEST) Original-Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (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 0FAC53A2C1 for ; Mon, 25 Jun 2018 15:35:53 +0200 (CEST) Original-Received: by mail-wm0-f46.google.com with SMTP id z137-v6so4336014wmc.0 for ; Mon, 25 Jun 2018 06:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=r5MRwt6M9D7AXqidzubT0bx4Mvf03BOutjxmpBXW2GY=; b=J+7sTOXLlEmLkoY1HeT4Kpf8dGgOV5yitfJZz7/gid4hmRLy4e2B0y76MGSDoJTpIw RKnSbFARb9yuK/6PP4mUaQ0Lz0FkweP1gM7Add0L4jiTJ81B4yht0wRWmYx4njQQKhKt t+DcapkkLPH5HtRMLWwiimDxYutgMp5pUXR0C/jNrbqj8HceW5VnZXJkNvUIJqNnEej6 g2qK6wCTRmhyeZiT8kyJM9DhwRIKnmdi0jmDDjJaifRG19rlgzjKq/PD/CULH5y2gcSp +RxjL3utiDGDJ8EvkT/Ooj0h9gd8YoQVt3EN6wC/eQnQRfHja2z7z52AC5tUsyGMjOLj YPJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=r5MRwt6M9D7AXqidzubT0bx4Mvf03BOutjxmpBXW2GY=; b=d7HgKYLlMTmAmHpdt90DUuQ1QL751CF2Q5Qj3Lfkx75vR+3F8llhGxddAv3cN+XyAK jMfJj7rzqA/PTNxVxhn8+ECxpkCefl/CDPQlnXUxeLIjyDZwareUa2dmMKKJvL/n4hbn 5DI9xMJHRsDTOEqZoI7gvBl+0qhSYc3m7gQ7eAvmCSOBJ4pSGbzWvPw8yIE8t97Q7oBt ivmNILv6EMjDafJJTdYcjiXSlJugXXEjwdPed5OTA/xGl1UR7MIhUHWHvIRPUWAPlsZv ucMMx0kcDCEoceB34HTTHIfoObxnr1bQQvrRAL4KUgFYd9HAZypbF+H1dyZ6mYql6K/r 45Iw== X-Gm-Message-State: APt69E1eeYVGCFjfmiXSe9VaLqySmhzYc8SoVCe0WYJHPXdZBS0ArTSQ FQfSd78RfRM510Fsvlvfo8sJr2Cg X-Google-Smtp-Source: ADUXVKL1m9AoZnkbT4Uz5tetxARkLWLEvbsFS86+nDBoZF2v0jlABhqsgICZK5WVWvZ1Nf3rPLRAXQ== X-Received: by 2002:a1c:944f:: with SMTP id w76-v6mr988151wmd.105.1529933752575; Mon, 25 Jun 2018 06:35:52 -0700 (PDT) Original-Received: from [192.168.1.12] (x5ce30e85.dyn.telefonica.de. [92.227.14.133]) by smtp.gmail.com with ESMTPSA id v14-v6sm15603685wro.33.2018.06.25.06.35.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 06:35:52 -0700 (PDT) In-Reply-To: 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:101100 Archived-At: This is a multi-part message in MIME format. --===============3025158164617812847== Content-Type: multipart/alternative; boundary="------------000802070506090506010804" This is a multi-part message in MIME format. --------------000802070506090506010804 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Paul, you have to use the \setupletterlayer command to change the entries in the reference line. \usemodule[letter] \setupletter [name={Joe User}] \setupletterlayer [reference] [list={name,date}] \startletter ... \stopletter If you don’t get a title for your entry you can add it with the \setuplettertext command. \setuplettertext[de][mobile=Mobilfunknummer] Wolfgang > Paul Menzel > 24. Juni 2018 um 15:40 > 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/ > ___________________________________________________________________________________ > 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 : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------000802070506090506010804 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Paul,

you have to use the \setupletterlayer command to change the entries in the reference line.

\usemodule[letter]

\setupletter
  [name={Joe User}]

\setupletterlayer
  [reference]
  [list={name,date}]

\startletter
...
\stopletter


If you don’t get a title for your entry you can add it with the \setuplettertext command.

\setuplettertext[de][mobile=Mobilfunknummer]


Wolfgang

24. Juni 2018 um 15:40
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/
___________________________________________________________________________________
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 : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________

--------------000802070506090506010804-- --===============3025158164617812847== 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 --===============3025158164617812847==--