Missing keys in reference line (letter module)
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--------
Am 08.06.2013 um 16:50 schrieb 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.
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
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
participants (2)
-
Florian Wobbe
-
Wolfgang Schuster