[NTG-context] m-letter

Rob Ermers r.ermers at hccnet.nl
Fri Jan 7 15:12:41 CET 2005

Dear friends,

Thanks for your reactions to my previous message.

After some experimenting I succeeded in creating a letter with
m-letter.tex and an xml database. I shall put the model on the wiki soon.

However, one problem remains to be solved. The command \input after
\startbuffer is not recognised.

Do you have an idea how to get it right?

Regards,

Robert

\startbuffer[texletter]
\input brieftekst
\stopbuffer

\setvariables
[letter:data]
prefix=\XMLflush{prefix},
initials=\XMLflush{initials},
formalname=\XMLflush{formalname},
informalname=\XMLflush{informalname},
content={\getbuffer[texletter]}
]

Result in pdf:

Geachte Heer Hagen,
“input brieftekst
Met vriendelijke groet,