Am 21.01.2009 um 18:11 schrieb Cecil Westerhof:
Goes a long way. With two parameters it works. When using 'unknown' or
'dummy', I get \wait= messages. When giving enter, the document is
still generated. But that is not a real problem. But when using:
\letterclosing
or
\letterclosing{}
I get the same wait= message and there is no letterclosing generated
When the first parameter is filled, but not with a recognized value,
then the second parameter should be filled. If not, the
compilation of
the file should generate an error.
I did only what you wrote.
IF you don't want a error on the terminal replace
unknown=>{\errorisfataltrue\waitonfatalerror}]}%
with
unknown=>{\dodoletterclosing{Hoogachtend,}{Cecil Westerhof}}]}%
or something else.
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________