Am 02.07.2009 um 15:56 schrieb Wolfgang Schuster:
I'm only writing letters in one language at a time, so will others. It was only a suggestion to take the key as label as a fallback - mostly it will be easy enough, and you don't need to define a proper label.
I have to check if this can be done (in a good way) and if I like this fallback method.
I had now time to think about and my answer is I won't support keys in \setupletter as label names because it did not produce the output I expect but what I can do is to modify the \setlettervalue command in the following way. \usemodule[letter] \def\setlettervalue#1{\dodoubleempty\dosetlettervalue[#1]} \unprotected\def\dosetlettervalue[#1][#2]#3% {\ifsecondargument \setuplabeltext[\currentmainlanguage][letter:#1=#2]% %\else % \setuplabeltext[\currentmainlanguage][letter:#1=#1]% \fi \setvalue{\????ld#1}{#3}} % \setlettervalue{key}{value} % \setlettervalue{key}[labeltext]{value} \starttext \setupletterstyle[reference][list={durchwahl,raum,misc,date}] \setlettervalue{durchwahl}[Durchwahl]{0000/123456789} \setlettervalue{raum}{1. Stock Zimmer 21} \setlettervalue{misc}[]{another entry} \startletter \input ward \stopletter \stoptext Wolfgang