ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: serial letters with letter module
Date: Thu, 10 Feb 2011 20:16:46 +0100	[thread overview]
Message-ID: <64CEE619-3939-4D8D-BAA9-F01CBA18E27B@gmail.com> (raw)
In-Reply-To: <51BDD856-6FD8-411D-9054-8CD7E9F476A8@hccnet.nl>


Am 10.02.2011 um 10:14 schrieb R. Ermers, Midden Oosten Perspectief:

> Dear All,
> 
> I have been using Hans' old correspondence module with an xml - rng database as documented for a number of years.
> 
> I now want to switch to Wolfgang's letter module, but do not know how to connect it to the xml database. For example, commands like:
> 
> \XMLprocesscontacts[./../../adressen-xml/adressen.xml]
> 
> \setvariables
> [letter:data]
> [address=\XMLflush{address},
> prefix=\XMLflush{prefix}
> ]
> 
> do not work anymore.
> 
> Could anyone (Wolfgang?) help me out in this ? I have installed both mkiv and mkii.

This works with MkII (pragma.xml contains the data from the manual):

\usemodule[letter][extension=corres]

\setvariables
  [contacts]
  [selection=pragma-pod,
   file=pragma.xml]

\startlettercontent
\input knuth
\stoplettercontent

\starttext
\XMLprocesscontacts[pragma.xml]
\stoptext

As Hans correspondence module is only available for MkII you can’t use MkIV for your serial letters.

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:[~2011-02-10 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10  9:14 R. Ermers, Midden Oosten Perspectief
2011-02-10 19:16 ` Wolfgang Schuster [this message]

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=64CEE619-3939-4D8D-BAA9-F01CBA18E27B@gmail.com \
    --to=schuster.wolfgang@googlemail.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).