ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Florian Wobbe <Florian.Wobbe@awi.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Where is the documentation of the letter module
Date: Wed, 30 May 2012 01:30:43 +0200	[thread overview]
Message-ID: <7164ECF8-BC8B-4041-A307-6D5CADC17885@awi.de> (raw)
In-Reply-To: <1DA637AA-69EC-4B3D-9632-593A8509D6A8@gmail.com>

>> is there anyone else who knows where the current correspondence docu resides? I tried again to locate it but to no avail.
> 
> There is some guidance about what's new in these messages:
> 
> http://www.ntg.nl/pipermail/ntg-context/2012/064695.html
> 
> http://www.ntg.nl/pipermail/ntg-context/2012/065039.html

Michael, thanks a lot. These were in fact the missing links! With the help of the comments in the thread above and looking into the sources I was able to reproduce most of my old letter template. However, I'm struggling to get the enclosures into an itemized list. This used to work with the old letter module but now fails:

  \startletter[enclosure={A\\B\\C}, ...] --> encl: AcrlfBcrlfC

In http://www.ntg.nl/pipermail/ntg-context/2012/064721.html Wolfgang proposed \startletter[enclosure={list:one,two,three}, ...] to get an itemized list. But this does not seem to be implemented yet. How would I get this right?


Wolfgang, I believe I found a bug that introduces some extra space in the backaddress: "fromname, <extra space>, fromaddress". Here is the fix:

--- a/texmf-modules/tex/context/third/letter/base/s-cor-01.mkvi
+++ b/texmf-modules/tex/context/third/letter/base/s-cor-01.mkvi
@@ -297,7 +297,7 @@
 \defineletterelement[\v!layer][\v!backaddress][\s!default]
   {\def\\{\correspondencelayerparameter\c!separator}%
    \correspondenceparameter\c!fromname
-   \doifsomething{\correspondenceparameter\c!fromaddress}\\
+   \doifsomething{\correspondenceparameter\c!fromaddress}\\%
    \correspondenceparameter\c!fromaddress}
 
 \defineletterelement[\v!layer][\v!backaddress][\v!auto]

Cheers,
Florian
___________________________________________________________________________________
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:[~2012-05-29 23:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.149.1337897607.4523.ntg-context@ntg.nl>
2012-05-25  4:15 ` Michael Green
2012-05-29 23:30   ` Florian Wobbe [this message]
2012-05-30  8:29     ` Wolfgang Schuster
2012-05-30  9:58       ` Florian Wobbe
2012-05-30 10:45         ` Wolfgang Schuster
2012-05-30 11:10           ` Florian Wobbe
2012-05-22 10:03 Florian Wobbe
2012-05-24 21:43 ` Florian Wobbe

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=7164ECF8-BC8B-4041-A307-6D5CADC17885@awi.de \
    --to=florian.wobbe@awi.de \
    --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).