[NTG-context] Missing keys in reference line (letter module)

2013-06-08 Thread Florian Wobbe
Hi,

the keys name and phone are not included in the reference line using the 
minimal example from the correspondence manual below. The reference line just 
contains the date. Also changing the alternative from a to b has no effect. 
What am I missing?

I upgraded to the latest beta and the header of s-cor-01.mkvi states version 
2013.01.14.

Cheers,
Florian

8---
\usemodule[letter]

\setupletter
  [name=Willi Maier,
   phone=01234-56789,
   fax=3456-9853,
   date=\currentdate]

\setupletter
  [fromname={Max Mustermann},
   fromaddress={Musterstraße 12\\12345 Musterstadt}]

\setupletter
  [toname={Hans Hansen},
   toaddress={Zielgasse 23\\34789 New Mustertown}]

\setupletter
  [subject={Grund des Anschreibens},
   opening={Sehr geehrte Damen und Herren,},
   closing={Mit freundlichen Grüßen}]

\setupletter
  [alternative=a,
   list={name,phone,date}]

\starttext
\startletter
\input knuth\par
\stopletter
\stoptext
---8

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Missing keys in reference line (letter module)

2013-06-08 Thread Wolfgang Schuster

Am 08.06.2013 um 16:50 schrieb Florian Wobbe florian.wo...@awi.de:

 Hi,
 
 the keys name and phone are not included in the reference line using the 
 minimal example from the correspondence manual below. The reference line just 
 contains the date. Also changing the alternative from a to b has no 
 effect. What am I missing?

You have to pass the settings to \setupletterlayer[reference][…] (see below). 
In previous
versions of the module I provided \setupletter as alternative way to set values 
for the list
but after the last rewrite I removed it.

 I upgraded to the latest beta and the header of s-cor-01.mkvi states version 
 2013.01.14.
 
 Cheers,
 Florian
 
 8---
 \usemodule[letter]
 
 \setupletter
  [name=Willi Maier,
   phone=01234-56789,
   fax=3456-9853,
   date=\currentdate]
 
 \setupletter
  [fromname={Max Mustermann},
   fromaddress={Musterstraße 12\\12345 Musterstadt}]
 
 \setupletter
  [toname={Hans Hansen},
   toaddress={Zielgasse 23\\34789 New Mustertown}]
 
 \setupletter
  [subject={Grund des Anschreibens},
   opening={Sehr geehrte Damen und Herren,},
   closing={Mit freundlichen Grüßen}]
 
 \setupletter
  [alternative=a,
   list={name,phone,date}]

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

BTW: When your document consists of only a single letter you can omit the 
\starttext/\stoptext commands.

Wolfgang
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Missing keys in reference line (letter module)

2013-06-08 Thread Florian Wobbe
 Hi,
 
 the keys name and phone are not included in the reference line using the 
 minimal example from the correspondence manual below. The reference line 
 just contains the date. Also changing the alternative from a to b has no 
 effect. What am I missing?
 
 You have to pass the settings to \setupletterlayer[reference][…] (see below). 
 In previous
 versions of the module I provided \setupletter as alternative way to set 
 values for the list
 but after the last rewrite I removed it.
 
 [...]
 BTW: When your document consists of only a single letter you can omit the 
 \starttext/\stoptext commands.
 
 Wolfgang

Great, it works again - thanks a lot for both hints!
Florian
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___