ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: problems with letter module
Date: Wed, 2 Jan 2013 10:42:31 +0100	[thread overview]
Message-ID: <FCE98DE3-9C6D-40E4-8AD1-DF671002E79F@gmail.com> (raw)
In-Reply-To: <50E40924.8831.505CFF@wwl.musensturm.de>


Am 02.01.2013 um 10:17 schrieb "Wolfgang Werners-Lucchini" <wwl@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	other threads:[~2013-01-02  9:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-02  9:17 Wolfgang Werners-Lucchini
2013-01-02  9:42 ` Wolfgang Schuster [this message]
2018-07-20  5:17 Problems " Lutz Haseloff
2018-07-20  7:17 ` Henri Menke
2018-07-20  8:20   ` Lutz Haseloff

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=FCE98DE3-9C6D-40E4-8AD1-DF671002E79F@gmail.com \
    --to=wolfgang.schuster@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).