From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: letter: How to customize reference line?
Date: Mon, 25 Jun 2018 15:35:50 +0200 [thread overview]
Message-ID: <5B30EFB6.4070509@gmail.com> (raw)
In-Reply-To: <c2b36885-f097-9173-4fa0-3ee1a92aa313@molgen.mpg.de>
[-- Attachment #1.1: Type: text/plain, Size: 2001 bytes --]
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 <mailto:pmenzel+ntg-context@molgen.mpg.de>
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3796 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2018-06-25 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-24 13:40 Paul Menzel
2018-06-25 13:35 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5B30EFB6.4070509@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).