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]
[address=\XMLflush{address},
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,

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to