[NTG-context] two questions on mail merging

Pablo Rodriguez oinos at gmx.es
Wed Nov 12 17:05:47 CET 2014

Dear list,

I have the following sample kindly provided to me by Jaroslav:

\unexpanded\def\lineaction{
\Name\crlf
\Postcode--\City\crlf
\page
}

Well, how can I put this (or a similar) structure inside a layer?

A minimal layer would be:

\definelayer[MyLayer][state=start]
\setlayerframed[MyLayer][frame=off]{merge fields}
\setupbackgrounds[page][background={MyLayer}]
\starttext
a
\stoptext