Am 02.01.2013 um 10:17 schrieb "Wolfgang Werners-Lucchini" <w...@musensturm.de>:

> Hallo,
> 
> I have updated context and the letter module to
> ConTeXt  ver: 2012.12.06 22:36 MKIV  fmt: 2012.12.8  int: 
> english/english
> 
> Problem: My letters do not work anymore.
> 
> I have found that
> 
> \setlettervalue{tax}[Steuer]{xxx}
> 
> is one of the problems. I have to use \setupletter[tax=xxx] instead.
> I have to lock for then tax renaming.

I removed the \setlettervalue command because it was too LaTeX like.

To set values for the letter use the \setupletter command, e.g. 
\setupletter[name=…,phone=…] etc.

For the labels of these values you have to use the \setuplettertext command 
which has like \setuplabeltext a optional argument where you can set different 
text for certain languages, e.g. \setuplettertext[tax=Tax] or 
\setuplettertext[de][tex=Steuer].

> Now the letter is compiling, but it is completly broken.
> In the log I have found a lot of lines
> 
> setup           > error in line 20, namespace "553", instance 
> "letter", key "frame"
> setup           > error in line 58, namespace "539", instance 
> "letter", key "invoice"
> setup           > error in line 58, namespace "539", instance 
> "letter", key "date"
> setup           > error in line 58, namespace "539", instance 
> "letter", key "phone"
> setup           > error in line 58, namespace "539", instance 
> "letter", key "tax"
> 
> I have the impression, that there has a lot changed.

The old \setupletterstyle command was split in many different commands because 
it was too complicated and slow to make everything with one command.

> How can I fix this temporary? (I have to write my letter NOW!)

You can send a me a example off-list.

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
___________________________________________________________________________________

Reply via email to